Johnny Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40308 )
Change subject: drivers/ocp/dmi: Add OCP_DMI driver for populating SMBIOS from IPMI FRU data
......................................................................
Patch Set 45:
(4 comments)
https://review.coreboot.org/c/coreboot/+/40308/44//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/40308/44//COMMIT_MSG@12
PS44, Line 12: Need to configure the correct values for FRU_DEVICE_ID and BMC_KCS_BASE.
> "Mainboard needs to configure"
Done
https://review.coreboot.org/c/coreboot/+/40308/23/src/drivers/ocp/dmi/Kconf…
File src/drivers/ocp/dmi/Kconfig:
https://review.coreboot.org/c/coreboot/+/40308/23/src/drivers/ocp/dmi/Kconf…
PS23, Line 14: config BMC_KCS_BASE
> For ramstage maybe I can add a global variable for it and sets it during ipmi_kcs_init() from dev->p […]
I add a CONFIG_BMC_KCS to
https://review.coreboot.org/c/coreboot/+/40234/31/src/drivers/ipmi/Kconfig#…
and all code should use CONFIG_BMC_KCS whenever it needs a hard-coded address to avoid duplicate definitions.
https://review.coreboot.org/c/coreboot/+/40308/44/src/drivers/ocp/dmi/ocp_d…
File src/drivers/ocp/dmi/ocp_dmi.h:
https://review.coreboot.org/c/coreboot/+/40308/44/src/drivers/ocp/dmi/ocp_d…
PS44, Line 6: #include <cpu/x86/msr.h>
> Do we need to include this header file?
This is needed because of extern msr_t xeon_sp_ppin[] below.
I added ARCH_X86 dependency to
https://review.coreboot.org/c/coreboot/+/40308/45/src/drivers/ocp/dmi/Kconf…
Because from the FB OCP specification it defines the PPIN requirement which should be ARCH_X86 dependent.
https://review.coreboot.org/c/coreboot/+/40308/44/src/drivers/ocp/dmi/ocp_d…
PS44, Line 15: extern msr_t xeon_sp_ppin[];
> All the PPIN related code are x86 specific. […]
The PPIN in OCP spec is x86 dependent, so I still need put it here just to read and store them to a global array for lafter access from mainboard (SET PPIN to BMC).
Unless it's better to move the read PPIN functions (maybe including the msr_t global array) to xeon_sp and call it here.
--
To view, visit https://review.coreboot.org/c/coreboot/+/40308
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I08c958dfad83216cd12545760a19d205efc2515b
Gerrit-Change-Number: 40308
Gerrit-PatchSet: 45
Gerrit-Owner: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Andrey Petrov <anpetrov(a)fb.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Jingle Hsu <jingle_hsu(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: Morgan Jang
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sat, 27 Jun 2020 04:06:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Comment-In-Reply-To: Jonathan Zhang <jonzhang(a)fb.com>
Comment-In-Reply-To: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-MessageType: comment
Hello build bot (Jenkins), Andrey Petrov, Patrick Georgi, Martin Roth, Patrick Rudolph, Jonathan Zhang, Maxim Polyakov, David Hendricks, Jingle Hsu, Morgan Jang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40308
to look at the new patch set (#45).
Change subject: drivers/ocp/dmi: Add OCP_DMI driver for populating SMBIOS from IPMI FRU data
......................................................................
drivers/ocp/dmi: Add OCP_DMI driver for populating SMBIOS from IPMI FRU data
It implements the SMBIOS IPMI FRU mapping table defined in
https://www.opencompute.org/documents/facebook-xeon-motherboard-v31
22.3 SMBIOS FRU mapping table.
Mainboard needs to configure the correct values for FRU_DEVICE_ID and BMC_KCS_BASE.
For type 11 string 1 to 6 are common and implemented in this driver, the
rest are project dependent and can be added in the mainboard code.
Tested on OCP Tioga Pass.
Change-Id: I08c958dfad83216cd12545760a19d205efc2515b
Signed-off-by: Johnny Lin <johnny_lin(a)wiwynn.com>
---
A src/drivers/ocp/dmi/Kconfig
A src/drivers/ocp/dmi/Makefile.inc
A src/drivers/ocp/dmi/ocp_dmi.h
A src/drivers/ocp/dmi/smbios.c
4 files changed, 324 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/40308/45
--
To view, visit https://review.coreboot.org/c/coreboot/+/40308
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I08c958dfad83216cd12545760a19d205efc2515b
Gerrit-Change-Number: 40308
Gerrit-PatchSet: 45
Gerrit-Owner: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Andrey Petrov <anpetrov(a)fb.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Jingle Hsu <jingle_hsu(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: Morgan Jang
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello build bot (Jenkins), Patrick Georgi, Furquan Shaikh,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/42583
to review the following change.
Change subject: Revert "Mushu: Enable PCIe 1d.4 to enable dgpu"
......................................................................
Revert "Mushu: Enable PCIe 1d.4 to enable dgpu"
This reverts commit 1408798637125f1707ded7215e22461c623a79a8.
Reason for revert: Causing backlight issues in device. Will reland after more debugging to figure out the root cause.
BUG=b:159370566
BRANCH=None
TEST=boot up device and make sure when kernel is booted, backlight comes up.
Change-Id: I643854c6c805d262539bbb482808e8c322059a49
---
M src/mainboard/google/hatch/variants/mushu/overridetree.cb
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/42583/1
diff --git a/src/mainboard/google/hatch/variants/mushu/overridetree.cb b/src/mainboard/google/hatch/variants/mushu/overridetree.cb
index 100f7d5..db86d68 100644
--- a/src/mainboard/google/hatch/variants/mushu/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/mushu/overridetree.cb
@@ -185,7 +185,6 @@
device i2c 1a on end
end
end #I2C #4
- device pci 1d.4 on end # PCI Express port 13
device pci 1e.3 on
chip drivers/spi/acpi
register "name" = ""CRFP""
--
To view, visit https://review.coreboot.org/c/coreboot/+/42583
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I643854c6c805d262539bbb482808e8c322059a49
Gerrit-Change-Number: 42583
Gerrit-PatchSet: 1
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newchange
Raul Rangel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42687 )
Change subject: soc/amd/common: Refactor GPIO SCI/SMI interrupts
......................................................................
Patch Set 8: Code-Review+2
(3 comments)
https://review.coreboot.org/c/coreboot/+/42687/5/src/soc/amd/common/block/g…
File src/soc/amd/common/block/gpio_banks/gpio.c:
https://review.coreboot.org/c/coreboot/+/42687/5/src/soc/amd/common/block/g…
PS5, Line 52: sci_trigger_regs
> Left as a followup exercise due the requested change of name 'level' to 'trigger' which calls for a […]
Ack
https://review.coreboot.org/c/coreboot/+/42687/5/src/soc/amd/common/block/g…
PS5, Line 55: level
> And have a field named trigger not being written to register named trigger? I find that equally conf […]
Ack
https://review.coreboot.org/c/coreboot/+/42687/5/src/soc/amd/common/block/g…
PS5, Line 94: SMI_SCI_LEVEL
> Not my choice. I have assumed these match the datasheets.
Ack
--
To view, visit https://review.coreboot.org/c/coreboot/+/42687
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib2c7cd70ab38d0d8e745b0a611b780d2b0b8dc5b
Gerrit-Change-Number: 42687
Gerrit-PatchSet: 8
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(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, 26 Jun 2020 21:24:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Raul Rangel <rrangel(a)chromium.org>
Comment-In-Reply-To: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-MessageType: comment