From 148fd99365bb923cd7af37afcd93efdd781fd819 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 9 May 2022 15:23:30 +0200 Subject: superio/acpi/pnp_generic.asl: Add _PRS for each device Simply return the current resource settings in the _PRS method. This means that coreboot has to correctly set up the resources on the device. This won't result in any regression as without _PRS the ACPI OS would not know what resources settings are valid, so it would never use _SRS. Change-Id: I2726714cbe076fc7c772c06883d8551400ff2baa Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64218 Reviewed-by: Nico Huber Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/superio/acpi/pnp_generic.asl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/superio/acpi/pnp_generic.asl b/src/superio/acpi/pnp_generic.asl index d0d9a2d9ba..2bcc139b67 100644 --- a/src/superio/acpi/pnp_generic.asl +++ b/src/superio/acpi/pnp_generic.asl @@ -171,4 +171,12 @@ Device (SUPERIO_ID(PN, SUPERIO_PNP_LDN)) { Store (One, PNP_DEVICE_ACTIVE) EXIT_CONFIG_MODE () } + + /* This is used for _SRS. Since _DIS only disables the device + * without changing the resources this works. + */ + Method (_PRS, 0) + { + return (_CRS) + } } -- cgit v1.2.3