Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1014905imu; Fri, 11 Jan 2019 13:18:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN7lzd3jOmtvzmM37FQuIwgDRQvD8ErSgPF7bwv8MJ5vElgSz4TMtIOzGL75lXIOd1GCX9gi X-Received: by 2002:a63:cb4a:: with SMTP id m10mr14228724pgi.105.1547241526069; Fri, 11 Jan 2019 13:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547241526; cv=none; d=google.com; s=arc-20160816; b=Bl0ot9nj3Kp0Ju/hT1Q81mYZ4KOrIyE0bB/PPMyxa+ZvA2IHsRXf+6/LwCtgl7roJy mlO4CsmPveqG4MEOiPnCEGKcMg1/14v2O2Yp13Be0rqK7lH7aV1RvQoRr7WXngqGVNZ+ erjbeG3qyibVmnEeNEQGGTmToj/TojOWSm75Uzkc3B3AazMJsLgt3waWRZaVl15IGZph rYyYAFgoXL0BjnrtpPEifOkZK5ZwoYXLEryRMSOq1ZPtkF76BH75qQQC0SBFKA06JqoP 5bWfB24lcELMLYRq7cwAqQEI2i/E+ebq5Tssd+eauB6ux15iQRdN2c1QBTfLj3InNqHO hkNg== 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=3WvUKzPD2p9mdv6mfP+vxD6WCnNIO9NS4DzK0eXdG5I=; b=UcDgmNXzlo6f1i6R8p1pm+scY/HbTRHnyil3mW+CuSQDWUjVineZwXgg4nX+BE0lEW I2P69I2MP7CHNSUTDqVsrzTl8l1gJ+CI5RgSFn9pOH/hkQZetbvI0t02eqZR1UhGzuyi 0y3p7cd7+LYy+C972VsLLSy7LRbDR09BFjP7bet5ZPzGJRQlTS27bBlxt3YKywA+C91g T5OuCJcBx5WWL57XJIfzR+3zVIH8l7snmHB47K830wR0CcQ4S5Q5TCXqE2Iuibx4vWwS Y2+sJXPYM8WOAaHmIydqOXVMHhKBgVQ6cHbdcT+uGYwEjyDBeK6T6YB+pvhLel5I0TMh D5ww== 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 p3si9970569plr.376.2019.01.11.13.18.30; Fri, 11 Jan 2019 13:18:46 -0800 (PST) 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 S1726455AbfAKUnm (ORCPT + 99 others); Fri, 11 Jan 2019 15:43:42 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:34658 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbfAKUnl (ORCPT ); Fri, 11 Jan 2019 15:43:41 -0500 Received: from p4fea4364.dip0.t-ipconnect.de ([79.234.67.100] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gi3eU-0004Fu-9k; Fri, 11 Jan 2019 21:43:38 +0100 Date: Fri, 11 Jan 2019 21:43:37 +0100 (CET) From: Thomas Gleixner To: Paul Menzel cc: x86@kernel.org, LKML Subject: Re: tsc: Fast TSC calibration failed with AMD B350M/Ryzen 3 2200G In-Reply-To: <9f444c64-c221-e729-7eb5-fc4f093c16d3@molgen.mpg.de> Message-ID: References: <9f444c64-c221-e729-7eb5-fc4f093c16d3@molgen.mpg.de> 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 Paul, On Mon, 7 Jan 2019, Paul Menzel wrote: > On 01/07/19 16:24, Thomas Gleixner wrote: > >> Linux 4.19.13 from Debian Sid/unstable logs the message below on the board MSI > >> MS-7A37/B350M MORTAR with the processor AMD Ryzen 3 2200G. > >> > >> As a result, the early time stamps do not seem to be working. > > > >>> [ 0.000000] DMI: Micro-Star International Co., Ltd. MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.I0 11/06/2018 > >>> [ 0.000000] tsc: Fast TSC calibration failed > > > > And the further boot log says: > > > > [ 0.036000] tsc: Unable to calibrate against PIT > > [ 0.036000] tsc: using HPET reference calibration > > [ 0.036000] tsc: Detected 3500.117 MHz processor > > > > So the quick calibration in early boot fails because the PIT seems not to > > do what the kernel expects. Nothing we can cure :( > > I see. Can AMD confirm that this is the expected behavior? If yes, should > the fast TSC calibration be skipped on these devices? It should work and we really don't want to add cpu family/model based decisions whether we invoke something or not. Those tables are stale before they hit mainline. Thanks, tglx