From nobody Sun Apr 23 17:57:10 2023 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 4Q4GDm2tKXz46FGW for ; Sun, 23 Apr 2023 17:57:12 +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 4Q4GDl4mpGz44sW for ; Sun, 23 Apr 2023 17:57:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682272631; 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=cit/pfZ7khkrgArsgThlOYrVIDhvFMMPPGOvfkpXOOA=; b=iNFvZmVLtAVZ+SueA46GEr4ypuruswklNwyo6s/y1GOTYYrXC6A4g3E4KDtlcFt2vkEbXB PFpe7ps8H3XD/qUrRFlichug+zHUMXHH34soAuCjlavxkaxFSXMPxeXVAQUpLwdD5H/t/b gxty7OHUWuvkNTXaM7bNu+OeGvMhvupDfujEE6ARBMm1mejsFWSbjSYBj8wR7LfzY9CKRv Xd52d0FDZj7zy918QuMo8f8ZlbvLbwmHni4UOkxVR0fD2JfXhXSdf6JvG172MmpC7UjO00 83EBsZy4JuFnFDXTpUtB4F2JhKk5OAFEepxtd3IxFW+2gRfOWn1v2JynlggoTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682272631; a=rsa-sha256; cv=none; b=YQlohAtEpyi4tRckLxellfm4Jnd1Ukmy4f/wj0hWWOV79iZlTGGaeXhZ8CbZx7ZlnkCeto gcLJCeA48fWfpVfNHRl5j89A05f5E2MbFxycG5e8xB1gFxLw0ircwl5qzPrks27bCStjtc UAfg6BFHY19rhfPVYJzFI9NxCREuJ2orvZ04ZOe980bIZcyAyEEFMDIr3IC0SaVofwg7HZ bZnlW47xsXjQv68TPIO0mZ6UGpXPCgTB1ZZo73ZuU3oYDpJ3RHeCgIXjw0MmFCamDDC+fg mo6TmVAvPEVR0oNxWIcv83jmgLuFUsUO8bAgetR4dAU6xug3o4MWdFlxP2BExw== 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 4Q4GDl3rZGzsmK for ; Sun, 23 Apr 2023 17:57:11 +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 33NHvBAQ059693 for ; Sun, 23 Apr 2023 17:57:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33NHvBMW059692 for bugs@FreeBSD.org; Sun, 23 Apr 2023 17:57:11 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 270472] MS devkit hangs during boot if PAC is enabled Date: Sun, 23 Apr 2023 17:57:10 +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: 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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270472 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D4b39a12830feaf2ac49b157ed079c0411= 4b1a3ca commit 4b39a12830feaf2ac49b157ed079c04114b1a3ca Author: Mark Johnston AuthorDate: 2023-04-23 17:32:45 +0000 Commit: Mark Johnston CommitDate: 2023-04-23 17:55:57 +0000 arm64: Disable PAC when booting on a Windows Dev Kit 2023 It appears that PAC registers are configured to trap upon access, but since the kernel starts in EL1 on this platform it has no ability to inspect or modify this configuration. Simply disable PAC on this platform for now, since the kernel otherwise hangs during boot. PR: 270472 Reviewed by: andrew, emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39748 sys/arm64/arm64/ptrauth.c | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=