Attention is currently required from: Tarun Tuli, Michał Żygowski, Kangheui Won, Reka Norman, Rizwan Qureshi.
Sridhar Siricilla has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69324 )
Change subject: soc/intel/alderlake: Check MANUF_LOCK when logging manufacturing mode
......................................................................
Patch Set 1:
(1 comment)
File src/soc/intel/alderlake/me.c:
https://review.coreboot.org/c/coreboot/+/69324/comment/c7c0265e_8381777f
PS1, Line 141: hfsts1.fields.mfg_mode
> This bit only reflects the regions' writability in flash descriptor. […]
Originally, the bit is named as spi_protection since it indicates writability to flash descriptor. But, recently it got updated incorrectly. This has to be reverted to avoid the confusion.
>So basically fpf_soc_lock and manuf_lock should be the only bits to be checked, shouldn't they?
As part of staged EOM. these 3 conditions together reflect the EOM state. Hence, firmware has to check these 3 conditions.
--
To view, visit https://review.coreboot.org/c/coreboot/+/69324
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iac605baa291ab5cc5f28464006f4828c12c748fe
Gerrit-Change-Number: 69324
Gerrit-PatchSet: 1
Gerrit-Owner: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Kangheui Won <khwon(a)chromium.org>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Comment-Date: Tue, 08 Nov 2022 13:41:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-MessageType: comment
Attention is currently required from: Angel Pons.
Hello build bot (Jenkins), Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68369
to look at the new patch set (#2).
Change subject: arch/x86: Use 'enum cb_err'
......................................................................
arch/x86: Use 'enum cb_err'
Change-Id: I38e4b8c6adfaaa45377b2fbe0644285d21841cd1
Signed-off-by: Elyes Haouas <ehaouas(a)noos.fr>
---
M src/arch/x86/pirq_routing.c
M src/arch/x86/postcar_loader.c
M src/arch/x86/rdrand.c
M src/include/random.h
4 files changed, 30 insertions(+), 19 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/68369/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/68369
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I38e4b8c6adfaaa45377b2fbe0644285d21841cd1
Gerrit-Change-Number: 68369
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Angel Pons, Lean Sheng Tan, Werner Zeh.
Mario Scheithauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69383 )
Change subject: soc/intel/ehl: Add EHL MDIO operation
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Hi Angel, it was some time ago, when I had already tried to implement a PHY driver.
https://review.coreboot.org/c/coreboot/+/64024
At that time, you had talked about a way via ops_mdio. I have now tried to implement something this way.
What do you think of this, could this be a valid way?
Thank you already for looking over.
--
To view, visit https://review.coreboot.org/c/coreboot/+/69383
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5d1b9dd2f2ba8c18291fff314c13f0c3851784aa
Gerrit-Change-Number: 69383
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Tue, 08 Nov 2022 13:33:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69386 )
Change subject: drivers/phy/m88e1512: Provide functionality to customize LED status
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-162967):
https://review.coreboot.org/c/coreboot/+/69386/comment/4d7b8c8a_f2f3f277
PS1, Line 14: https://www.marvell.com/content/dam/marvell/en/public-collateral/phys-trans…
Possible unwrapped commit description (prefer a maximum 72 chars per line)
--
To view, visit https://review.coreboot.org/c/coreboot/+/69386
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia71c43f4286f9201f03cb759252ebb405ab81904
Gerrit-Change-Number: 69386
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 08 Nov 2022 13:31:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Werner Zeh.
Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69387 )
Change subject: mb/siemens/mc_ehl2: Enable Marvell PHY 88E1512 driver
......................................................................
mb/siemens/mc_ehl2: Enable Marvell PHY 88E1512 driver
This mainboard has three Marvel PHYs connected to the internal SOC GbE
controllers. The default LED status after HW reset of this PHYs shows a
different mode than what is needed.
This patch sets the following LED status:
LED[0] - 7 = On - 1000 Mbps Link, Off - Else
LED[1] - 1 = On - Link, Blink - Activity, Off - No Link
TEST=Try different register values to verify LED feature.
Change-Id: I51d817bc720bf787279777f503efdc17dbb1274d
Signed-off-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
M src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
M src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
2 files changed, 51 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/69387/1
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
index 00875fb..a3aba3a 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig
@@ -6,6 +6,7 @@
select DRIVER_INTEL_I210
select SOC_INTEL_COMMON_BLOCK_LPC_COMB_ENABLE
select EHL_TSN_DRIVER
+ select DRIVERS_PHY_M88E1512
config FMDFILE
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/mc_ehl.fmd"
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
index 4109ec9..492122a 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/devicetree.cb
@@ -161,12 +161,39 @@
device pci 1c.6 on end # RP7 (pcie3 multi VC)
device pci 1d.0 off end # Intel PSE IPC (local host to PSE)
- device pci 1d.1 on end # Intel PSE Time-Sensitive Networking GbE 0
- device pci 1d.2 on end # Intel PSE Time-Sensitive Networking GbE 1
+ device pci 1d.1 on # Intel PSE Time-Sensitive Networking GbE 0
+ # Enable external Marvell PHY 88E1512
+ chip drivers/phy/m88e1512
+ register "led_customize" = "1"
+ # LED[0]: On - 1000 Mbps Link, Off - Else
+ # LED[1]: On - Link, Blink - Activity, Off - No Link
+ register "led_ctrl" = "0x17"
+ device pnp 0.0 on end # PHY address
+ end
+ end
+ device pci 1d.2 on # Intel PSE Time-Sensitive Networking GbE 1
+ # Enable external Marvell PHY 88E1512
+ chip drivers/phy/m88e1512
+ register "led_customize" = "1"
+ # LED[0]: On - 1000 Mbps Link, Off - Else
+ # LED[1]: On - Link, Blink - Activity, Off - No Link
+ register "led_ctrl" = "0x17"
+ device pnp 0.1 on end # PHY address
+ end
+ end
device pci 1e.0 on end # UART0
device pci 1e.1 on end # UART1
- device pci 1e.4 on end # PCH Time-Sensitive Networking GbE
+ device pci 1e.4 on # PCH Time-Sensitive Networking GbE
+ # Enable external Marvell PHY 88E1512
+ chip drivers/phy/m88e1512
+ register "led_customize" = "1"
+ # LED[0]: On - 1000 Mbps Link, Off - Else
+ # LED[1]: On - Link, Blink - Activity, Off - No Link
+ register "led_ctrl" = "0x17"
+ device pnp 1.1 on end # PHY address
+ end
+ end
device pci 1f.0 on # eSPI Interface
chip drivers/pc80/tpm
--
To view, visit https://review.coreboot.org/c/coreboot/+/69387
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I51d817bc720bf787279777f503efdc17dbb1274d
Gerrit-Change-Number: 69387
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-MessageType: newchange
Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69384 )
Change subject: drivers/phy/m88e1512: Add new driver for Marvell PHY 88E1512
......................................................................
drivers/phy/m88e1512: Add new driver for Marvell PHY 88E1512
This driver enables the usage of an external Marvell PHY 88E1512 which
should be connected to a SOC internal MAC controller. In a first step it
is only the framework of the driver. Functionality will follow with a
second patch.
Change-Id: I24011860caa7bb206770f9779eb34b689293db10
Signed-off-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
A src/drivers/phy/m88e1512/Kconfig
A src/drivers/phy/m88e1512/Makefile.inc
A src/drivers/phy/m88e1512/m88e1512.c
3 files changed, 44 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/69384/1
diff --git a/src/drivers/phy/m88e1512/Kconfig b/src/drivers/phy/m88e1512/Kconfig
new file mode 100644
index 0000000..8e9a2d9
--- /dev/null
+++ b/src/drivers/phy/m88e1512/Kconfig
@@ -0,0 +1,5 @@
+config DRIVERS_PHY_M88E1512
+ bool
+ default n
+ help
+ Enable support for external Marvell PHY chip 88E1512.
diff --git a/src/drivers/phy/m88e1512/Makefile.inc b/src/drivers/phy/m88e1512/Makefile.inc
new file mode 100644
index 0000000..0d38051
--- /dev/null
+++ b/src/drivers/phy/m88e1512/Makefile.inc
@@ -0,0 +1 @@
+ramstage-$(CONFIG_DRIVERS_PHY_M88E1512) += m88e1512.c
diff --git a/src/drivers/phy/m88e1512/m88e1512.c b/src/drivers/phy/m88e1512/m88e1512.c
new file mode 100644
index 0000000..7da0651
--- /dev/null
+++ b/src/drivers/phy/m88e1512/m88e1512.c
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/device.h>
+
+static void m88e1512_init(struct device *dev)
+{
+}
+
+static struct device_operations m88e1512_ops = {
+ .read_resources = noop_read_resources,
+ .set_resources = noop_set_resources,
+ .init = m88e1512_init,
+};
+
+static void m88e1512_enable(struct device *dev)
+{
+ dev->ops = &m88e1512_ops;
+}
+
+struct chip_operations drivers_phy_m88e1512_ops = {
+ CHIP_NAME("88E1512")
+ .enable_dev = m88e1512_enable
+};
--
To view, visit https://review.coreboot.org/c/coreboot/+/69384
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I24011860caa7bb206770f9779eb34b689293db10
Gerrit-Change-Number: 69384
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-MessageType: newchange