coreboot-kgpe-d16/src/acpi
Jeremy Compostella ba757a71fe x86: Separate CPU and SoC physical address size
The physical address size of the System-on-Chip (SoC) can be different
from the CPU physical address size. These two different physical
address sizes should be used for settings of their respective field.

For instance, the physical address size related to the CPU should be
used for MTRR programming while the physical address size of the SoC
should be used for MMIO resource allocation.

Typically, on Meteor Lake, the CPUs physical address size is 46 if TME
is disabled and 42 if TME is enabled but Meteor Lake SoC physical
address size is always 42. As a result, MTRRs should reflect the TME
status while coreboot MMIO resource allocator should always use
42 bits.

This commit introduces `SOC_PHYSICAL_ADDRESS_WIDTH' Kconfig to set the
physical address size of the SoC for those SoCs.

BUG=b:314886709
TEST=MTRR are aligned between coreboot and FSP

Change-Id: Icb76242718581357e5c62c2465690cf489cb1375
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79665
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-12-22 12:26:59 +00:00
..
acpi.c acpi: Add support for WDAT table 2023-12-15 19:08:45 +00:00
acpi_apic.c acpi: add missing device/device.h include 2023-12-07 13:19:47 +00:00
acpi_dmar.c x86: Separate CPU and SoC physical address size 2023-12-22 12:26:59 +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: Reduce wait interval in delay loop for sleep 2023-12-20 04:28:27 +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
acpigen_pci.c
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/device: Only return dev->ops->acpi_name if non-NULL 2023-11-16 22:18:25 +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/gnvs.c: Drop unused pointer to the cbmem console 2023-07-06 13:54:30 +00:00
Kconfig acpi: Add support for WDAT table 2023-12-15 19:08:45 +00:00
Makefile.inc acpi: Add PPTT support 2023-12-02 19:16:26 +00:00
pld.c
sata.c
soundwire.c acpi/soundwire.[ch]: Fix dpn entry array overrun 2023-09-13 15:26:01 +00:00