Hello Patrick Georgi, Martin Roth, Julius Werner,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42890
to look at the new patch set (#2).
Change subject: WIP: Hash RAM contents on S3 entry and verify on S3 resume ......................................................................
WIP: Hash RAM contents on S3 entry and verify on S3 resume
I used murmur3 since it's supposed to be fast. Though I don't think the license is really compatible.
The ram_hash code still needs some refactoring to reduce duplication and to add the ability to handle unaligned blocks.
BUG=b:159081993 TEST=Boot trembyle and see no verification failures.
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: I6b38facba17bdd57a94987cfb49e71067ff8b769 --- M Makefile.inc M src/arch/x86/acpi_s3.c A src/include/murmur3.h A src/include/ram_hash.h M src/lib/Makefile.inc A src/lib/murmur3.c A src/lib/ram_hash.c M src/soc/amd/picasso/chip.c M src/soc/amd/picasso/memlayout.ld M src/soc/amd/picasso/page_map.txt M src/soc/amd/picasso/smihandler.c 11 files changed, 597 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/42890/2