coreboot/src
Shuo Liu bcd2473766 acpi: Add support for DRHD size reporting
VT-d spec 4.0 supports size definition for DRHD BAR to support DRHD
sizes larger than 4KB. If the value in the field is N, the size of
the register set is 2^N 4 KB pages.

Some latest OS (e.g. Linux kernel 6.5) will have VTd driver trying
to use the beyond 4KB part of the DRHD BAR if they exist. They need
the DRHD size field to set up page mapping before access those
registers.

Re-add acpi_create_dmar_drhd with a size parameter to support the
needs.

TEST=Build and boot on intel/archercity CRB

Change-Id: I49dd5de2eca257a5f6240e36d05755cabca96d1c
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Signed-off-by: Gang Chen <gang.c.chen@intel.com>
Signed-off-by: Jincheng Li <jincheng.li@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82429
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-06-28 11:27:27 +00:00
..
acpi acpi: Add support for DRHD size reporting 2024-06-28 11:27:27 +00:00
arch arch/x86/mpspec: Use uintptr_t for mpc_apicaddr 2024-06-27 16:43:52 +00:00
commonlib commonlib/device_tree: Improve node and property allocation speed 2024-06-27 00:29:17 +00:00
console console: Only add non-stub code to romstage if SEPARATE_ROMSTAGE=y 2024-06-16 13:47:11 +00:00
cpu mb/emulation/qemu: Configure TSEG size 2024-06-21 15:52:24 +00:00
device device/azalia_device.c: Use azalia_enter_reset() 2024-06-27 03:22:15 +00:00
drivers drivers/wifi: Support Wi-Fi 7 11be Enablement 2024-06-27 04:52:39 +00:00
ec acpigen_ps2_keybd: Support a Do Not Disturb key 2024-06-24 15:17:56 +00:00
include acpi: Add support for DRHD size reporting 2024-06-28 11:27:27 +00:00
lib lib/string: use size_t for local variable in strncmp 2024-06-27 03:30:46 +00:00
mainboard mb/google/brox/variants/brox/fw_config.c: Remove unused macro 2024-06-28 08:09:04 +00:00
northbridge acpi: Rename acpi_create_dmar_drhd 2024-06-26 18:07:30 +00:00
sbom
security cpu/x86/pae/pgtbl.c: extract reusable code from memset_pae() 2024-05-29 13:04:30 +00:00
soc acpi: Rename acpi_create_dmar_drhd 2024-06-26 18:07:30 +00:00
southbridge sb/intel/lynxpoint/fadt: Fill extended FADT after populating lengths 2024-06-11 18:59:24 +00:00
superio tree: Drop non-existent directories from subdirs-y 2024-06-11 11:26:07 +00:00
vendorcode vc/amd/opensil/*/opensil.h: add missing device/device.h include 2024-06-17 14:27:30 +00:00
Kconfig Kconfig: Update FW_CONFIG Kconfig options 2024-06-25 08:12:58 +00:00