Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47160 )
Change subject: [RFC]security/memory/memory_clear: Skip IORESOURCE_RESERVE resources ......................................................................
[RFC]security/memory/memory_clear: Skip IORESOURCE_RESERVE resources
This would skip attempting to clear regions like TSEG, GTT, IGD, ...
Change-Id: I2ac9d53f2c405100d21720ec0fcd1b498a028416 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/security/memory/memory_clear.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/47160/1
diff --git a/src/security/memory/memory_clear.c b/src/security/memory/memory_clear.c index 557125d..411af73 100644 --- a/src/security/memory/memory_clear.c +++ b/src/security/memory/memory_clear.c @@ -67,7 +67,7 @@
memranges_init(&mem, IORESOURCE_MEM | IORESOURCE_FIXED | IORESOURCE_STORED | IORESOURCE_ASSIGNED | - IORESOURCE_CACHEABLE, + IORESOURCE_CACHEABLE | IORESOURCE_RESERVE, IORESOURCE_MEM | IORESOURCE_FIXED | IORESOURCE_STORED | IORESOURCE_ASSIGNED | IORESOURCE_CACHEABLE,