coreboot-kgpe-d16/src
Reka Norman 1d49d3e40b mb/google/brya: Don't add MPTS to both DSDT and SSDT
commit 52ccd293d7 ("mb/google/brya: Implement shutdown function for
dGPU") started unconditionally adding MPTS to the SSDT. On variants
with HAVE_WWAN_POWER_SEQUENCE selected, MPTS is already added to the
DSDT via wwan_power.asl. The duplicate definition results in a kernel
error:
ERR kernel: [    0.109237] ACPI BIOS Error (bug): Failure creating named object [\_SB.MPTS], AE_ALREADY_EXISTS (20210730/dswload2-327)
ERR kernel: [    0.109242] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20210730/psobject-220)

Don't add MPTS to the SSDT if HAVE_WWAN_POWER_SEQUENCE is selected.
There are no variants which use both, so this should only result in
empty MPTS methods being removed.

BUG=b:260380268
TEST=On pujjo, the SSDT no longer contains an empty MPTS method, there's
no kernel error, and the WWAN power-off sequence is met.

Change-Id: I9f411aae81ea87aa9c8fc7754c3709e398771a32
Signed-off-by: Reka Norman <rekanorman@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70146
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-12-12 01:29:27 +00:00
..
acpi acpi/acpi.c: Add a method to generate IOAPIC DMAR entries from hw 2022-12-06 17:44:20 +00:00
arch cpu/cpu.h: Change the function signature 2022-12-10 17:54:53 +00:00
commonlib mem_chip_info: Update to new format 2022-12-09 00:48:57 +00:00
console console/post.c: Sort includes 2022-10-27 15:46:39 +00:00
cpu cpu/cpu.h: Change the function signature 2022-12-10 17:54:53 +00:00
device treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
drivers drivers/mrc_cache: Prevent printing errors in expected use cases 2022-12-12 00:50:20 +00:00
ec mb/intel/mtlrvp: Add MTL-P RVP board ids 2022-12-09 23:57:03 +00:00
include cpu/cpu.h: Change the function signature 2022-12-10 17:54:53 +00:00
lib lib/ramtest.c: Use {read,write}32p() 2022-12-10 00:01:05 +00:00
mainboard mb/google/brya: Don't add MPTS to both DSDT and SSDT 2022-12-12 01:29:27 +00:00
northbridge treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
sbom
security treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
soc soc/intel/alderlake/Kconfig: Sort defaults alphabetically 2022-12-12 01:28:33 +00:00
southbridge sb/intel/common: Move definition of TRAP 2022-12-11 12:43:55 +00:00
superio superio/ite/it8772f/chip.h: Use 'bool' when appropriate 2022-12-05 14:28:02 +00:00
vendorcode vc/amd/fsp/morgana/FspmUpd: don't use pointers for usb_phy config 2022-12-12 01:26:03 +00:00
Kconfig build: List all Kconfigs in CBFS config file, compress it 2022-11-18 17:19:44 +00:00