Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46120 )
Change subject: mb/google/poppy/variant/atlas: Reset bluetooth in BIOS
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/46120/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/46120/1//COMMIT_MSG@20
PS1, Line 20:
> We usually merge coreboot changes to top-of-tree first, and then cherry-pick on the chromium side to […]
For sure :) I just mean to tag this with BRANCH=poppy or something
--
To view, visit https://review.coreboot.org/c/coreboot/+/46120
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I361caa49e82aa086c3c35962164fb078fa30139e
Gerrit-Change-Number: 46120
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Fri, 09 Oct 2020 19:05:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-MessageType: comment
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46120 )
Change subject: mb/google/poppy/variant/atlas: Reset bluetooth in BIOS
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/46120/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/46120/1//COMMIT_MSG@20
PS1, Line 20:
> Shouldn't this go in the poppy branch?
We usually merge coreboot changes to top-of-tree first, and then cherry-pick on the chromium side to the firmware branch to assure TOT stays up-to-date.
--
To view, visit https://review.coreboot.org/c/coreboot/+/46120
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I361caa49e82aa086c3c35962164fb078fa30139e
Gerrit-Change-Number: 46120
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Fri, 09 Oct 2020 18:52:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Christian Walter has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45868 )
Change subject: soc/intel/xeon_sp/cpx: Set CPU_ADDR_BITS to 46
......................................................................
soc/intel/xeon_sp/cpx: Set CPU_ADDR_BITS to 46
According to document number 338846 this should be set to 46 bits.
Change-Id: I0bbe6c962ffc7d5dc722f1cacf55bc0d0615db59
Signed-off-by: Christian Walter <christian.walter(a)9elements.com>
---
M src/soc/intel/xeon_sp/cpx/Kconfig
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/45868/1
diff --git a/src/soc/intel/xeon_sp/cpx/Kconfig b/src/soc/intel/xeon_sp/cpx/Kconfig
index 8e7e6f1..975afc9 100644
--- a/src/soc/intel/xeon_sp/cpx/Kconfig
+++ b/src/soc/intel/xeon_sp/cpx/Kconfig
@@ -15,6 +15,10 @@
int
default 255
+config CPU_ADDR_BITS
+ int
+ default 46
+
config PCR_BASE_ADDRESS
hex
default 0xfd000000
--
To view, visit https://review.coreboot.org/c/coreboot/+/45868
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0bbe6c962ffc7d5dc722f1cacf55bc0d0615db59
Gerrit-Change-Number: 45868
Gerrit-PatchSet: 1
Gerrit-Owner: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Jonathan Zhang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45887 )
Change subject: soc/intel/xeon_sp/cpx: skip DRHD generation for non-PCIe stack
......................................................................
soc/intel/xeon_sp/cpx: skip DRHD generation for non-PCIe stack
This is a temporary patch to unblock test/release. It will be replaced
by following patches:
* A patch to correct ioapic GSIs.
* A patch to skip DRHD generation for non-PCIe stack (this can only be
done when the IPS ticket is resolved).
With the patch to correct ioapic GSIs, there are following target OS
boot errors:
[ 1.098771] IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-119
[ 1.099159] GSI range [24-31] for new IOAPIC conflicts with GSI[0-119]
With the patch, these are the messages:
[ 0.399498] IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-119
[ 0.399848] IOAPIC[1]: apic_id 9, version 32, address 0xfec01000, GSI 120-127
I also suspect this causes the reboot instability issue. During some
reboots (like once every 30 reboots), following failures happen:
[ 4.325795] mce: [Hardware Error]: Machine check events logged
[ 4.326597] mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 9: ee2000000003110a
[ 4.327594] mce: [Hardware Error]: TSC 0 ADDR fe9e0000 MISC 228aa040101086
[ 4.328596] mce: [Hardware Error]: PROCESSOR 0:5065b TIME 1601443875 SOCKET 0 APIC 0 microcode 700001d
The MCE errors is happen in bank 9, 10 and 11. The Model specific error code
shows it is about SAD_ERR_WB_TO_MMIO error (doc 604926), which means something
goes wrong when cache write back to mmio. It is a generic transaction type error
in level 2.
Since the error happens during smpboot of PBSP, I suspect this is an issue
related to ioapic, hence found the issue with MADT table.
Signed-off-by: Jonathan Zhang <jonzhang(a)fb.com>
Change-Id: I098605daf12a264f390613581427ec722afcddaf
---
M src/soc/intel/xeon_sp/cpx/acpi.c
1 file changed, 19 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/45887/1
diff --git a/src/soc/intel/xeon_sp/cpx/acpi.c b/src/soc/intel/xeon_sp/cpx/acpi.c
index cd497c5..8792131 100644
--- a/src/soc/intel/xeon_sp/cpx/acpi.c
+++ b/src/soc/intel/xeon_sp/cpx/acpi.c
@@ -187,7 +187,7 @@
int cur_index;
struct iiostack_resource stack_info = {0};
- int gsi_bases[] = { 0, 0x18, 0x20, 0x28, 0x30, 0x48, 0x50, 0x58, 0x60 };
+ int gsi_bases[] = { 0, 0x78, 0x80, 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0 };
int ioapic_ids[] = { 0x8, 0x9, 0xa, 0xb, 0xc, 0xf, 0x10, 0x11, 0x12 };
/* Local APICs */
@@ -612,9 +612,20 @@
if (get_stack_for_port(port) != stack)
return 0;
- const uint32_t bus = iio_resource.StackRes[stack].BusBase;
- const uint32_t dev = iio_resource.PcieInfo.PortInfo[port].Device;
- const uint32_t func = iio_resource.PcieInfo.PortInfo[port].Function;
+ uint32_t bus = iio_resource.StackRes[stack].BusBase;
+ uint32_t dev = iio_resource.PcieInfo.PortInfo[port].Device;
+ uint32_t func = iio_resource.PcieInfo.PortInfo[port].Function;
+
+ /* TODO: remove this workaround when the IPS ticket is resolved. */
+ if (port == PORT_1A || port == PORT_2A || port == PORT_3A)
+ dev = 0x0;
+ else if (port == PORT_1B || port == PORT_2B || port == PORT_3B)
+ dev = 0x1;
+ else if (port == PORT_1C || port == PORT_2C || port == PORT_3C)
+ dev = 0x2;
+ else if (port == PORT_1D || port == PORT_2D || port == PORT_3D)
+ dev = 0x3;
+ func = 0x0;
const uint32_t id = pci_mmio_read_config32(PCI_DEV(bus, dev, func),
PCI_VENDOR_ID);
@@ -660,6 +671,10 @@
printk(BIOS_SPEW, "%s socket: %d, stack: %d, bus: 0x%x, pcie_seg: 0x%x, reg_base: 0x%x\n",
__func__, socket, stack, bus, pcie_seg, reg_base);
+ /* Do not generate DRHD for non-PCIe stack */
+ if (reg_base == 0x0)
+ return current;
+
// Add DRHD Hardware Unit
if (socket == 0 && stack == CSTACK) {
printk(BIOS_DEBUG, "[Hardware Unit Definition] Flags: 0x%x, PCI Segment Number: 0x%x, "
--
To view, visit https://review.coreboot.org/c/coreboot/+/45887
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I098605daf12a264f390613581427ec722afcddaf
Gerrit-Change-Number: 45887
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Furquan Shaikh, Caveh Jalali, Duncan Laurie, Nick Vaccaro, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45747
to look at the new patch set (#5).
Change subject: soc/intel/tigerlake: Replace soc_get_pmc_mux_device with device pointers
......................................................................
soc/intel/tigerlake: Replace soc_get_pmc_mux_device with device pointers
Now that device aliases can be used in the devicetree, the hacky function
'soc_get_pmc_mux_device' can be removed and replaced with pointers to the
devices the function was supposed to return (1 for each port).
Signed-off-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Change-Id: Ie00834c79bd5304998adaccb388ae74a108192b1
---
M src/ec/google/chromeec/chip.h
M src/ec/google/chromeec/ec_acpi.c
M src/soc/intel/common/block/include/intelblocks/pmc.h
M src/soc/intel/tigerlake/pmc.c
4 files changed, 15 insertions(+), 73 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/45747/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/45747
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie00834c79bd5304998adaccb388ae74a108192b1
Gerrit-Change-Number: 45747
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.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
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45195 )
Change subject: soc/intel/jasperlake: Correct SaGv mapping
......................................................................
Patch Set 2:
Hm, buildbot didn't pick this up, maybe try a rebase?
--
To view, visit https://review.coreboot.org/c/coreboot/+/45195
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I366de1ea7cf41c56b2954b8032c69bfba81058e2
Gerrit-Change-Number: 45195
Gerrit-PatchSet: 2
Gerrit-Owner: Aamir Bohra <aamir.bohra(a)intel.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: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-Comment-Date: Fri, 09 Oct 2020 15:37:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment