[coreboot-gerrit] Change in coreboot[master]: soc/intel/apollolake: Implement _PIC method into ACPI

Mario Scheithauer (Code Review) gerrit at coreboot.org
Mon Jul 17 14:31:23 CEST 2017


Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/20617


Change subject: soc/intel/apollolake: Implement _PIC method into ACPI
......................................................................

soc/intel/apollolake: Implement _PIC method into ACPI

The _PIC method is called by the OS to choose between interrupt routing
via the i8259 interrupt controller or the APIC.

Change-Id: I2bc16f9c096c095c02de3692e76c0906cec54cb5
Signed-off-by: Mario Scheithauer <mario.scheithauer at siemens.com>
---
M src/soc/intel/apollolake/acpi/platform.asl
1 file changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/20617/1

diff --git a/src/soc/intel/apollolake/acpi/platform.asl b/src/soc/intel/apollolake/acpi/platform.asl
index f3202a0..ec1844a 100644
--- a/src/soc/intel/apollolake/acpi/platform.asl
+++ b/src/soc/intel/apollolake/acpi/platform.asl
@@ -18,3 +18,19 @@
 /* Enable ACPI _SWS methods */
 #include <soc/intel/common/acpi/acpi_wake_source.asl>
 #include <soc/intel/common/acpi/platform.asl>
+
+Name(\PICM, Zero) // IOAPIC/8259
+
+/*
+ * The _PIC method is called by the OS to choose between interrupt
+ * routing via the i8259 interrupt controller or the APIC.
+ *
+ * _PIC is called with a parameter of 0 for i8259 configuration and
+ * with a parameter of 1 for Local Apic/IOAPIC configuration.
+ */
+
+Method (_PIC, 1)
+{
+	/* Remember the OS' IRQ routing choice. */
+	Store (Arg0, PICM)
+}

-- 
To view, visit https://review.coreboot.org/20617
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2bc16f9c096c095c02de3692e76c0906cec54cb5
Gerrit-Change-Number: 20617
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer at siemens.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170717/ece4e46c/attachment-0001.html>


More information about the coreboot-gerrit mailing list