From 9a7984f839d6e74cb82f8ebfe4a25eaa31ad57e6 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 26 May 2022 09:58:24 -0600 Subject: [PATCH] soc/intel/alderlake: Hide PMC and IOM devices Change-Id: Ib1181812eaf8517a2eb4485f01e8ca2486dfb99f --- src/soc/intel/alderlake/acpi/tcss.asl | 2 ++ src/soc/intel/alderlake/pmc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/soc/intel/alderlake/acpi/tcss.asl b/src/soc/intel/alderlake/acpi/tcss.asl index c8cea84dd8..8740c48099 100644 --- a/src/soc/intel/alderlake/acpi/tcss.asl +++ b/src/soc/intel/alderlake/acpi/tcss.asl @@ -323,6 +323,8 @@ Scope (\_SB.PCI0) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, IOM_BASE_ADDRESS, IOM_BASE_SIZE) }) + /* Hide the device so that Windows does not complain on missing driver */ + Name (_STA, 0xB) } /* diff --git a/src/soc/intel/alderlake/pmc.c b/src/soc/intel/alderlake/pmc.c index cce095ab22..2557df0c25 100644 --- a/src/soc/intel/alderlake/pmc.c +++ b/src/soc/intel/alderlake/pmc.c @@ -107,6 +107,8 @@ static void soc_pmc_fill_ssdt(const struct device *dev) acpigen_write_name_string("_HID", PMC_HID); acpigen_write_name_string("_DDN", "Intel(R) Alder Lake IPC Controller"); + /* Hide the device so that Windows does not complain on missing driver */ + acpigen_write_STA(ACPI_STATUS_DEVICE_HIDDEN_ON); /* * Part of the PCH's reserved 32 MB MMIO range (0xFC800000 - 0xFE7FFFFF).