From nobody Mon Jan 03 18:02:26 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0AA471918045 for ; Mon, 3 Jan 2022 18:02:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JSNr21GDlz4v4V for ; Mon, 3 Jan 2022 18:02:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E91871D38 for ; Mon, 3 Jan 2022 18:02:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 203I2Psg041894 for ; Mon, 3 Jan 2022 18:02:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 203I2PsU041893 for bugs@FreeBSD.org; Mon, 3 Jan 2022 18:02:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260868] possible i386 regression after ce35a3bc852d25cb989bc1f3dc4ddb723d7d5117 Date: Mon, 03 Jan 2022 18:02:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641232946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ou0GjvHVFKg56bw3WKzULAioEuzzuLVD1s3/bfbuSck=; b=Th7JJt1UY3wk8l9em5iaX9r8qvKlUw48zkWlQaHKirFdJrskUPHvd1XLvTNHh7kcHDH1YJ 9Q6FUUNmVhAa+nZIadvz6j+2BOqT9RWtvLDARNGbMa38+QCGqGTwzIYBLo8rGVU/vJCF7d +11yTKcy8sgOnihb1GP4chjREr9S4V8hapTyticQDRYycbZorE+f5JG4miLtIfP3ZywTbC yFz0lGo/7EP8OlBZfZU94zV1Vp2fXLBY6/tFnUJo45Hz05LGuXlAS+iPG5tuPm032gwsS+ InPoilxTPeCSswJqKsYomCC/V0EbojHAZC/me4KhkAFgHFEiSRCtL6zuOq1Ndg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641232946; a=rsa-sha256; cv=none; b=OKW1UWpxVNPsuQK0hlDwmrOz/oKT121uWhg3NcGx2NTqQgbVgpStMm4tYkcFS6wfjlaoqJ Bjr/GVL2LSjtogY62wX8CWaOvVi2nJTM4b/0r8ovnEEtjMW/SV8+9zn/FiiDvZtr38/h0g xjtUYp7FilHGR69pqss3RE9m+Z0OH/qKJ7HZQoUYBVANv7Ldrm0SfzPPfwqbQy/RLlQlMU g3soWiADvw9puMCtEQ+zIRNx6xeNTXWXF2Qjdpfq5gKSc4vPg/sDWUeLyVSi0i8lBwGe0h fjQfFxdNwRyLDUXfEs1FawccTzxdilKM315rJ9H1t8ZvJiHEu02cu/N2xjD7CA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260868 --- Comment #13 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0e494a9e3fd86ef54899dcbe026886662= 9096c1e commit 0e494a9e3fd86ef54899dcbe0268866629096c1e Author: Mark Johnston AuthorDate: 2022-01-03 15:14:41 +0000 Commit: Mark Johnston CommitDate: 2022-01-03 18:00:50 +0000 x86: Skip late calibration if our reference timer has low quality Some AMD Geode-based systems end up using the 8254 PIT to calibrate the TSC during late calibration, which doesn't work because that timecounter's mask (65535) is much smaller than its frequency (1193182). Moreover, early calibration is done against the 8254 timer anyway. Work around the problem by simply using early calibration results if no high-quality timecounters exist. PR: 260868 Fixes: 22875f88799e ("x86: Implement deferred TSC calibration") Reported and tested by: mike@sentex.net, Stefan Hegnauer Reviewed by: imp, kib MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33730 sys/x86/x86/tsc.c | 7 +++++++ 1 file changed, 7 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=