soc/intel/xeon_sp: Allow OS to control LTR and AER
There's no reason to tell the OS to disable LTR. On UEFI and
on coreboot's GNR LTR is allowed, thus allow it for all Xeon-SP.
There's no SMM (RAS) code that is able to parse AER structures,
thus let the OS always control AER. On coreboot's GNR AER is
also always granted to the OS.
TEST: Run code on ocp/tiogapass and observed dmesg:
The OS now prints:
acpi PNP0A08:04: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability LTR]
Change-Id: I7c4176a4df898cee28f6319c6684763e825d9c46
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85561
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
This commit is contained in:
parent
3ebd9ce887
commit
90196f530f
3 changed files with 9 additions and 3 deletions
|
|
@ -32,8 +32,10 @@
|
|||
Method (_OSC, 4, NotSerialized) \
|
||||
{ \
|
||||
Return (\_SB.POSC(Arg0, Arg1, Arg2, Arg3, \
|
||||
(PCIE_CAP_STRUCTURE_CONTROL| \
|
||||
(PCIE_LTR_CONTROL| \
|
||||
PCIE_CAP_STRUCTURE_CONTROL| \
|
||||
PCIE_PME_CONTROL| \
|
||||
PCIE_AER_CONTROL| \
|
||||
PCIE_NATIVE_HOTPLUG_CONTROL), 0 , 0)) \
|
||||
} \
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,8 +39,10 @@ Device (IIO_DEVICE_NAME(DEVPREFIX, SOCKET_NAME, STACK))
|
|||
Method (_OSC, 4, NotSerialized)
|
||||
{
|
||||
Return (\_SB.POSC(Arg0, Arg1, Arg2, Arg3,
|
||||
(PCIE_CAP_STRUCTURE_CONTROL|
|
||||
(PCIE_LTR_CONTROL|
|
||||
PCIE_CAP_STRUCTURE_CONTROL|
|
||||
PCIE_PME_CONTROL|
|
||||
PCIE_AER_CONTROL|
|
||||
PCIE_NATIVE_HOTPLUG_CONTROL), 1,
|
||||
CXL_ERROR_REPORTING_CONTROL))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,8 +37,10 @@ Device (IIO_DEVICE_NAME(DEVPREFIX, SOCKET_NAME, STACK))
|
|||
Method (_OSC, 4, NotSerialized)
|
||||
{
|
||||
Return (\_SB.POSC(Arg0, Arg1, Arg2, Arg3,
|
||||
(PCIE_CAP_STRUCTURE_CONTROL|
|
||||
(PCIE_LTR_CONTROL|
|
||||
PCIE_CAP_STRUCTURE_CONTROL|
|
||||
PCIE_PME_CONTROL|
|
||||
PCIE_AER_CONTROL|
|
||||
PCIE_NATIVE_HOTPLUG_CONTROL), 0 , 0))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue