coreboot/src/acpi
Shuo Liu f4a12e1d39 acpi: Add acpigen_write_OSC_pci_domain
Add dynamic PCI domain _OSC ASL generation codes, supporting both
PCIe and CXL domains.

Dynamic SSDT generation is used to generate a list of ASL device
objects based on FSP outputs (e.g. the SoC/SKU configurations)
and _OSC is a method inside these objects (hence it would be
straightforward to be generated altogether, plus some C codes
managed boot configs could be referenced as well).

This usage is optional. It is helpful for cases where the same
code set supports multiple SKUs/SoCs (difficult to be handled by
one set of static SSDT), and the CPU performance is good enough
to run SSDT generation logics with minimal costs.

TEST=intel/archercity CRB

Tested with https://review.coreboot.org/c/coreboot/+/81377.

Change-Id: I711ce5350d718e47feb2912555108801ad7f918d
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81375
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2024-04-01 08:06:46 +00:00
..
acpi.c acpi: Remove blank lines before '}' and after '{' 2024-03-30 07:42:12 +00:00
acpi_apic.c arch/x86/ioapic: use uintptr_t for IOAPIC base address 2024-02-23 15:13:37 +00:00
acpi_dmar.c arch/x86/ioapic: use uintptr_t for IOAPIC base address 2024-02-23 15:13:37 +00:00
acpi_gic.c acpi: add missing device/device.h include 2023-12-07 13:19:47 +00:00
acpi_hpet.c acpi: add missing device/device.h include 2023-12-07 13:19:47 +00:00
acpi_pm.c ACPI: Add usb_charge_mode_from_gnvs() 2023-08-16 17:55:02 +00:00
acpi_pptt.c acpi: Add PPTT support 2023-12-02 19:16:26 +00:00
acpigen.c acpi: Remove blank lines before '}' and after '{' 2024-03-30 07:42:12 +00:00
acpigen_dptf.c acpi: Comply with ACPI specification by making _STR unicode strings 2023-09-14 12:03:32 +00:00
acpigen_dsm.c drivers/usb/acpi: Add USB _DSM method to enable/disable USB LPM per port 2023-01-19 05:58:33 +00:00
acpigen_extern.asl ChromeOS: Refactor ACPI CNVS generation 2021-12-23 21:18:25 +00:00
acpigen_pci.c acpi: Add acpigen_write_OSC_pci_domain 2024-04-01 08:06:46 +00:00
acpigen_pci_root_resource_producer.c acpi/acpigen_pci_root_resource_producer: zero-pad ranges 2024-03-01 16:24:22 +00:00
acpigen_ps2_keybd.c acpi/acpigen_ps2_keybd: Reduce minimum keys, optional alpha/num/punct 2023-10-02 16:24:54 +00:00
acpigen_usb.c acpi: add missing device/device.h include 2023-12-07 13:19:47 +00:00
device.c acpi: Remove blank lines before '}' and after '{' 2024-03-30 07:42:12 +00:00
dsdt_top.asl acpi: Enable 64bit ECAM resource 2023-11-27 21:10:41 +00:00
fadt_filler.c ACPI: Add helper fill_fadt_extended_pm_io() 2023-08-08 06:51:03 +00:00
gnvs.c acpi: Remove blank lines before '}' and after '{' 2024-03-30 07:42:12 +00:00
Kconfig acpi: Add support for WDAT table 2023-12-15 19:08:45 +00:00
Makefile.mk soc/amd: move common pci_domain_fill_ssdt implementation to acpi/ 2024-02-29 15:39:06 +00:00
pld.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sata.c src/acpi: Remove unused <acpi/acpi.h> 2022-01-10 17:22:47 +00:00
soundwire.c acpi/soundwire.[ch]: Fix dpn entry array overrun 2023-09-13 15:26:01 +00:00