summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-08-29 17:04:19 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-09-10 16:19:03 +0800
commit0c6352ec2a238c1f89b0f394b34da57ab0849f6a (patch)
tree507394e1a4070040e220a7bbc2bd9e6f43f84b96 /arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
parent19b6e1ba8c67e413d73df9db7e0c88c379e033a7 (diff)
x86: tangier: Reserve PCI ECAM in motherboard resources
Per PCI firmware specification the ACPI has to reserve the memory which is defined as PCI ECAM. Fixes: 39665beed6f7 ("x86: tangier: Enable ACPI support for Intel Tangier") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm/arch-tangier/acpi/southcluster.asl')
-rw-r--r--arch/x86/include/asm/arch-tangier/acpi/southcluster.asl17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
index 1b9d808b7b..f73a6b351c 100644
--- a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
+++ b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl
@@ -66,6 +66,23 @@ Device (PCI0)
Return (MCRS)
}
+ /* Device Resource Consumption */
+ Device (PDRC)
+ {
+ Name (_HID, EISAID("PNP0C02"))
+ Name (_UID, One)
+
+ Name (PDRS, ResourceTemplate()
+ {
+ Memory32Fixed(ReadWrite, MCFG_BASE_ADDRESS, MCFG_BASE_SIZE)
+ })
+
+ Method (_CRS, 0, Serialized)
+ {
+ Return (PDRS)
+ }
+ }
+
Method (_OSC, 4)
{
/* Check for proper GUID */