Attention is currently required from: Marx Wang, Gaggery Tsai, Nico Huber, Angel Pons, Kane Chen.

Marx Wang uploaded patch set #19 to this change.

View Change

soc/intel/apollolake: Provide the option to mitigate Row Hammer
vulnerability

We can enable 2x refresh rate and low watermark in order to
mitigate Row Hammer vulnerability for the boards with specific
DRAMs. To enable it, we can add "enable_row_hammer_mitigation"
attribute in board's lpddr4 memory config.
for example:

static const struct lpddr4_sku cbi_skus[] = {
/* Dual Channel Config 4GiB System Capacity */
.............
................................
/* Dual Channel Config 8GiB System Capacity */
[1] = {
.speed = LP4_SPEED_2400,
.ch0_rank_density = LP4_16Gb_DENSITY,
.ch1_rank_density = LP4_16Gb_DENSITY,
.enable_row_hammer_mitigation = 1,
},

CQ-DEPEND=chrome-internal:3456385
BUG=b:152151369
TEST=add "enable_row_hammer_mitigation=1" attribute for specific DRAMs,
build the image and run "suspend_stress_test" with memory check for
2500 cycles.

Signed-off-by: Marx Wang <marx.wang@intel.com>
Change-Id: I0235fc7906626f28f14367c283433e5b066cc89a
---
M src/soc/intel/apollolake/include/soc/meminit.h
M src/soc/intel/apollolake/meminit.c
M src/vendorcode/intel/fsp/fsp2_0/glk/FspmUpd.h
3 files changed, 34 insertions(+), 10 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/48510/19

To view, visit change 48510. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0235fc7906626f28f14367c283433e5b066cc89a
Gerrit-Change-Number: 48510
Gerrit-PatchSet: 19
Gerrit-Owner: Marx Wang <marx.wang@intel.com>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Gaggery Tsai <gaggery.tsai@intel.com>
Gerrit-Reviewer: Kane Chen <kane.chen@intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Kane Chen <kane.chen@intel.corp-partner.google.com>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Patrick Georgi <pgeorgi@google.com>
Gerrit-Attention: Marx Wang <marx.wang@intel.com>
Gerrit-Attention: Gaggery Tsai <gaggery.tsai@intel.com>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Kane Chen <kane.chen@intel.com>
Gerrit-MessageType: newpatchset