Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9432910ybi; Wed, 24 Jul 2019 04:03:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKc8tjls3dKdW+viQBZF8mivA+eHfXu3xeCswYm9n0Ovp9JUocwLvy2Fs63Iyx+EhG0t80 X-Received: by 2002:a17:90a:b883:: with SMTP id o3mr86287461pjr.50.1563966221653; Wed, 24 Jul 2019 04:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563966221; cv=none; d=google.com; s=arc-20160816; b=AksgETkVfrH1qwEdcj4yVM6vEIwdKt0cRavHdBy0sOgnoif1mD7sVaDdDDbLVBsoxW bYdcnMEEviktOU+Ueae3EcFtfrAQcbK0Yt0tEoEmmoE10mOWIqBZjIinvsUFFH6MOogj Y8fcnvOvPfSfbhv55gQWiXrEvA1yjZhOQ7aG46raPOsAU9aVwJVWxoytBCogiCnCjLZO BZ+iAje+2HhTcNA8A0B6VRe0PBOSRhFt8+65h2yFEAa3/CiQ7LRACUr3mM07N2HsQISy LTywJ/2WU4RCsGtL1oxOz5Aplx7Kpq0/hcD5GwI3NajTtUan/ySE7a5XKecI0wpBdcBW gQeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=K/0K+HqJErBE9PaYP2olo05qbFKEbfOyvEmNfYu0mUE=; b=HkxB77pifeiz8hGVhJkAwiSYTrmCOhT8mj1p5G04OUPl5h6U/FktyqUZkpM/JjoOky GA7n6i5FRu/cddYqbNEJusjTJkr5Yhm1eRdcWE9j9c8jdSATtF4TiOFo6/ow/FGA72Ff 2FCt8M7r9EYgNcgHEVm1I/oxVCWg90tvrDXLyphJVnZZVqzczgkE5VHrU0VQub533edl laSvyltwHiYzOjfrLsKUx/DpRPb97t0DfId5jd21D4dr56o24ngm68CCTw6u/ZuX3SrV XbGmsOsrJCsdjF4PXVHojOLxOEXrTT1gKFHaXAx6krViuxzuWaw1tcueI+aYN+Zw8Laj 5svw== ARC-Authentication-Results: i=1; mx.google.com; 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 w5si15021650pfi.264.2019.07.24.04.03.26; Wed, 24 Jul 2019 04:03:41 -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; 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 S1727348AbfGXLCT (ORCPT + 99 others); Wed, 24 Jul 2019 07:02:19 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:43619 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727318AbfGXLCT (ORCPT ); Wed, 24 Jul 2019 07:02:19 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hqF2G-00053o-Rh; Wed, 24 Jul 2019 13:02:16 +0200 Date: Wed, 24 Jul 2019 13:02:10 +0200 (CEST) From: Thomas Gleixner To: Rui Salvaterra cc: LKML , x86@kernel.org, Daniel Drake Subject: Re: [BUG] Linux 5.3-rc1: timer problem on x86-64 (Pentium D) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rui, On Wed, 24 Jul 2019, Rui Salvaterra wrote: > I don't know if this has been reported before, but from a cursory > search it doesn't seem to be the case. > I have a x86-64 Pentium (4) D machine which always worked perfectly > with Linux 5.2 using the TSC as the clock source. With Linux 5.3-rc1 I > can't, for the life of me, boot it with anything other than > clocksource=jiffies, it completely hangs without even a backtrace. The obvious candidate for this is the following section: c8c4076723da ("x86/timer: Skip PIT initialization on modern chipsets") dde3626f815e ("x86/apic: Use non-atomic operations when possible") 748b170ca19a ("x86/apic: Make apic_bsp_setup() static") 2420a0b1798d ("x86/tsc: Set LAPIC timer period to crystal clock frequency") 52ae346bd26c ("x86/apic: Rename 'lapic_timer_frequency' to 'lapic_timer_period'") 604dc9170f24 ("x86/tsc: Use CPUID.0x16 to calculate missing crystal frequency") Thanks, tglx