From nobody Tue Mar 1 14:41:06 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 5975F19DE30E for ; Tue, 1 Mar 2022 14:41:07 +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 4K7KgQ49jYz3Gl9 for ; Tue, 1 Mar 2022 14:41:06 +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 407E4115C9 for ; Tue, 1 Mar 2022 14:41:06 +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 221Ef6JZ009373 for ; Tue, 1 Mar 2022 14:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 221Ef6rQ009372 for bugs@FreeBSD.org; Tue, 1 Mar 2022 14:41:06 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 262155] atkbd: ~16s delay at initial kernel boot on Framework laptop Date: Tue, 01 Mar 2022 14:41:06 +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: CURRENT X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Some People 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: mfc-stable13? mfc-stable12? 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=1646145666; 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=OCmzfn5AJM+euuEVzvctjhjYnZJKpvW5U7f566su4wQ=; b=hbMsVEV0JyWyZ/5sDh5pOvxXqWZXXWQhW2nPFXQwGmypS2ypwjUev5Q6ojIM2hgHKInJOm kxYqNIUYPw+nt1bOS4TQX+6IwvYaxAdcCl1GoRoDIjm0rLOpYDKhtvTn7Ke9XNXk7PcwGo 08jnviGedCse9Q0IfDOVvEFLhK4O91phQrwD/nW1QvSchcAc0FaazxCtXloa9d3ApPVLfX osSHpygRD5iLElGYlCPMKmfUtYS7sItcrHN5Lw7H2BGekJT9KH73KJkO/qmPBVFzXdb9Vf NBqJ7uKVlZxdxSiaS9Wfk1VzbXnDaaHVI72ro20L/V7fSb9WdJtTi3uhgB0k5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646145666; a=rsa-sha256; cv=none; b=Z08HeRdzBxRQjtFZB3LbPm2j7NYsUmvZdD4adQ2N0kEl3LtAHPpBgbR81ZT1NNENFRDnJu pg8zKAtYWbm5HBCUOrlQmgOH3OSW71w05WoqY+f9qyBEvwp3vfhW/5ay5Qt2f02VACBUdn /VlYHm9sd8n5LvGstFmPNTK0IfXA25thxhfvyzI/sjKZgBEADmLiNg/5YkvT8jxV6Gxgpo 0Cl3r9acR/URpR0oqXt1Hw8ntoGw2ecAHjF+W9dMkMQ+TcPBBTjT476n1Cu1P13wuG2lhw BE2C9YpT+V1o+r0TVUgvUsDcInh1AxQvxx2al80lKJWUrMqAU0fh451utkf4RQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262155 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D84369dd52369cbae28970dca20a53d3de= 1719907 commit 84369dd52369cbae28970dca20a53d3de1719907 Author: Mark Johnston AuthorDate: 2022-03-01 14:39:35 +0000 Commit: Mark Johnston CommitDate: 2022-03-01 14:39:35 +0000 x86: Probe the TSC frequency earlier This lets us use the TSC to implement early DELAY, limiting the use of the sometimes-unreliable 8254 PIT. PR: 262155 Reviewed by: emaste Tested by: emaste, mike tancsa , Stefan Hegnauer MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34367 sys/amd64/amd64/machdep.c | 14 +++++- sys/i386/i386/machdep.c | 11 ++++- sys/x86/include/clock.h | 3 +- sys/x86/isa/clock.c | 4 +- sys/x86/x86/tsc.c | 123 +++++++++++++++++++++++++-----------------= ---- 5 files changed, 94 insertions(+), 61 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=