Received: by 10.192.165.148 with SMTP id m20csp3465751imm; Mon, 23 Apr 2018 07:04:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/fbqUBvvHRNdrp9rvOVj2cB86MxCDVGtPqgWYCAPM5mwEJ5+dfjaBbhBqeLuwxvH/PIueI X-Received: by 2002:a17:902:6590:: with SMTP id c16-v6mr21100284plk.292.1524492276973; Mon, 23 Apr 2018 07:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524492276; cv=none; d=google.com; s=arc-20160816; b=RdZjMfunt1L4QDIv0QQzP+QLKtnEOeopq0qmqHnuMeqQVODNFU1pmIeSNCkXg+9d9p Oz9s2liyBpw2CH3Ds+kOfYzJNM7JFRl7n0CwqSB5lJQCT4RAQ0Hvb3Bm7lfrU1ivQnd7 CSH3ZPfI0RQQ2uJiDpUKYMfM66bb4g8vlEZnTm6HVnGE034k6Fy6PlOX51MFYf8hsnuY y2Ulpeg9U3HfXsKyDdsZG4iOIw2/sYh1vATgFwgTIFhxFYlGPQ8ZC6JAN2yudPy+JcLW pESBDFKaFtk2MaHDONHxsSgs3h/YA+3aX23R4APvbAhtJjEqO1cwzaGk3/2x8r3id/mw Q41Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=p1jvuueYdnf0IByO1DERxhejDuszJVPZPfrcvTKF3so=; b=KJ/RENktL7fqzYnWQPRmKymRAejbWDiUW0mYXuZ0N0bgBmPhpAlJtb4GsRs0BePM67 f91LNvEPtvo+/zLnMgOsuRyxl1bWBzXqkc89/bh06nhmuOUmc/nXqpi9SxpLvidvEKc6 jCsxQjPktqbD4j4H6oq+VGvBDzftDAL488CpuFe7aY9TW0ArND8yucl8j5OsF8j/lf5g 6lFXqocP5GpBzAl+zq08HWm0sC1wELuLtGSXmLZksSFBRHbVSALUns8wvkq0mudI8AMM HoYfTZRy9cMbRn9b0+GYiyjpJ0i5PmGT4fS3AN0P0z+qg8PM2C5ukGGpmfxRuSryBsll A7Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bDN8efDV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si24057pgc.609.2018.04.23.07.04.21; Mon, 23 Apr 2018 07:04:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bDN8efDV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755478AbeDWOCQ (ORCPT + 99 others); Mon, 23 Apr 2018 10:02:16 -0400 Received: from mail-yw0-f171.google.com ([209.85.161.171]:41166 "EHLO mail-yw0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755384AbeDWOCP (ORCPT ); Mon, 23 Apr 2018 10:02:15 -0400 Received: by mail-yw0-f171.google.com with SMTP id q127-v6so3297749ywh.8 for ; Mon, 23 Apr 2018 07:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=p1jvuueYdnf0IByO1DERxhejDuszJVPZPfrcvTKF3so=; b=bDN8efDVEqpHePqxPC+eJnUKFpNNO/YlEdXd2L74FpdbHSNkLaS4PUc9gESDyA3IXn qE1S0u4SoAajT3XujaLK/RMu0AdWoZUZ53IlSPQC4j+phqvEPB6fo787GWLfqTNrIzJr abmvr6q5ONVQjgArjZE0MRY7oGASXAEC270u53Ib0Rd+qjAVOqTBIUfrfgUPx2jogXos G/yk9IZGv+bdgOlIzLdPhyj3SHWEIKcNq8LyR8BT7/6kqyH3MXy63t0QFdRrEiPK+RZ5 Qm4JJOjnuDmwFLB3QvBGhpstwcaKWA5Vquj75IlNUlYb27qB3xGHRuPM7GtjAPXoyzHM hZUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=p1jvuueYdnf0IByO1DERxhejDuszJVPZPfrcvTKF3so=; b=PlktPtubkaCbychL4UPkpce5vfv/3JdwDWudPIkvFylAw07mw0DaMdjDORwRh/kkS/ oWPla/qEMfi6orYqEPc/p5SsESNxbfkGd0DpXYuECUbE0gqfAL8NFUc8GsIdE8CgO1Kh +SDSUCS+WMPgJhPWiwLcUoXvprUQ/MBL/PlBAg4N9ywInFL3nfXu3kpM9z8BOCmfeYvb 49FS2JVyCqhCa2jcH4JBmGJ2JOSTj6Ywf0WBQoXQZ+XlSEFIU3KOc1RPW6qNEFSJRrew JPj7aFaqoQjC18t/Ieu9jBBMRaS8b49QlgbsXLsO3xjf3/pWZK65TwBiHTzosFnC8QjD ALaA== X-Gm-Message-State: ALQs6tChtVCTzX2HRLvm2UknxcIY4GFZzSV6HCPRxj8xx8sjaUtnFsV1 sic/vvJvbDzmrLhTVHkesT5rWo8u7CTPbPA3ZIc= X-Received: by 2002:a0d:d58a:: with SMTP id x132-v6mr5184534ywd.36.1524492133319; Mon, 23 Apr 2018 07:02:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.213.201 with HTTP; Mon, 23 Apr 2018 07:02:12 -0700 (PDT) In-Reply-To: <20180423140052.GO4129@hirez.programming.kicks-ass.net> References: <20180423091633.GU4064@hirez.programming.kicks-ass.net> <20180423114850.GK4082@hirez.programming.kicks-ass.net> <20180423123847.GL4082@hirez.programming.kicks-ass.net> <20180423140052.GO4129@hirez.programming.kicks-ass.net> From: Diego Viola Date: Mon, 23 Apr 2018 11:02:12 -0300 Message-ID: Subject: Re: Experiencing freezes with kernel 4.16.3 on a desktop with E5500 CPU (bisect included) To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, len.brown@intel.com, rui.zhang@intel.com, "Rafael J. Wysocki" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 23, 2018 at 11:00 AM, Peter Zijlstra wrote: > On Mon, Apr 23, 2018 at 02:38:47PM +0200, Peter Zijlstra wrote: >> @@ -834,8 +857,12 @@ static int clocksource_unbind(struct clocksource *cs) >> if (curr_clocksource == cs) >> return -EBUSY; >> } >> + >> + clocksource_watchdog_lock(&flags); >> clocksource_dequeue_watchdog(cs); >> list_del_init(&cs->list); >> + clocksource_watchdog_lock(&flags); > > It works a lot better when this is _unlock(); > >> + >> return 0; >> } >> > > With that, and intel_idle.c modified to always issue the "halts in > idle" thing, my IVB comes up in hpet mode. Let me dig up a Core2 era > machine and see if that works too. OK, thanks.