CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2023/08/10 13:29:32

Modified files:
        sys/arch/arm64/arm64: cpu.c pmap.c 
        sys/arch/arm64/dev: mainbus.c 

Log message:
The Lenovo X13s has broken firmware that makes it impossible to use PAC.
But other machines that use the same SoC work just fine.  So instead of
disabling this feature on all CPUs that implement the architectured
algorithm, add an SMBIOS-based check that just disables the feature on
these machines.  This means we need to attach smbios0 before cpu0, which
in turn means attaching efi0 earlier.

tested by patrick@

Reply via email to