Elyes HAOUAS has posted comments on this change. ( https://review.coreboot.org/29638 )
Change subject: SMBIOS: Remove duplicated smbios_memory_type enum
......................................................................
Patch Set 2:
> (2 comments)
>
> Why not "SMBIOS: Update to version 3.2.0"? Then you can add any
> other modification related to this version on the same commit.
>
SMBIOS-3 needs 64-bit Entry Point.
I'll try to upgrade to 3.2.0 in a separate commit.
--
To view, visit https://review.coreboot.org/29638
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e
Gerrit-Change-Number: 29638
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 14 Nov 2018 18:56:23 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/29638 )
Change subject: SMBIOS: Remove duplicated smbios_memory_type enum
......................................................................
Patch Set 2: Code-Review+1
(2 comments)
Some people would say this should be 2 separate commits, or have a title that clearly indicate both things.
Why not "SMBIOS: Update to version 3.2.0"? Then you can add any other modification related to this version on the same commit.
Over all looks good, but unless you break it in 2 commits or change the title to something that involves both actions (and possibly more), someone else will have to approve.
https://review.coreboot.org/#/c/29638/2//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/29638/2//COMMIT_MSG@9
PS2, Line 9: memory_speed
> "memory speed" is the name done by SMBIOS version 3.2.0 […]
Ok
https://review.coreboot.org/#/c/29638/2/src/include/smbios.h
File src/include/smbios.h:
https://review.coreboot.org/#/c/29638/2/src/include/smbios.h@a122
PS2, Line 122:
:
:
:
:
:
> Please see line #140 (new file)
OK, I see.
--
To view, visit https://review.coreboot.org/29638
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e
Gerrit-Change-Number: 29638
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 14 Nov 2018 18:49:03 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
Elyes HAOUAS has posted comments on this change. ( https://review.coreboot.org/29638 )
Change subject: SMBIOS: Remove duplicated smbios_memory_type enum
......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/#/c/29638/2//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/29638/2//COMMIT_MSG@9
PS2, Line 9: memory_speed
> I would prefer mem_clock_frequency or mem_clk_freq. […]
"memory speed" is the name done by SMBIOS version 3.2.0
( https://www.dmtf.org/standards/smbios Document Identifier: DSP0134)
Please see page #99:
"Memory speed is expressed in megatransfers per second (MT/s). Previous revisions (3.0.0 and earlier) of
this specification used MHz to indicate clock speed. With double data rate memory, clock speed is distinct
from transfer rate, since data is transferred on both the rising and the falling edges of the clock signal.
This maintains backward compatibility with observed DDR implementations prior to this revision, which
already reported transfer rate instead of clock speed, e.g., DDR4-2133 (PC4-17000) memory was
reported as 2133 instead of 1066."
https://review.coreboot.org/#/c/29638/2/src/include/smbios.h
File src/include/smbios.h:
https://review.coreboot.org/#/c/29638/2/src/include/smbios.h@a122
PS2, Line 122:
:
:
:
:
:
> These memory types are not present at smbios_memory_type enum. They need to go there (renamed).
Please see line #140 (new file)
--
To view, visit https://review.coreboot.org/29638
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e
Gerrit-Change-Number: 29638
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 14 Nov 2018 18:10:16 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/29638 )
Change subject: SMBIOS: Remove duplicated smbios_memory_type enum
......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/#/c/29638/2//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/29638/2//COMMIT_MSG@9
PS2, Line 9: memory_speed
I would prefer mem_clock_frequency or mem_clk_freq. Something that clearly says memory clock frequency. clock_frequency would be acceptable too. Unless this defines transfer rate instead of clock (DDR has 2 transfers per clock cycle for example). Only then would memory_speed be acceptable.
https://review.coreboot.org/#/c/29638/2/src/include/smbios.h
File src/include/smbios.h:
https://review.coreboot.org/#/c/29638/2/src/include/smbios.h@a122
PS2, Line 122:
:
:
:
:
:
These memory types are not present at smbios_memory_type enum. They need to go there (renamed).
--
To view, visit https://review.coreboot.org/29638
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e
Gerrit-Change-Number: 29638
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 14 Nov 2018 17:58:26 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello build bot (Jenkins), Daniel Kurtz, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/29406
to look at the new patch set (#5).
Change subject: soc/amd/stoneyridge: Add DRAM check for s3
......................................................................
soc/amd/stoneyridge: Add DRAM check for s3
Allocate cbmem space to store DRAM check data during S3. Verify the
the data is unchanged during the resume. Due to where the save and
verify steps are placed, the test cannot capture 100% of potential
memory corruption causes in coreboot.
The ranges to verify are determined by the coreboot tables that are
constructed at the end of POST. If a failure occurs within RAM available
to the OS, the test reports "ERROR" to force suspend_stress_test to
stop. Otherwise, the mismatch is reported as "FYI", e.g. in memory
owned by coreboot.
CAUTION: This test must not be deployed in a shipping system. It
disables TSEG, and its protections, in order to allow the
performance to be at an acceptable level.
TODO: Add the capability of checking DRAM above 4GB.
TEST=Suspend/resume grunt. Verify mismatch with induced error.
BUG=b:118157730
Change-Id: I375dd7ea9a3ab8992f1616126bcbd9724e4fc9a0
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
---
M src/soc/amd/common/block/pi/amd_resume_final.c
M src/soc/amd/stoneyridge/Kconfig
M src/soc/amd/stoneyridge/Makefile.inc
M src/soc/amd/stoneyridge/finalize.c
M src/soc/amd/stoneyridge/include/soc/iomap.h
A src/soc/amd/stoneyridge/include/soc/s3test_util.h
A src/soc/amd/stoneyridge/s3test_util.c
M src/soc/amd/stoneyridge/smihandler.c
8 files changed, 433 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/29406/5
--
To view, visit https://review.coreboot.org/29406
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I375dd7ea9a3ab8992f1616126bcbd9724e4fc9a0
Gerrit-Change-Number: 29406
Gerrit-PatchSet: 5
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Daniel Kurtz <djkurtz(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello Richard Spiegel, build bot (Jenkins), Nico Huber,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/29638
to look at the new patch set (#2).
Change subject: SMBIOS: Remove duplicated smbios_memory_type enum
......................................................................
SMBIOS: Remove duplicated smbios_memory_type enum
Also, rename "clock_speed" to "memory_speed" as per
SMBIOS spec version 3.2.0
Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/x86/smbios.c
M src/include/memory_info.h
M src/include/smbios.h
M src/mainboard/emulation/qemu-i440fx/northbridge.c
M src/mainboard/google/cyan/spd/spd.c
M src/northbridge/amd/amdfam10/northbridge.c
M src/soc/intel/skylake/romstage/romstage_fsp20.c
7 files changed, 17 insertions(+), 41 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/29638/2
--
To view, visit https://review.coreboot.org/29638
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e
Gerrit-Change-Number: 29638
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>