coreboot/src/acpi
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.c acpi/acpi: Fix Qemu's XSDT patching code 2024-06-24 17:12:48 +00:00
acpi_apic.c acpi/acpi_apic;arch/x86/acpi: better document ACPI_NO_PCAT_8259 case 2024-05-27 14:49:22 +00:00
acpi_dmar.c acpi: Add support for DRHD size reporting 2024-06-28 11:27:27 +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 tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
acpigen_dptf.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +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 acpi: Remove acpigen_write_OSC_pci_domain 2024-05-06 10:48:06 +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 acpigen_ps2_keybd: Support a Do Not Disturb key 2024-06-24 15:17:56 +00:00
acpigen_usb.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
device.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +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 acpigen_ps2_keybd: Add Fn key to linux,keymap 2024-04-19 17:22:48 +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
sata.c
soundwire.c acpi/soundwire.[ch]: Fix dpn entry array overrun 2023-09-13 15:26:01 +00:00