Received: by 10.192.165.148 with SMTP id m20csp3463383imm; Mon, 23 Apr 2018 07:02:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ILTUMKR0ThtxY/KF8B4lF5u8Z6ypn2jjt5bxn0pgDckP/dPUeopaHUHSGTewClatBePiQ X-Received: by 10.99.45.70 with SMTP id t67mr17003697pgt.439.1524492173550; Mon, 23 Apr 2018 07:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524492173; cv=none; d=google.com; s=arc-20160816; b=kGuvwwhQWK35py/ku+y68gYLmc8Z/eWo30MnPEvWQZssd2/d9EmN16vFeI8OjXNcXg GGr3uRUJAO6rUc7/stEqIFWeCKzG/oHs5faZlFRZfZay2mkTFNC+mWB5O8/HDH6Y807y tsRwBX5XgQGtSsgrVJ5DSmBAJcDttSIsw8yDekppQcMk/roh76PU9Y659KMUY5qDQlG/ HiwUkweYqhs17qodcpbmifUy3RpRj7O2IWKyb7aKWaplGvLffkhbrBKU8ePZfbNpc1Bj BZdWArgLJMkoy3TMYMaFlYioJ7faapXRwpSCNlM4+WYT7K1WLTEHAcUOqPa8ciIFl6Xx s8QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=EpY6CUvrmoms5tiW4k4AoVDLtmYii6ggodfsoEquTFI=; b=rW9S4ECIqnPto/qTWo9CZX0XmC85Z1E84W8HdDuKZ2qkhUecnAWHDRldYkOks67aUE bIjUAUjMYuXb0w84i5gyT+KwifaXeBb/TJEqvuWw2xqeeLbKs6FNnZ04ikcYhRLCGcHI PU7/zuZ8cPH91ItZihouKyH7t7t/CshrnZSlY/YY8bJSSJglv818M/TQQwCrTAA3IvAh d0EWALRGngRyqMA/j4S5EzRtSW8BNgAdcPRXgRbv6HoOlmefQu3WUZU8ohX+jbqLgdfn w/r8g8iMeFSakM/n0pGJVqpYx/vh+gLjIhu2+YZFYC4dW26ffCGF9Q8dLI3I8qLbW1ZO kawQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PGlu2ocn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si9549214pgt.19.2018.04.23.07.02.24; Mon, 23 Apr 2018 07:02:53 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PGlu2ocn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755342AbeDWOA7 (ORCPT + 99 others); Mon, 23 Apr 2018 10:00:59 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42462 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755010AbeDWOA6 (ORCPT ); Mon, 23 Apr 2018 10:00:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EpY6CUvrmoms5tiW4k4AoVDLtmYii6ggodfsoEquTFI=; b=PGlu2ocnFVxi7ifxjBWnqiULf TIy1S2jusgl5UlO+B6B3Z8aRO/9uBsXDoLDOLyDBo+HUXxbPkn/BgvVRj5BEz6aHRRMUvwwNtcfFb MTVBceg8pShFx2lLkJ/gdOxuOnBRQy6Qvq4eUWHvPPzosANSOWoeeNiosdy5Ux1Nk/Nh9Ee7+V4Bj 5SbPfslS62CAZso6zYZy0v8hUwXd1btzxkSgYMIUNsP9tNDFgkdOWA3xfK4cWcNTohXdazHjLyP5X zAiCUJGygkx1mH/ihoKayRO1sfu7MbRZO+CfZT/cXc28FXZM3KUUJsXaKfosYbLEaBLU4JEHfPQjf r3q/NVP2w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAc1W-0005ag-7s; Mon, 23 Apr 2018 14:00:54 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 70870202A2A12; Mon, 23 Apr 2018 16:00:52 +0200 (CEST) Date: Mon, 23 Apr 2018 16:00:52 +0200 From: Peter Zijlstra To: Diego Viola Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, len.brown@intel.com, rui.zhang@intel.com, "Rafael J. Wysocki" Subject: Re: Experiencing freezes with kernel 4.16.3 on a desktop with E5500 CPU (bisect included) Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180423123847.GL4082@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.9.3 (2018-01-21) 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 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.