Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46133 )
Change subject: sb/intel/lynxpoint: Enable/disable AER via Kconfig
......................................................................
sb/intel/lynxpoint: Enable/disable AER via Kconfig
Semi-recent changes to the Linux kernel now enable AER for many
devices for which it was previously disabled. This, coupled with
the SB enabling AER for all PCIe devices, has resulted in a large
amount of AER timeout errors in the kernel log for devices which
do not support AER. To mitigate this, guard AER enablement via
Kconfig, select it by default (as to maintain current default
behavior), and allow boards which need to disable it to do so.
This implementation is identical to/copied from soc/intel/broadwell.
Test: build/boot google/beltino variants with AER disabled, verify
dmesg log free of AER errors.
Change-Id: Ia03ef0d111335892c65122954c1248191ded7cb8
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/southbridge/intel/lynxpoint/Kconfig
M src/southbridge/intel/lynxpoint/pcie.c
2 files changed, 11 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/46133/1
diff --git a/src/southbridge/intel/lynxpoint/Kconfig b/src/southbridge/intel/lynxpoint/Kconfig
index c104cbb..43f8bce 100644
--- a/src/southbridge/intel/lynxpoint/Kconfig
+++ b/src/southbridge/intel/lynxpoint/Kconfig
@@ -58,4 +58,8 @@
If you set this option to y, the USB ports will be routed
to the XHCI controller during the finalize SMM callback.
+config PCIEXP_AER
+ bool
+ default y
+
endif
diff --git a/src/southbridge/intel/lynxpoint/pcie.c b/src/southbridge/intel/lynxpoint/pcie.c
index 35ce5c47..42e002b 100644
--- a/src/southbridge/intel/lynxpoint/pcie.c
+++ b/src/southbridge/intel/lynxpoint/pcie.c
@@ -670,8 +670,13 @@
/* Set EOI forwarding disable. */
pci_or_config32(dev, 0xd4, 1 << 1);
- /* Set something involving advanced error reporting. */
- pci_update_config32(dev, 0x100, ~((1 << 20) - 1), 0x10001);
+ /* Set AER Extended Cap ID to 01h and Next Cap Pointer to 200h. */
+ if (CONFIG(PCIEXP_AER))
+ pci_update_config32(dev, 0x100, ~(1 << 29) & ~0xfffff,
+ (1 << 29) | 0x10001);
+ else
+ pci_update_config32(dev, 0x100, ~(1 << 29) & ~0xfffff,
+ (1 << 29));
if (is_lp)
pci_or_config32(dev, 0x100, 1 << 29);
--
To view, visit https://review.coreboot.org/c/coreboot/+/46133
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia03ef0d111335892c65122954c1248191ded7cb8
Gerrit-Change-Number: 46133
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-MessageType: newchange
Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46129 )
Change subject: mb/siemens/mc_bdx1: Fix IASL warning reported as error
......................................................................
mb/siemens/mc_bdx1: Fix IASL warning reported as error
Latest IASL version (20200717) leads to a build error on 4.11_branch.
dsdt.asl 1121: Device (UNC0)
Warning 3073 - Multiple types (Device object requires either a _HID or
_ADR, but not both)
This warning reported as error was ignored in older IASL versions.
The address object (_ADR) is not needed because a valid hardware ID
(_HID) for the device is available.
Change-Id: Iae5c91739ed9caea2dbb5996e2f093ed6fc47e93
Signed-off-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
M src/mainboard/siemens/mc_bdx1/dsdt.asl
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/46129/1
diff --git a/src/mainboard/siemens/mc_bdx1/dsdt.asl b/src/mainboard/siemens/mc_bdx1/dsdt.asl
index 1248703..76845f5 100644
--- a/src/mainboard/siemens/mc_bdx1/dsdt.asl
+++ b/src/mainboard/siemens/mc_bdx1/dsdt.asl
@@ -261,7 +261,6 @@
Return (0xff)
}
- Name (_ADR, 0x00)
Method (_STA, 0, NotSerialized)
{
Return (0xf)
--
To view, visit https://review.coreboot.org/c/coreboot/+/46129
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: 4.11_branch
Gerrit-Change-Id: Iae5c91739ed9caea2dbb5996e2f093ed6fc47e93
Gerrit-Change-Number: 46129
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40625
to look at the new patch set (#11).
Change subject: [WIP] skl: PEG for Optimus
......................................................................
[WIP] skl: PEG for Optimus
Creates PEG ACPI device for Optimus.
Bugs:
- "Data Link Layer Link Active not set in 1000ms"
Tested, nouveau driver works on an Acer Aspire VN7-572G (Skylake-U)
and `DRI_PRIME=1 glxinfo` reports the dGPU as renderer.
Change-Id: I107bd5f7c192b8ffc83de6d8f1ac314bb5dcbfbd
Signed-off-by: Benjamin Doron <benjamin.doron00(a)gmail.com>
---
M src/soc/intel/skylake/acpi/pch.asl
A src/soc/intel/skylake/acpi/peg.asl
2 files changed, 227 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/40625/11
--
To view, visit https://review.coreboot.org/c/coreboot/+/40625
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I107bd5f7c192b8ffc83de6d8f1ac314bb5dcbfbd
Gerrit-Change-Number: 40625
Gerrit-PatchSet: 11
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Aamir Bohra has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45196 )
Change subject: mb/google/dedede: Enable SaGv support
......................................................................
Patch Set 5:
(3 comments)
https://review.coreboot.org/c/coreboot/+/45196/4//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/45196/4//COMMIT_MSG@7
PS4, Line 7: SaGv support
> Does SaGv support depend on mainboard components (e.g. VR), or can it be enabled on any mainboard? […]
It can be enabled for any Mainboard. It is more of SoC specific feature. Can be done, But I find it better to be mainboard controlled . given that some early Si samples might recommend the SaGv to be disabled. In that scenario a board control helps.
https://review.coreboot.org/c/coreboot/+/45196/4//COMMIT_MSG@9
PS4, Line 9:
> nit: no space before the comma
Done
https://review.coreboot.org/c/coreboot/+/45196/4//COMMIT_MSG@11
PS4, Line 11:
> same here
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/45196
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f60aad031ce9dfe23e54426753311c35db46c05
Gerrit-Change-Number: 45196
Gerrit-PatchSet: 5
Gerrit-Owner: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Meera Ravindranath <meera.ravindranath(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 12 Oct 2020 05:00:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment