Hello build bot (Jenkins), Nico Huber, Paul Menzel, Angel Pons, Arthur Heymans, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/18548
to look at the new patch set (#35).
Change subject: nb/intel/i945: Program CxODT value for each channel
......................................................................
nb/intel/i945: Program CxODT value for each channel
There is no reason to program both C0ODT and C1ODT with the same value
when channel 0 and 1 are not equally populated.
Change-Id: I7aec35f45250da554ddc5a68f5add157c313399c
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/northbridge/intel/i945/raminit.c
1 file changed, 14 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/18548/35
--
To view, visit https://review.coreboot.org/c/coreboot/+/18548
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7aec35f45250da554ddc5a68f5add157c313399c
Gerrit-Change-Number: 18548
Gerrit-PatchSet: 35
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-MessageType: newpatchset
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/18548 )
Change subject: nb/intel/i945: Program CxODT value for each channel
......................................................................
Patch Set 34:
(4 comments)
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
File src/northbridge/intel/i945/raminit.c:
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2435: u8 populated_dimms = 0;
> As this is only used in two cases, in my opinion the explicit use of `sysinfo-dimm[i]` in each if co […]
Ack
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2437: populated_dimms :
> Remove the space before the colon.
Ack
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2450: one
> Although mathematicians know, that implicitly *at least* is assumed, make it clear, that at least on […]
here we are not looking for *at least* but *only one*
http://nowni.tistory.com/attachment/4900606d18872AU.pdf
- Case Single module per channel ->
150 ohms (can be 75ohms if DDR2-400/533MHz, or 50ohms for 667/800MHz ?)
- Case 2 memory modules per channel -->
75 ohms if DDR2-400/533MHz
50 ohms if DDR2-667/800MHz
(populated_dimms & 3) == 1 != (populated_dimms & 3) == 0 != (populated_dimms & 3) == 2) ...
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2457: populated_dimms = populated_dimms >> 2;
> I wouldn’t rewrite the variable here, and change it’s meaning. […]
Ack
--
To view, visit https://review.coreboot.org/c/coreboot/+/18548
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7aec35f45250da554ddc5a68f5add157c313399c
Gerrit-Change-Number: 18548
Gerrit-PatchSet: 34
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Mon, 16 Mar 2020 05:49:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: comment
Aamir Bohra has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39400 )
Change subject: mb/intel/jasperlake_rvp: add JSLRVP DDR4 variant
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39400/1/src/mainboard/intel/jasper…
File src/mainboard/intel/jasperlake_rvp/Kconfig:
https://review.coreboot.org/c/coreboot/+/39400/1/src/mainboard/intel/jasper…
PS1, Line 1: BOARD_INTEL_JASPERLAKE_RVP_DDR4
can we do it based on board_id read?
would save an extra variant.
--
To view, visit https://review.coreboot.org/c/coreboot/+/39400
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id96d25fc13a4e6e2b6a58615e7ef58dd3c118089
Gerrit-Change-Number: 39400
Gerrit-PatchSet: 1
Gerrit-Owner: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: Varshit B Pandya <varshit.b.pandya(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 16 Mar 2020 03:34:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Aamir Bohra has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39401 )
Change subject: soc/intel/tigerlake:add support to read spd data from SMBUS
......................................................................
Patch Set 1:
(3 comments)
https://review.coreboot.org/c/coreboot/+/39401/1/src/soc/intel/tigerlake/me…
File src/soc/intel/tigerlake/meminit_jsl.c:
https://review.coreboot.org/c/coreboot/+/39401/1/src/soc/intel/tigerlake/me…
PS1, Line 50: memset(&mem_cfg->SpdAddressTable, 0, sizeof(mem_cfg->SpdAddressTable));
two instances not needed, we can keep it as original place, the sbmus would re-initialize it anyway.
https://review.coreboot.org/c/coreboot/+/39401/1/src/soc/intel/tigerlake/me…
PS1, Line 120: spd_data_ptr
this is not getting initialized now, meminit_channels would set the invalid values for MemorySpdPtrXX for non SMBUS case.
https://review.coreboot.org/c/coreboot/+/39401/1/src/soc/intel/tigerlake/me…
PS1, Line 122: get_spd_data
We can handle the SMBUS case here instead of changing the func to accommodate SMBUS, get_spd_data, should be limited to non SMBUS case, since for SMBUS it is read dynamically:
something like this:
if (spd_info->read_type != READ_SPD_CBFS) {
get_spd_data(spd_info, &spd_data_ptr, &spd_data_len);
print_spd_info((unsigned char *)spd_data_ptr);
mem_cfg->MemorySpdDataLen = spd_data_len;
} else {
for (int i = 0; i < NUM_DIMM_SLOT; i++)
mem_cfg->SpdAddressTable[i]= spd_info->spd_spec.spd_smbus_address[i];
spd_data_ptr = 0;
}
meminit_channels(mem_cfg, board_cfg, spd_data_ptr, half_populated);
--
To view, visit https://review.coreboot.org/c/coreboot/+/39401
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I94f8707c731c8afa1106e387a246c000bd53a654
Gerrit-Change-Number: 39401
Gerrit-PatchSet: 1
Gerrit-Owner: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(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: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: Varshit B Pandya <varshit.b.pandya(a)intel.com>
Gerrit-Comment-Date: Mon, 16 Mar 2020 03:33:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/18548 )
Change subject: nb/intel/i945: Program CxODT value for each channel
......................................................................
Patch Set 34:
(4 comments)
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
File src/northbridge/intel/i945/raminit.c:
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2435: u8 populated_dimms = 0;
As this is only used in two cases, in my opinion the explicit use of `sysinfo-dimm[i]` in each if condition is still justified.
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2437: populated_dimms :
Remove the space before the colon.
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2450: one
Although mathematicians know, that implicitly *at least* is assumed, make it clear, that at least one DIMM is there.
> C00DT: Channel 0 has at least one DIMM.
or change the condition to
(populated_dimms & 3) == 1 != (populated_dimms & 3) == 2)
Maybe elaborate:
C0ODT: Channel 0 has %i DIMM(s).\n
https://review.coreboot.org/c/coreboot/+/18548/34/src/northbridge/intel/i94…
PS34, Line 2457: populated_dimms = populated_dimms >> 2;
I wouldn’t rewrite the variable here, and change it’s meaning. Just change the mask in the if condition.
--
To view, visit https://review.coreboot.org/c/coreboot/+/18548
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7aec35f45250da554ddc5a68f5add157c313399c
Gerrit-Change-Number: 18548
Gerrit-PatchSet: 34
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Sun, 15 Mar 2020 21:46:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39538 )
Change subject: soc/intel/skylake: Configure ASPM and L1 substates for PCH root ports
......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39538/6/src/soc/intel/skylake/chip…
File src/soc/intel/skylake/chip.c:
https://review.coreboot.org/c/coreboot/+/39538/6/src/soc/intel/skylake/chip…
PS6, Line 221: PcieRpAspm
> This disabled ASPM on both my root ports. […]
Yes, you probably want something like the L1 substate thing
--
To view, visit https://review.coreboot.org/c/coreboot/+/39538
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I36150858485715016158595c832c142b0582ddb8
Gerrit-Change-Number: 39538
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sun, 15 Mar 2020 21:42:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-MessageType: comment
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39538 )
Change subject: soc/intel/skylake: Configure ASPM and L1 substates for PCH root ports
......................................................................
Patch Set 6:
(5 comments)
https://review.coreboot.org/c/coreboot/+/39538/6//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/39538/6//COMMIT_MSG@9
PS6, Line 9: Port of CB:39412 for Skylake.
Port commit 84b4882b (soc/intel/tigerlake: Configure L1Substates for PCH Root ports), CB:39412) to Skylake.
https://review.coreboot.org/c/coreboot/+/39538/6//COMMIT_MSG@10
PS6, Line 10: to devicetree to allow boards to set these options
Please add a dot/period at the end of sentences please.
https://review.coreboot.org/c/coreboot/+/39538/6//COMMIT_MSG@12
PS6, Line 12: Chip config parameter PcieRpL1Substates uses (UPD value + 1)
: because UPD value of 0 for PcieRpL1Substates means disabled for FSP.
: In order to ensure that mainboard setting does not disable L1 substates
: incorrectly, chip config parameter values are offset by 1 with 0 meaning
: use FSP UPD default.
Please re-flow for 72 characters.
https://review.coreboot.org/c/coreboot/+/39538/6/src/soc/intel/skylake/chip…
File src/soc/intel/skylake/chip.c:
https://review.coreboot.org/c/coreboot/+/39538/6/src/soc/intel/skylake/chip…
PS6, Line 135: * Chip config parameter PcieRpL1Substates uses (UPD value + 1)
: * because UPD value of 0 for PcieRpL1Substates means disabled for FSP.
: * In order to ensure that mainboard setting does not disable L1 substates
: * incorrectly, chip config parameter values are offset by 1 with 0 meaning
: * use FSP UPD default. get_l1_substate_control() ensures that the right UPD
: * value is set in fsp_params.
Please re-flow for 96 characters.
https://review.coreboot.org/c/coreboot/+/39538/6/src/soc/intel/skylake/chip…
PS6, Line 224: get_l1_substate_control(config->PcieRpL1Substates[i]);
Why not combine both loops?
--
To view, visit https://review.coreboot.org/c/coreboot/+/39538
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I36150858485715016158595c832c142b0582ddb8
Gerrit-Change-Number: 39538
Gerrit-PatchSet: 6
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sun, 15 Mar 2020 21:30:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment