Attention is currently required from: Lance Zhao, Jason Glenesk, Anjaneya "Reddy" Chagam, Raul Rangel, Marshall Dawson, Jonathan Zhang, Johnny Lin, Morgan Jang, Patrick Rudolph, Felix Held.
Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50470 )
Change subject: [WIP] ACPI: Move _PIC declarations
......................................................................
[WIP] ACPI: Move _PIC declarations
Change-Id: I659835354570fb1d4860fcbddf2a51831170a374
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/acpi/dsdt_top.asl
M src/mainboard/51nb/x210/acpi/platform.asl
M src/mainboard/emulation/qemu-q35/dsdt.asl
M src/mainboard/intel/cedarisland_crb/acpi/platform.asl
M src/mainboard/lippert/frontrunner-af/dsdt.asl
M src/mainboard/ocp/deltalake/acpi/platform.asl
M src/mainboard/ocp/tiogapass/acpi/platform.asl
M src/soc/amd/picasso/acpi/pci_int.asl
M src/soc/amd/stoneyridge/acpi/pci_int.asl
M src/soc/intel/common/block/acpi/acpi/platform.asl
M src/southbridge/amd/agesa/hudson/acpi/pci_int.asl
M src/southbridge/amd/cimx/sb800/acpi/pcie.asl
M src/southbridge/amd/pi/hudson/acpi/pci_int.asl
M src/southbridge/intel/common/acpi/platform.asl
14 files changed, 14 insertions(+), 109 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/50470/1
diff --git a/src/acpi/dsdt_top.asl b/src/acpi/dsdt_top.asl
index 4300f0a..3e6bb1c 100644
--- a/src/acpi/dsdt_top.asl
+++ b/src/acpi/dsdt_top.asl
@@ -16,3 +16,17 @@
/* Power state (AC = 1) */
Name (PWRS, One)
+
+/*
+ * 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. */
+ PICM = Arg0
+}
diff --git a/src/mainboard/51nb/x210/acpi/platform.asl b/src/mainboard/51nb/x210/acpi/platform.asl
index 6cf3f32..dbf6241 100644
--- a/src/mainboard/51nb/x210/acpi/platform.asl
+++ b/src/mainboard/51nb/x210/acpi/platform.asl
@@ -4,20 +4,6 @@
#include <soc/intel/common/acpi/acpi_wake_source.asl>
/*
- * 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)
-}
-
-/*
* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0
*/
diff --git a/src/mainboard/emulation/qemu-q35/dsdt.asl b/src/mainboard/emulation/qemu-q35/dsdt.asl
index 25cc549e..d65f2de 100644
--- a/src/mainboard/emulation/qemu-q35/dsdt.asl
+++ b/src/mainboard/emulation/qemu-q35/dsdt.asl
@@ -142,10 +142,6 @@
* PCI IRQs
****************************************************************/
- Method(\_PIC, 1, NotSerialized) {
- \PICM = Arg0
- }
-
Scope(\_SB) {
Scope(PCI0) {
#define prt_slot_lnk(nr, lnk0, lnk1, lnk2, lnk3) \
diff --git a/src/mainboard/intel/cedarisland_crb/acpi/platform.asl b/src/mainboard/intel/cedarisland_crb/acpi/platform.asl
index 6ac38dd..3bebbff 100644
--- a/src/mainboard/intel/cedarisland_crb/acpi/platform.asl
+++ b/src/mainboard/intel/cedarisland_crb/acpi/platform.asl
@@ -19,11 +19,6 @@
Name(\APC1, Zero) // IIO IOAPIC
-Method(_PIC, 1)
-{
- Store(Arg0, PICM)
-}
-
/*
* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0
diff --git a/src/mainboard/lippert/frontrunner-af/dsdt.asl b/src/mainboard/lippert/frontrunner-af/dsdt.asl
index 0729442..87eea4c 100644
--- a/src/mainboard/lippert/frontrunner-af/dsdt.asl
+++ b/src/mainboard/lippert/frontrunner-af/dsdt.asl
@@ -388,11 +388,6 @@
Return(OSVR)
}
- Method(_PIC, 0x01, NotSerialized)
- {
- PICM = Arg0
- }
-
Name(IRQB, ResourceTemplate(){
IRQ(Level,ActiveLow,Shared){15}
})
diff --git a/src/mainboard/ocp/deltalake/acpi/platform.asl b/src/mainboard/ocp/deltalake/acpi/platform.asl
index 286cc6c..fa6a451 100644
--- a/src/mainboard/ocp/deltalake/acpi/platform.asl
+++ b/src/mainboard/ocp/deltalake/acpi/platform.asl
@@ -335,20 +335,6 @@
}
/*
- * 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. */
- PICM = Arg0
-}
-
-/*
* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0
*/
diff --git a/src/mainboard/ocp/tiogapass/acpi/platform.asl b/src/mainboard/ocp/tiogapass/acpi/platform.asl
index 02c32f9..9f51fdf 100644
--- a/src/mainboard/ocp/tiogapass/acpi/platform.asl
+++ b/src/mainboard/ocp/tiogapass/acpi/platform.asl
@@ -335,20 +335,6 @@
}
/*
- * 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. */
- PICM = Arg0
-}
-
-/*
* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0
*/
diff --git a/src/soc/amd/picasso/acpi/pci_int.asl b/src/soc/amd/picasso/acpi/pci_int.asl
index f95dcb0..06ba0cc 100644
--- a/src/soc/amd/picasso/acpi/pci_int.asl
+++ b/src/soc/amd/picasso/acpi/pci_int.asl
@@ -1,11 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
- Method(\_PIC, 0x01, NotSerialized)
- {
- printf("PIC MODE: %o", Arg0)
- PICM = Arg0
- }
-
/* PIC Possible Resource Values */
Name(IRQP, ResourceTemplate() {
Interrupt(ResourceConsumer, Level, ActiveLow, Exclusive, , , PIC){
diff --git a/src/soc/amd/stoneyridge/acpi/pci_int.asl b/src/soc/amd/stoneyridge/acpi/pci_int.asl
index 718fdb0..0f1feef 100644
--- a/src/soc/amd/stoneyridge/acpi/pci_int.asl
+++ b/src/soc/amd/stoneyridge/acpi/pci_int.asl
@@ -103,11 +103,6 @@
P3PR, 1,
}
- Method(_PIC, 0x01, NotSerialized)
- {
- PICM = Arg0
- }
-
Name(IRQB, ResourceTemplate(){
IRQ(Level,ActiveLow,Shared){15}
})
diff --git a/src/soc/intel/common/block/acpi/acpi/platform.asl b/src/soc/intel/common/block/acpi/acpi/platform.asl
index 4b01aeb..8a26756 100644
--- a/src/soc/intel/common/block/acpi/acpi/platform.asl
+++ b/src/soc/intel/common/block/acpi/acpi/platform.asl
@@ -4,17 +4,3 @@
#include <soc/intel/common/acpi/acpi_wake_source.asl>
/* Generic indicator for sleep state */
#include <soc/intel/common/acpi/platform.asl>
-
-/*
- * 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. */
- PICM = Arg0
-}
diff --git a/src/southbridge/amd/agesa/hudson/acpi/pci_int.asl b/src/southbridge/amd/agesa/hudson/acpi/pci_int.asl
index 199357c..37b2333 100644
--- a/src/southbridge/amd/agesa/hudson/acpi/pci_int.asl
+++ b/src/southbridge/amd/agesa/hudson/acpi/pci_int.asl
@@ -103,11 +103,6 @@
P3PR, 1,
}
- Method(_PIC, 0x01, NotSerialized)
- {
- PICM = Arg0
- }
-
Name(IRQB, ResourceTemplate(){
IRQ(Level,ActiveLow,Shared){15}
})
diff --git a/src/southbridge/amd/cimx/sb800/acpi/pcie.asl b/src/southbridge/amd/cimx/sb800/acpi/pcie.asl
index c2f8406..65ac920 100644
--- a/src/southbridge/amd/cimx/sb800/acpi/pcie.asl
+++ b/src/southbridge/amd/cimx/sb800/acpi/pcie.asl
@@ -132,11 +132,6 @@
P3PR, 1,
}
- Method(_PIC, 0x01, NotSerialized)
- {
- PICM = Arg0
- }
-
Name(IRQB, ResourceTemplate(){
IRQ(Level,ActiveLow,Shared){15}
})
diff --git a/src/southbridge/amd/pi/hudson/acpi/pci_int.asl b/src/southbridge/amd/pi/hudson/acpi/pci_int.asl
index 199357c..37b2333 100644
--- a/src/southbridge/amd/pi/hudson/acpi/pci_int.asl
+++ b/src/southbridge/amd/pi/hudson/acpi/pci_int.asl
@@ -103,11 +103,6 @@
P3PR, 1,
}
- Method(_PIC, 0x01, NotSerialized)
- {
- PICM = Arg0
- }
-
Name(IRQB, ResourceTemplate(){
IRQ(Level,ActiveLow,Shared){15}
})
diff --git a/src/southbridge/intel/common/acpi/platform.asl b/src/southbridge/intel/common/acpi/platform.asl
index 342a4ef..5aec02c 100644
--- a/src/southbridge/intel/common/acpi/platform.asl
+++ b/src/southbridge/intel/common/acpi/platform.asl
@@ -27,19 +27,6 @@
}
#endif /* ACPI_SOC_NVS */
-/* 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.
- PICM = Arg0
-}
-
Method(GOS, 0)
{
/* Determine the Operating System and save the value in OSYS.
--
To view, visit https://review.coreboot.org/c/coreboot/+/50470
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I659835354570fb1d4860fcbddf2a51831170a374
Gerrit-Change-Number: 50470
Gerrit-PatchSet: 1
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Anjaneya "Reddy" Chagam <anjaneya.chagam(a)intel.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Lance Zhao
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Morgan Jang <Morgan_Jang(a)wiwynn.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Lance Zhao
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Anjaneya "Reddy" Chagam <anjaneya.chagam(a)intel.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Morgan Jang <Morgan_Jang(a)wiwynn.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/49904
to look at the new patch set (#4).
Change subject: [WIP] sb,soc/amd: Refactor _PIC() method
......................................................................
[WIP] sb,soc/amd: Refactor _PIC() method
Change-Id: Iaa51e0530a3f72456d3d4e7a0c55b768ba63e322
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M src/mainboard/lippert/frontrunner-af/dsdt.asl
M src/soc/amd/stoneyridge/acpi/pci_int.asl
M src/southbridge/amd/agesa/hudson/acpi/pci_int.asl
M src/southbridge/amd/cimx/sb800/acpi/pcie.asl
M src/southbridge/amd/pi/hudson/acpi/pci_int.asl
5 files changed, 0 insertions(+), 50 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/49904/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/49904
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaa51e0530a3f72456d3d4e7a0c55b768ba63e322
Gerrit-Change-Number: 49904
Gerrit-PatchSet: 4
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Angel Pons, Arthur Heymans, Patrick Rudolph.
Hello build bot (Jenkins), Nico Huber, Arthur Heymans, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/50041
to look at the new patch set (#4).
Change subject: soc/intel/broadwell: Use southbridge common RCBA
......................................................................
soc/intel/broadwell: Use southbridge common RCBA
Tested with BUILD_TIMELESS=1, Purism Librem 13 v1 remains identical.
Change-Id: I94953bed3f331848271464bee829f8209167f150
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/soc/intel/broadwell/acpi/hostbridge.asl
M src/soc/intel/broadwell/include/soc/iomap.h
M src/soc/intel/broadwell/include/soc/rcba.h
M src/soc/intel/broadwell/pch/acpi/pch.asl
M src/soc/intel/broadwell/pch/bootblock.c
M src/soc/intel/broadwell/pch/lpc.c
6 files changed, 8 insertions(+), 22 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/50041/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/50041
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I94953bed3f331848271464bee829f8209167f150
Gerrit-Change-Number: 50041
Gerrit-PatchSet: 4
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Nico Huber, Patrick Rudolph.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49749 )
Change subject: nb/intel/haswell: Use common {DMI,EP,MCH}BAR accessors
......................................................................
Patch Set 6:
(1 comment)
File src/northbridge/intel/haswell/haswell.h:
https://review.coreboot.org/c/coreboot/+/49749/comment/80cfdd1b_fa7045da
PS6, Line 64: #define EPBAR64(x) (*((volatile u64 *)(CONFIG_FIXED_EPBAR_MMIO_BASE + (x))))
> Right, I'll update this patch to add the casts, and make another patch to add the casts to fixed_bar […]
Done here and in CB:50469
--
To view, visit https://review.coreboot.org/c/coreboot/+/49749
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3ff4577ce662697cb3d8fb34003217fd6275dd42
Gerrit-Change-Number: 49749
Gerrit-PatchSet: 6
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Wed, 10 Feb 2021 09:18:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment