diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2024-07-30 19:47:07 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2024-07-30 19:47:07 +0000 |
commit | c69199934d0c07407debf00aa139c4899bae5574 (patch) | |
tree | 7ba2c0ad545ea56f8361e543e17d862c2a7a1659 /sys/arch/arm64 | |
parent | d8377f80b7928ed366f88afebec62c73014df84b (diff) |
Make the Samsung Galaxy Book4 Edge (x1e80100) boot in ACPI mode;
Until now the kernel did panic during early boot because we couldn't
respond to the battery requests sent to the 0xa1 "bus". This (dummy)
driver registers a 0xa1 region space very early, and responds with a
static zero value to satisfy the battery requests on 0xa1, which let us
boot successfully to multi-user.
In the future this machine should be operated in FDT mode, and an improved
AML parsing interface might make this workaround obsolete also for RAMDISK.
Help and OK kettenis@, deraadt@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r-- | sys/arch/arm64/conf/GENERIC | 3 | ||||
-rw-r--r-- | sys/arch/arm64/conf/RAMDISK | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC index b6421e6e22c..e2c746bdcb3 100644 --- a/sys/arch/arm64/conf/GENERIC +++ b/sys/arch/arm64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.286 2024/03/25 17:24:03 patrick Exp $ +# $OpenBSD: GENERIC,v 1.287 2024/07/30 19:47:05 mglocker Exp $ # # GENERIC machine description file # @@ -46,6 +46,7 @@ acpiec* at acpi? acpige* at acpi? acpimcfg* at acpi? acpiiort* at acpi? +acpisectwo* at acpi? smmu* at acpiiort? acpipci* at acpi? pci* at acpipci? diff --git a/sys/arch/arm64/conf/RAMDISK b/sys/arch/arm64/conf/RAMDISK index c25a704337d..6cb8d2d7389 100644 --- a/sys/arch/arm64/conf/RAMDISK +++ b/sys/arch/arm64/conf/RAMDISK @@ -1,4 +1,4 @@ -# $OpenBSD: RAMDISK,v 1.216 2024/03/25 17:24:03 patrick Exp $ +# $OpenBSD: RAMDISK,v 1.217 2024/07/30 19:47:05 mglocker Exp $ machine arm64 maxusers 4 @@ -41,6 +41,7 @@ acpi0 at mainbus? acpiec* at acpi? acpimcfg* at acpi? acpiiort* at acpi? +acpisectwo* at acpi? smmu* at acpiiort? acpipci* at acpi? pci* at acpipci? |