From 3d19aa9ce88ce89ace33603e1c0efe2547803144 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 28 Oct 2022 19:58:09 +0200 Subject: soc/amd/*/acpi/mmio.asl,sb_fch.asl: hide MISC device Don't set bit 2 of the return value of the _STA method in order for Windows not to show a warning about an unknown device in the device manager for this device. TEST=The unknown device with device instance path ACPI\AMD0040\3 disappeared from the device manager in Windows 10 build 19045 on a Mandolin board with a Picasso APU. Signed-off-by: Felix Held Change-Id: If005f06843956004c281fd70cf364171148cb9ff Reviewed-on: https://review.coreboot.org/c/coreboot/+/68962 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/acpi/mmio.asl | 2 +- src/soc/amd/glinda/acpi/mmio.asl | 2 +- src/soc/amd/mendocino/acpi/mmio.asl | 2 +- src/soc/amd/phoenix/acpi/mmio.asl | 2 +- src/soc/amd/picasso/acpi/sb_fch.asl | 2 +- src/soc/amd/stoneyridge/acpi/sb_fch.asl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/soc') diff --git a/src/soc/amd/cezanne/acpi/mmio.asl b/src/soc/amd/cezanne/acpi/mmio.asl index a8508f7df5..e73c423600 100644 --- a/src/soc/amd/cezanne/acpi/mmio.asl +++ b/src/soc/amd/cezanne/acpi/mmio.asl @@ -289,6 +289,6 @@ Device (MISC) }) Method (_STA, 0x0, NotSerialized) { - Return (0x0F) + Return (0x0b) } } diff --git a/src/soc/amd/glinda/acpi/mmio.asl b/src/soc/amd/glinda/acpi/mmio.asl index e3cb7a51ef..1aeb3d88ea 100644 --- a/src/soc/amd/glinda/acpi/mmio.asl +++ b/src/soc/amd/glinda/acpi/mmio.asl @@ -384,6 +384,6 @@ Device (MISC) }) Method (_STA, 0x0, NotSerialized) { - Return (0x0F) + Return (0x0b) } } diff --git a/src/soc/amd/mendocino/acpi/mmio.asl b/src/soc/amd/mendocino/acpi/mmio.asl index cba3ec6599..983ad59d67 100644 --- a/src/soc/amd/mendocino/acpi/mmio.asl +++ b/src/soc/amd/mendocino/acpi/mmio.asl @@ -384,6 +384,6 @@ Device (MISC) }) Method (_STA, 0x0, NotSerialized) { - Return (0x0F) + Return (0x0b) } } diff --git a/src/soc/amd/phoenix/acpi/mmio.asl b/src/soc/amd/phoenix/acpi/mmio.asl index 9d70fd666e..37c926c81d 100644 --- a/src/soc/amd/phoenix/acpi/mmio.asl +++ b/src/soc/amd/phoenix/acpi/mmio.asl @@ -384,6 +384,6 @@ Device (MISC) }) Method (_STA, 0x0, NotSerialized) { - Return (0x0F) + Return (0x0b) } } diff --git a/src/soc/amd/picasso/acpi/sb_fch.asl b/src/soc/amd/picasso/acpi/sb_fch.asl index a0dfd46483..c229284eb0 100644 --- a/src/soc/amd/picasso/acpi/sb_fch.asl +++ b/src/soc/amd/picasso/acpi/sb_fch.asl @@ -389,6 +389,6 @@ Device (MISC) }) Method (_STA, 0x0, NotSerialized) { - Return (0x0F) + Return (0x0b) } } diff --git a/src/soc/amd/stoneyridge/acpi/sb_fch.asl b/src/soc/amd/stoneyridge/acpi/sb_fch.asl index 6876c2ae3d..ef2b4eab62 100644 --- a/src/soc/amd/stoneyridge/acpi/sb_fch.asl +++ b/src/soc/amd/stoneyridge/acpi/sb_fch.asl @@ -135,6 +135,6 @@ Device (MISC) }) Method (_STA, 0x0, NotSerialized) { - Return (0x0F) + Return (0x0b) } } -- cgit v1.2.3