Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7314595ybh; Thu, 8 Aug 2019 13:38:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqydV76dv/36oyf5TgmjeksyJq8wqOIERcNPDEQ4qj5G3j81f4c+mRWOHDGeSCjmtaB45M4R X-Received: by 2002:aa7:934f:: with SMTP id 15mr17272601pfn.22.1565296685548; Thu, 08 Aug 2019 13:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565296685; cv=none; d=google.com; s=arc-20160816; b=tB68yLE2WMLiaZOwacxoKbUCTVW4VhL/GUEAnMJ0rSRJory+C1EEedsUtqs3Ye698p OPdH3sb0d679DXAUrUH3jjf2q9etNRLk1XCWq61wvyr/TI2sQAZoNxb+d1HHSO9IYa4Y 0iiI7afOkfdNlYukWmffs/ehbEKjJSGrYJdwgacHdMMk7wA0GEttaxXfYcCiD2x5W5OL lY2dXwxuhpPHhtNZJG8oy8565STmsS1vVKqZkYRBu9og35xVq5Bj+nvIEtXwBM8IWX9w Iz1E7eQ8rkQytfmsr+WgACaJKx3tMAjZzsZ0wPgn0MqrhsSmRqr0Xn1Ukdr74QFBWwJG TcQg== 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=pYSsg9o0VSi+TD1C+gDaRWnQdYoN7zkF/nNVY2GmZ88=; b=b1CQmH05ZXTR5sqiblKe5E04t518tEmTh++sRwfyD3ZB/hirQbdSWElekZfEf+Pi+3 vaqR+cjmEZXgrVvKk5PGu8bD5oZtxvrmp4xcswSNvQ1whUrCYqOjAQ4+ZtO+6jqX2N3n F3XO0C0EBTqwCI35hrbeAQYF/qup5xbB+cevxnMlkp7BJS2Do2Q/+2Hmf8WV4uIdfKic +bwgNSoi/fGEnZ2IsPrvry3CyKI2G44rGqYAGsU6aALzogrAl0AAGgRZDe9F5fzER2oE 28yErtc3HwGafqEu2pq+QbNI89imCYB+6bLUCce6fcm34ErqjO1RwnaPB78mLhhcBM0E We6g== 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 s9si20293333pgc.305.2019.08.08.13.37.50; Thu, 08 Aug 2019 13:38:05 -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 S2390202AbfHHUhI (ORCPT + 99 others); Thu, 8 Aug 2019 16:37:08 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:54222 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbfHHUhI (ORCPT ); Thu, 8 Aug 2019 16:37:08 -0400 Received: from p200300ddd71876597e7a91fffec98e25.dip0.t-ipconnect.de ([2003:dd:d718:7659:7e7a:91ff:fec9:8e25]) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hvp9Y-0007ps-VX; Thu, 08 Aug 2019 22:36:53 +0200 Date: Thu, 8 Aug 2019 22:36:47 +0200 (CEST) From: Thomas Gleixner To: "Lendacky, Thomas" cc: "Li, Aubrey" , Aubrey Li , Daniel Drake , "x86@kernel.org" , Ingo Molnar , "H . Peter Anvin" , Linux Kernel , Endless Linux Upstreaming Team Subject: Re: setup_boot_APIC_clock() NULL dereference during early boot on reduced hardware platforms In-Reply-To: <3d14b0cc-3cca-1874-3521-4ee2ec52141d@amd.com> Message-ID: References: <81666b28-d029-56c3-8978-90abc219d1b7@linux.intel.com> <3d14b0cc-3cca-1874-3521-4ee2ec52141d@amd.com> 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 Tom, On Thu, 1 Aug 2019, Lendacky, Thomas wrote: > On 8/1/19 5:13 AM, Thomas Gleixner wrote: > > 2.1.9 Timers > > > > Each core includes the following timers. These timers do not vary in > > frequency regardless of the current P-state or C-state. > > > > * Core::X86::Msr::TSC; the TSC increments at the rate specified by the > > P0 Pstate. See Core::X86::Msr::PStateDef. > > > > * The APIC timer (Core::X86::Apic::TimerInitialCount and > > Core::X86::Apic::TimerCurrentCount), which increments at the rate of > > 2xCLKIN; the APIC timer may increment in units of between 1 and 8. > > > > The Ryzens use a 100MHz input clock for the APIC normally, but I'm not sure > > whether this is subject to overclocking. If so then it should be possible > > to figure that out somehow. Tom? > > Let me check with the hardware folks and I'll get back to you. any update on this? The problem seems to come in from several sides now. Thanks, tglx