Attention is currently required from: Elyes Haouas, Felix Singer, Jérémy Compostella, Vasiliy Khoruzhick, yuchi.chen(a)intel.com.
Shuo Liu has posted comments on this change by yuchi.chen(a)intel.com. ( https://review.coreboot.org/c/coreboot/+/83322?usp=email )
Change subject: mainboard/intel/frost_creek: Add a new CRB Frost Creek for Snow Ridge
......................................................................
Patch Set 19:
(1 comment)
File src/mainboard/intel/frost_creek/board.fmd:
https://review.coreboot.org/c/coreboot/+/83322/comment/e85023d4_b9e08dea?us… :
PS19, Line 2: BIOS@0x01400000 0x00C00000 {
> can you define the first 20M as a place holder (e.g. […]
should be okay as is, close the open here.
--
To view, visit https://review.coreboot.org/c/coreboot/+/83322?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: If3b387a6a4a567415aef21e520056c23b8cfa013
Gerrit-Change-Number: 83322
Gerrit-PatchSet: 19
Gerrit-Owner: yuchi.chen(a)intel.com
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Vasiliy Khoruzhick <vasilykh(a)arista.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: yuchi.chen(a)intel.com
Gerrit-Attention: Vasiliy Khoruzhick <vasilykh(a)arista.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Fri, 30 Aug 2024 12:04:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Shuo Liu <shuo.liu(a)intel.com>
Attention is currently required from: Jérémy Compostella, Kapil Porwal, Pranava Y N, Saurabh Mishra.
Subrata Banik has posted comments on this change by Saurabh Mishra. ( https://review.coreboot.org/c/coreboot/+/83798?usp=email )
Change subject: soc/intel/ptl: Do initial Panther Lake SoC commit till ramstage
......................................................................
Patch Set 65:
(13 comments)
File src/soc/intel/pantherlake/acpi.c:
https://review.coreboot.org/c/coreboot/+/83798/comment/691cbf3e_d98834f9?us… :
PS50, Line 138: map
> If the configuration is static, we can use below code.
>
> const acpi_cstate_t *soc_get_cstate_map(size_t *entries)
> {
> static acpi_cstate_t map[MAX(ARRAY_SIZE(cstate_set_s0ix),
> ARRAY_SIZE(cstate_set_non_s0ix))];
> static int initialized = 0; /* Flag to check if map has been initialized */
> size_t i;
>
> if (!initialized) {
> config_t *config = config_of_soc();
> if (config == NULL) {
> printk(BIOS_ERR, "Error: Configuration could not be retrieved.\n");
> return NULL;
> }
>
> int *set;
> if (config->s0ix_enable) {
> *entries = ARRAY_SIZE(cstate_set_s0ix);
> set = cstate_set_s0ix;
> } else {
> *entries = ARRAY_SIZE(cstate_set_non_s0ix);
> set = cstate_set_non_s0ix;
> }
>
> for (i = 0; i < *entries; i++) {
> map[i] = cstate_map[set[i]];
> map[i].ctype = i + 1;
> }
>
> initialized = 1; /* Set the flag to indicate initialization is done */
> }
>
> return map;
> }
>
> Let me know, if that's the ask?
why would this function get called more than one?
```
c_state_map = soc_get_cstate_map(&entries);
```
the data type is static, ideally we should return this function if called more than once. but that is a kind of safety method. I don't see any reason for this function required to be protected against multiple call.
File src/soc/intel/pantherlake/acpi.c:
https://review.coreboot.org/c/coreboot/+/83798/comment/f0f3a517_63312c3a?us… :
PS55, Line 238: PCI_DEVFN_IGD
> In the case when igpu is disabled using fatcat variant device tree, this will gaurd the inclusion of DMAR.
As this is a client product, I am curious as to what someone would build if they are disabling the IGD. This is why I am asking if checking if the IGD is enabled or not seems redundant if the PTL SOC chipset.cb itself makes this internal GFX enabled.
https://review.coreboot.org/c/coreboot/+/83798/comment/49ebcd85_99b7b869?us… :
PS55, Line 247: (is_devfn_enabled(PCI_DEVFN_DPTF) ||
: is_devfn_enabled(PCI_DEVFN_IPU) ||
: is_devfn_enabled(PCI_DEVFN_NPU) ||
: is_devfn_enabled(PCI_DEVFN_IAA))
> Hi Subrata, this check is introduced to check if none of the IPs (i.e., DPTF, IPU, NPU, IAA) are enabled, then it should not create the drhd table for nongfxvt.
what you think about this suggestion
```
bool is_ipu_enabled = is_devfn_enabled(PCI_DEVFN_IPU);
bool is_dptf_enabled = is_devfn_enabled(PCI_DEVFN_DPTF);
bool is_npu_enabled = is_devfn_enabled(PCI_DEVFN_NPU);
bool is_iaa_enabled = is_devfn_enabled(PCI_DEVFN_IAA);
if ((is_ipu_enabled || is_dptf_enabled || is_npu_enabled || is_iaa_enabled) &&
(vtd_engine_enabled & NONGFXVT_ENABLED)) {
const unsigned long tmp = current;
current += acpi_create_dmar_drhd(current, 0, 0, (uint64_t)VTVC0_BASE_ADDRESS, VTVC0_BASE_SIZE);
if (is_ipu_enabled)
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IPU, 0);
if (is_dptf_enabled)
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_DPTF, 0);
if (is_npu_enabled)
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_NPU, 0);
if (is_iaa_enabled)
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IAA, 0);
acpi_dmar_drhd_fixup(tmp, current);
}
```
https://review.coreboot.org/c/coreboot/+/83798/comment/b2bd0a28_4605427c?us… :
PS55, Line 330: 0x7
> As per PTL FAS, which refers to LNL FAS #733648, section 11.5 […]
Acknowledged
File src/soc/intel/pantherlake/chip.h:
https://review.coreboot.org/c/coreboot/+/83798/comment/352166db_ad5e2c6d?us… :
PS65, Line 339: bool enable_c6dram;
I don't see any usage.please drop
https://review.coreboot.org/c/coreboot/+/83798/comment/24d621dc_71b0ad8f?us… :
PS65, Line 340: bool pm_timer_disabled;
same
File src/soc/intel/pantherlake/chip.h:
https://review.coreboot.org/c/coreboot/+/83798/comment/03c9deca_d3f4dfa0?us… :
PS55, Line 47: PTL_H_484_12_25W_CORE
> Looks good to me.
> Hi Subrata, please advise?
I agree
File src/soc/intel/pantherlake/cpu.c:
https://review.coreboot.org/c/coreboot/+/83798/comment/4bf0d3f3_2dace154?us… :
PS50, Line 143: disable_three_strike_error
> Thank you, i have gone through the bug, corrected in MTL EDS. "Ideally 3-strike disable bit 11 should never have been placed in MSR 0x1A4 which is used for disabling prefetchers." is correct.
> In PTL EDS, we see the 1ab bit 0 as (DISABLE_SIGNALING_THREE_STRIKE_EVENT) which prevents the signaling of the three-strike event once the counter has expired.
>
> The function, "disable_signaling_three_strike_event" should be the corrected one to be used.
> I am currently validating the read MSR status using iotools of 0x1ab, while using "disable_signaling_three_strike_event"
> I will update soon on this.
I thought you said previously `disable_signaling_three_strike_event` is the correct API to call for PTL?
File src/soc/intel/pantherlake/cpu.c:
https://review.coreboot.org/c/coreboot/+/83798/comment/725a52d1_d6bc6a72?us… :
PS65, Line 59: BIT(0)
FAST_STRINGS_ENABLE_BIT
https://review.coreboot.org/c/coreboot/+/83798/comment/2cd4b86f_8acec68f?us… :
PS65, Line 60: BIT(3)
can u please implement a macro for the required bit-field under the MSR definition ?
for example
```
#define IA32_MISC_ENABLE 0x1a0
#define FAST_STRINGS_ENABLE_BIT (1 << 0)
#define TM1_TM2_EMTTM_ENABLE_BIT (1 << 3)
#define SPEED_STEP_ENABLE_BIT (1 << 16)
```
https://review.coreboot.org/c/coreboot/+/83798/comment/0f8fbbae_e8718783?us… :
PS65, Line 72: = BIT(4);
same applies here
https://review.coreboot.org/c/coreboot/+/83798/comment/10b7cc37_b068df81?us… :
PS65, Line 78: msr.lo |= BIT(0); /* Enable Bi-directional PROCHOT as an input*/
: msr.lo |= BIT(23); /* Lock it */
: msr.lo |= BIT(18); /* Power Performance Platform Override */
same
File src/soc/intel/pantherlake/include/soc/systemagent.h:
https://review.coreboot.org/c/coreboot/+/83798/comment/c9a41276_e24535cf?us… :
PS65, Line 32: #define GFXVT_ENABLED BIT(0)
: #define NONGFXVT_ENABLED BIT(1)
: #define IOCVT_ENABLED BIT(2)
if there is no consumer outside ACPI.c file then no harm to define it inside local .c file
--
To view, visit https://review.coreboot.org/c/coreboot/+/83798?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: Idc6fb11e9e84c28c7567ae2b7abc1ab832a88362
Gerrit-Change-Number: 83798
Gerrit-PatchSet: 65
Gerrit-Owner: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-CC: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-CC: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-CC: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-CC: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-CC: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-CC: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-CC: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-CC: Sanju Jose Thottan <sanjujose.thottan(a)intel.com>
Gerrit-CC: Saurabh Mishra <mishra.saurabh(a)intel.corp-partner.google.com>
Gerrit-CC: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-CC: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Fri, 30 Aug 2024 11:30:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Saurabh Mishra <mishra.saurabh(a)intel.com>
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Comment-In-Reply-To: Jérémy Compostella <jeremy.compostella(a)intel.com>
Attention is currently required from: Jérémy Compostella, Kapil Porwal, Pranava Y N, Subrata Banik.
Saurabh Mishra has posted comments on this change by Saurabh Mishra. ( https://review.coreboot.org/c/coreboot/+/83798?usp=email )
Change subject: soc/intel/ptl: Do initial Panther Lake SoC commit till ramstage
......................................................................
Patch Set 65:
(2 comments)
File src/soc/intel/pantherlake/Kconfig:
https://review.coreboot.org/c/coreboot/+/83798/comment/523494ac_d1a1e8cb?us… :
PS50, Line 69: SOC_INTEL_COMMON_BLOCK_ME_SPEC_18
> Sure.
We are working on common code change for 21.0 spec.
File src/soc/intel/pantherlake/chipset.cb:
https://review.coreboot.org/c/coreboot/+/83798/comment/b8015aa2_7336d197?us… :
PS50, Line 15:
> can you please gather `tcc_offset` value as well and keep it here ?
I am checking this data from PNP team.
--
To view, visit https://review.coreboot.org/c/coreboot/+/83798?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: Idc6fb11e9e84c28c7567ae2b7abc1ab832a88362
Gerrit-Change-Number: 83798
Gerrit-PatchSet: 65
Gerrit-Owner: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-CC: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-CC: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-CC: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-CC: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-CC: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-CC: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-CC: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-CC: Sanju Jose Thottan <sanjujose.thottan(a)intel.com>
Gerrit-CC: Saurabh Mishra <mishra.saurabh(a)intel.corp-partner.google.com>
Gerrit-CC: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-CC: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Fri, 30 Aug 2024 11:13:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Saurabh Mishra <mishra.saurabh(a)intel.com>
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Attention is currently required from: Saurabh Mishra, Subrata Banik.
Ashish Kumar Mishra has posted comments on this change by Saurabh Mishra. ( https://review.coreboot.org/c/coreboot/+/84142?usp=email )
Change subject: soc/intel/common/block/pmc: Fix compilation error with MS4V=BIT(18)
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/84142/comment/8f22f68b_bc24b0b8?us… :
PS1, Line 9: If MS4V is defined using the BIT macro such in as in BIT(18) for
: instance, it is replaced with (1ul << 18)
> > A better solution would be to add a BIT_U macro for (1u << x), instead of typecasting. […]
yes, I was suggesting adding a new 32-bit macro BIT_U() or BIT_32() and handling it's usage based on the 64-bit KConfig.
--
To view, visit https://review.coreboot.org/c/coreboot/+/84142?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: I70be1ccba59d25af2ba85a2014232072abf2f87d
Gerrit-Change-Number: 84142
Gerrit-PatchSet: 2
Gerrit-Owner: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-CC: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-CC: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-CC: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-CC: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-CC: Sanju Jose Thottan <sanjujose.thottan(a)intel.com>
Gerrit-CC: Saurabh Mishra <mishra.saurabh(a)intel.corp-partner.google.com>
Gerrit-CC: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Saurabh Mishra <mishra.saurabh(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Comment-Date: Fri, 30 Aug 2024 11:01:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Saurabh Mishra <mishra.saurabh(a)intel.com>
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>