Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/77066?usp=email )
Change subject: superio/smsc/sch5147/acpi/superio: use IO instead of FixedIO resource ......................................................................
superio/smsc/sch5147/acpi/superio: use IO instead of FixedIO resource
The fixed I/O resource descriptor macro implies that the device will only decode 10 of the 16 IO port bits causing aliasing. Use an I/O port descriptor instead and use Decode16 to tell the OS that this I/O resource will decode all I/O address bits.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I2df260cea6f12f5a3a6cbae3c7b99bab244a556b --- M src/superio/smsc/sch5147/acpi/superio.asl 1 file changed, 7 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/77066/1
diff --git a/src/superio/smsc/sch5147/acpi/superio.asl b/src/superio/smsc/sch5147/acpi/superio.asl index d5040e7..41988e3 100644 --- a/src/superio/smsc/sch5147/acpi/superio.asl +++ b/src/superio/smsc/sch5147/acpi/superio.asl @@ -74,7 +74,7 @@ { /* Announce the used i/o ports to the OS */ Return (ResourceTemplate () { - FixedIO (SUPERIO_PNP_BASE, 0x02) + IO (Decode16, SUPERIO_PNP_BASE, SUPERIO_PNP_BASE, 0x01, 0x02) }) }
@@ -140,8 +140,8 @@ Method (_CRS, 0, Serialized) { Name (CRS, ResourceTemplate () { - FixedIO (0x0060, 0x01) - FixedIO (0x0064, 0x01) + IO (Decode16, 0x0060, 0x0060, 0x01, 0x01) + IO (Decode16, 0x0064, 0x0064, 0x01, 0x01) IRQNoFlags (IR0) {} }) ENTER_CONFIG_MODE (SUPERIO_KBC_LDN) @@ -153,8 +153,8 @@ Name (_PRS, ResourceTemplate () { StartDependentFn (0,0) { - FixedIO (0x0060, 0x01) - FixedIO (0x0064, 0x01) + IO (Decode16, 0x0060, 0x0060, 0x01, 0x01) + IO (Decode16, 0x0064, 0x0064, 0x01, 0x01) IRQNoFlags () {1} } EndDependentFn() @@ -163,8 +163,8 @@ Method (_SRS, 1, Serialized) { Name (TMPL, ResourceTemplate () { - FixedIO (0x0060, 0x01) - FixedIO (0x0064, 0x01) + IO (Decode16, 0x0060, 0x0060, 0x01, 0x01) + IO (Decode16, 0x0064, 0x0064, 0x01, 0x01) IRQNoFlags (IR0) {} }) ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)