Attention is currently required from: Bora Guvendik, Cliff Huang, Jamie Ryu, Paul Menzel, Zhixing Ma.
Jérémy Compostella has posted comments on this change by Jérémy Compostella. ( https://review.coreboot.org/c/coreboot/+/84564?usp=email )
Change subject: mb/intel/ptlrvp: Add Intel Panther Lake RVP as copy of google/fatcat
......................................................................
Patch Set 7:
(1 comment)
File src/mainboard/intel/ptlrvp/Kconfig:
https://review.coreboot.org/c/coreboot/+/84564/comment/659b1dcb_5c34619a?us… :
PS6, Line 3: config BOARD_INTEL_PTLRVP_COMMON
> There is no plan to support configuration blocks on Panther Lake.
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/84564?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I914f73ff06bfb801fc319b45b23d7ce4cb7a6d60
Gerrit-Change-Number: 84564
Gerrit-PatchSet: 7
Gerrit-Owner: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Zhixing Ma <zhixing.ma(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Zhixing Ma <zhixing.ma(a)intel.com>
Gerrit-Attention: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Attention: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 02:43:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Cliff Huang <cliff.huang(a)intel.com>
Comment-In-Reply-To: Jérémy Compostella <jeremy.compostella(a)intel.com>
Attention is currently required from: Bora Guvendik, Cliff Huang, Jamie Ryu, Paul Menzel, Zhixing Ma.
Jérémy Compostella has posted comments on this change by Jérémy Compostella. ( https://review.coreboot.org/c/coreboot/+/84564?usp=email )
Change subject: mb/intel/ptlrvp: Add Intel Panther Lake RVP as copy of google/fatcat
......................................................................
Patch Set 7:
(1 comment)
File src/mainboard/intel/ptlrvp/Kconfig:
https://review.coreboot.org/c/coreboot/+/84564/comment/ab6be459_e78be8c3?us… :
PS6, Line 3: config BOARD_INTEL_PTLRVP_COMMON
> Currently, we are using fsp_param.c. […]
There is no plan to support configuration blocks on Panther Lake.
--
To view, visit https://review.coreboot.org/c/coreboot/+/84564?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I914f73ff06bfb801fc319b45b23d7ce4cb7a6d60
Gerrit-Change-Number: 84564
Gerrit-PatchSet: 7
Gerrit-Owner: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Zhixing Ma <zhixing.ma(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Zhixing Ma <zhixing.ma(a)intel.com>
Gerrit-Attention: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Attention: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 02:43:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Cliff Huang <cliff.huang(a)intel.com>
Comment-In-Reply-To: Jérémy Compostella <jeremy.compostella(a)intel.com>
Attention is currently required from: Angel Pons, Bill XIE, Nicholas Chin.
Keith Hui has posted comments on this change by Keith Hui. ( https://review.coreboot.org/c/coreboot/+/85413?usp=email )
Change subject: mb/asus/p8z77-v: Attempt to correctly route PCIe lanes
......................................................................
Patch Set 7:
(2 comments)
Patchset:
PS6:
> Looks like GPIO 5 is reset by either RSMRST# (pin 101) or SLPS5# (pin 84) depending on the setting i […]
According to the SIO datasheet I could temporarily change RSTOUT2# to GP76 using config register 0x2b and manually pulse the reset lines on the PCH PCIe slots this way. (I would need this one to be OD - it has a pull up.) Am I being too ambitious?
Looks like the root cause is a disruption of PCIe clock between PCIEX1_2 and ASM1061. Sadly the only reset signal ASM1061 gets is PLTRST#, so a system_reset() is still going to be necessary.
Patchset:
PS7:
I implemented the additional logic Nicholas suggested. Let's give it a try.
--
To view, visit https://review.coreboot.org/c/coreboot/+/85413?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If41197a1f817a48c209d25fc1ae461ec97ccf16c
Gerrit-Change-Number: 85413
Gerrit-PatchSet: 7
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: Bill XIE <persmule(a)hardenedlinux.org>
Gerrit-Reviewer: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Bill XIE <persmule(a)hardenedlinux.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Comment-Date: Fri, 28 Feb 2025 02:29:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bill XIE <persmule(a)hardenedlinux.org>
Comment-In-Reply-To: Nicholas Chin <nic.c3.14(a)gmail.com>
Comment-In-Reply-To: Keith Hui <buurin(a)gmail.com>
Attention is currently required from: Angel Pons, Keith Hui.
Hello Bill XIE, Nicholas Chin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85413?usp=email
to look at the new patch set (#7).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: mb/asus/p8z77-v: Attempt to correctly route PCIe lanes
......................................................................
mb/asus/p8z77-v: Attempt to correctly route PCIe lanes
Bill Xie documented in his initial code drop that he was unsuccessful
in reproducing all the PCIe configurations possible with vendor
firmware. I obtained a boardview to this board and have identified the
PCIe lane topology and the required control signals.
There are PCIe slot presence signals wired to GPIOs 34,20,7 for
PCIEX1_1,PCIEX1_2,PCIEX16_3 respectively, the last one only sense the
presence of a PCIe x4 or larger card. PCIe lanes 1-4 are routed by way
of three ASM1440 2-way switches controlled by GP54-GP56 on NCT6779D
super I/O chip. PCIe lanes 5-8 are fixed.
With these details, it is now possible to attempt to reproduce all the
vendor PCIe configurations.
1. Change GPIO20 of PCH to GPIO input so coreboot can detect a
card inserted into PCIEX1_2.
2. Add an nvram option to force PCIe lane 4 to serve ASM1061 and its
two SATA 6Gbps ports. Another one needs to be added later to enable
users to allocate all lanes to PCIEX16_3 and make it x4.
3. Add code to bootblock to check the PCHSTRP9 soft strap and whether
(1) is true. There is a sanity check to warn of a PCIe configuration
that is not valid on this board.
4. Based on (1) and (2), program SIO GPIO5 as appropriate. Remove all
GPIO5 settings from devicetree so this code has full control.
Changing PCIEX16_3 from x1 to x4 (and vice versa) requires changing
PCHSTRP9 in the SPI flash descriptor. How coreboot can manage this
is TBD.
This is based on boardview only, and is untested because I have
no hardware.
Change-Id: If41197a1f817a48c209d25fc1ae461ec97ccf16c
Signed-off-by: Keith Hui <buurin(a)gmail.com>
---
M src/mainboard/asus/p8x7x-series/variants/p8z77-v/cmos.default
M src/mainboard/asus/p8x7x-series/variants/p8z77-v/cmos.layout
M src/mainboard/asus/p8x7x-series/variants/p8z77-v/early_init.c
M src/mainboard/asus/p8x7x-series/variants/p8z77-v/gpio.c
M src/mainboard/asus/p8x7x-series/variants/p8z77-v/overridetree.cb
5 files changed, 126 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/85413/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/85413?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If41197a1f817a48c209d25fc1ae461ec97ccf16c
Gerrit-Change-Number: 85413
Gerrit-PatchSet: 7
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: Bill XIE <persmule(a)hardenedlinux.org>
Gerrit-Reviewer: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Keith Hui <buurin(a)gmail.com>
Attention is currently required from: Hsuan-ting Chen, Julius Werner.
Yu-Ping Wu has posted comments on this change by Masa Nakura. ( https://review.coreboot.org/c/coreboot/+/86632?usp=email )
Change subject: payloads/libpayload: Add fast data types to types.h
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/86632?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie9197866ae9b6c27d3f26c11d8409ecb90321c74
Gerrit-Change-Number: 86632
Gerrit-PatchSet: 2
Gerrit-Owner: Masa Nakura <nakura(a)google.com>
Gerrit-Reviewer: Hsuan-ting Chen <roccochen(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hsuan-ting Chen <roccochen(a)google.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Comment-Date: Fri, 28 Feb 2025 02:09:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Felix Held, Julius Werner, Marshall Dawson, Maximilian Brune, Zheng Bao, ritul guru.
Bao Zheng has posted comments on this change by Bao Zheng. ( https://review.coreboot.org/c/coreboot/+/84533?usp=email )
Change subject: amdfwtool: Move ISH before PSP L2
......................................................................
Patch Set 12:
(1 comment)
File util/amdfwtool/amdfwtool.c:
https://review.coreboot.org/c/coreboot/+/84533/comment/dd7d3bf6_91238841?us… :
PS12, Line 972: if (!cb_config->combo_new_rab || ctx->combo_index == 0) {
: pspdir = new_psp_dir(ctx, cb_config->multi_level, cookie);
: ctx->pspdir = pspdir;
: if (recovery_ab)
: ctx->pspdir_bak = new_psp_dir(ctx, cb_config->multi_level, cookie);
: }
: /* The ISH tables are with PSP L1. */
: if (cb_config->need_ish && ctx->ish_a_dir == NULL) /* Need ISH */
: ctx->ish_a_dir = new_ish_dir(ctx);
: if (cb_config->need_ish && ctx->ish_b_dir == NULL) /* Need ISH */
: ctx->ish_b_dir = new_ish_dir(ctx);
> For the family older than mendocino, it uses the old combo definition. […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/84533?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Id69268619893d78d9b5330052a4fd5b501263f75
Gerrit-Change-Number: 84533
Gerrit-PatchSet: 12
Gerrit-Owner: Bao Zheng <fishbaozi(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Zheng Bao
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ritul guru <ritul.bits(a)gmail.com>
Gerrit-CC: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: ritul guru <ritul.bits(a)gmail.com>
Gerrit-Attention: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Zheng Bao
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Fri, 28 Feb 2025 02:04:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bao Zheng <fishbaozi(a)gmail.com>
Comment-In-Reply-To: Maximilian Brune <maximilian.brune(a)9elements.com>
Attention is currently required from: Hsuan-ting Chen, Yu-Ping Wu.
Hello Hsuan-ting Chen, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/86632?usp=email
to look at the new patch set (#2).
Change subject: payloads/libpayload: Add fast data types to types.h
......................................................................
payloads/libpayload: Add fast data types to types.h
libpayload stdint.h only supports typedefs for datatypes of exact
bits. This makes libpayload less flexible to support libraries
that reference different data types.
Add fast data types in types.h.
BUG=b:386913035
Change-Id: Ie9197866ae9b6c27d3f26c11d8409ecb90321c74
Signed-off-by: Masa Nakura <nakura(a)google.com>
---
M payloads/libpayload/include/arm/arch/types.h
M payloads/libpayload/include/arm64/arch/types.h
M payloads/libpayload/include/mock/arch/types.h
M payloads/libpayload/include/x86/arch/types.h
4 files changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/86632/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/86632?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie9197866ae9b6c27d3f26c11d8409ecb90321c74
Gerrit-Change-Number: 86632
Gerrit-PatchSet: 2
Gerrit-Owner: Masa Nakura <nakura(a)google.com>
Gerrit-Reviewer: Hsuan-ting Chen <roccochen(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Hsuan-ting Chen <roccochen(a)google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Masa Nakura has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/86632?usp=email )
Change subject: payloads/libpayload/include: Add fast data types to types.h
......................................................................
payloads/libpayload/include: Add fast data types to types.h
libpayload stdint.h only supports typedefs for datatypes of exact
bits. This makes libpayload less flexible to support libraries
that reference different data types.
Add fast data types in types.h.
BUG=b:386913035
Change-Id: Ie9197866ae9b6c27d3f26c11d8409ecb90321c74
Signed-off-by: Masa Nakura <nakura(a)google.com>
---
M payloads/libpayload/include/arm/arch/types.h
M payloads/libpayload/include/arm64/arch/types.h
M payloads/libpayload/include/mock/arch/types.h
M payloads/libpayload/include/x86/arch/types.h
4 files changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/86632/1
diff --git a/payloads/libpayload/include/arm/arch/types.h b/payloads/libpayload/include/arm/arch/types.h
index 3f2eeaa..43ba84e 100644
--- a/payloads/libpayload/include/arm/arch/types.h
+++ b/payloads/libpayload/include/arm/arch/types.h
@@ -30,23 +30,31 @@
#define _ARCH_TYPES_H
typedef unsigned char uint8_t;
+typedef unsigned char uint_fast8_t;
typedef unsigned char u8;
typedef signed char int8_t;
+typedef signed char int_fast8_t;
typedef signed char s8;
typedef unsigned short uint16_t;
typedef unsigned short u16;
+typedef unsigned short uint_fast16_t;
typedef signed short int16_t;
+typedef signed short int_fast16_t;
typedef signed short s16;
typedef unsigned int uint32_t;
+typedef unsigned int uint_fast32_t;
typedef unsigned int u32;
typedef signed int int32_t;
+typedef signed int int_fast32_t;
typedef signed int s32;
typedef unsigned long long uint64_t;
+typedef unsigned long long uint_fast64_t;
typedef unsigned long long u64;
typedef signed long long int64_t;
+typedef signed long long int_fast64_t;
typedef signed long long s64;
typedef long time_t;
diff --git a/payloads/libpayload/include/arm64/arch/types.h b/payloads/libpayload/include/arm64/arch/types.h
index 3f2eeaa..43ba84e 100644
--- a/payloads/libpayload/include/arm64/arch/types.h
+++ b/payloads/libpayload/include/arm64/arch/types.h
@@ -30,23 +30,31 @@
#define _ARCH_TYPES_H
typedef unsigned char uint8_t;
+typedef unsigned char uint_fast8_t;
typedef unsigned char u8;
typedef signed char int8_t;
+typedef signed char int_fast8_t;
typedef signed char s8;
typedef unsigned short uint16_t;
typedef unsigned short u16;
+typedef unsigned short uint_fast16_t;
typedef signed short int16_t;
+typedef signed short int_fast16_t;
typedef signed short s16;
typedef unsigned int uint32_t;
+typedef unsigned int uint_fast32_t;
typedef unsigned int u32;
typedef signed int int32_t;
+typedef signed int int_fast32_t;
typedef signed int s32;
typedef unsigned long long uint64_t;
+typedef unsigned long long uint_fast64_t;
typedef unsigned long long u64;
typedef signed long long int64_t;
+typedef signed long long int_fast64_t;
typedef signed long long s64;
typedef long time_t;
diff --git a/payloads/libpayload/include/mock/arch/types.h b/payloads/libpayload/include/mock/arch/types.h
index 8f090ca..63b0e86 100644
--- a/payloads/libpayload/include/mock/arch/types.h
+++ b/payloads/libpayload/include/mock/arch/types.h
@@ -4,23 +4,31 @@
#define _ARCH_TYPES_H
typedef unsigned char uint8_t;
+typedef unsigned char uint_fast8_t;
typedef unsigned char u8;
typedef signed char int8_t;
+typedef signed char int_fast8_t;
typedef signed char s8;
typedef unsigned short uint16_t;
typedef unsigned short u16;
+typedef unsigned short uint_fast16_t;
typedef signed short int16_t;
+typedef signed short int_fast16_t;
typedef signed short s16;
typedef unsigned int uint32_t;
+typedef unsigned int uint_fast32_t;
typedef unsigned int u32;
typedef signed int int32_t;
+typedef signed int int_fast32_t;
typedef signed int s32;
typedef unsigned long long uint64_t;
+typedef unsigned long long uint_fast64_t;
typedef unsigned long long u64;
typedef signed long long int64_t;
+typedef signed long long int_fast64_t;
typedef signed long long s64;
typedef long time_t;
diff --git a/payloads/libpayload/include/x86/arch/types.h b/payloads/libpayload/include/x86/arch/types.h
index 3f2eeaa..43ba84e 100644
--- a/payloads/libpayload/include/x86/arch/types.h
+++ b/payloads/libpayload/include/x86/arch/types.h
@@ -30,23 +30,31 @@
#define _ARCH_TYPES_H
typedef unsigned char uint8_t;
+typedef unsigned char uint_fast8_t;
typedef unsigned char u8;
typedef signed char int8_t;
+typedef signed char int_fast8_t;
typedef signed char s8;
typedef unsigned short uint16_t;
typedef unsigned short u16;
+typedef unsigned short uint_fast16_t;
typedef signed short int16_t;
+typedef signed short int_fast16_t;
typedef signed short s16;
typedef unsigned int uint32_t;
+typedef unsigned int uint_fast32_t;
typedef unsigned int u32;
typedef signed int int32_t;
+typedef signed int int_fast32_t;
typedef signed int s32;
typedef unsigned long long uint64_t;
+typedef unsigned long long uint_fast64_t;
typedef unsigned long long u64;
typedef signed long long int64_t;
+typedef signed long long int_fast64_t;
typedef signed long long s64;
typedef long time_t;
--
To view, visit https://review.coreboot.org/c/coreboot/+/86632?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie9197866ae9b6c27d3f26c11d8409ecb90321c74
Gerrit-Change-Number: 86632
Gerrit-PatchSet: 1
Gerrit-Owner: Masa Nakura <nakura(a)google.com>