[Bug 270472] MS devkit hangs during boot if PAC is enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Apr 2023 17:57:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270472

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=4b39a12830feaf2ac49b157ed079c04114b1a3ca

commit 4b39a12830feaf2ac49b157ed079c04114b1a3ca
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-04-23 17:32:45 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.