summaryrefslogtreecommitdiff
path: root/config/seabios/default
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-05 07:14:38 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 07:14:38 +0100
commitd35cbcb3e4949aa6a5747708f54925b23d2fc4b0 (patch)
treec9ad336aacbc25e40fb040794a2bbae40c20da49 /config/seabios/default
parent4fda30c9602b6d092a9e7cf58a0c36d1c6248a35 (diff)
GRUB: Mark E820 reserved on coreboot memory
See, coreboot bug report: https://ticket.coreboot.org/issues/590 We hadn't noticed this for quite a while, since we always just booted with iomem=relaxed when needing to run cbmem, since in practise it was always combined with other tasks that require access to lower memory. GRUB currently matches coreboot's own mmap for cbmem, but for example SeaBIOS marks cbmem as E820 reserved. Therefore, this change replicates the SeaBIOS behaviour. Without this patch, Linux needs to boot with iomem=relaxed for cbmem access, for example when running ./cbmem -1 With this patch, cbmem is now accessible regardless. This patch also prevents Linux from overwriting parts of CBMEM. Thanks go to Paul Menzel, who wrote this GRUB patch. Thanks also go to Nicholas Chin, who provided testing, all the way from Coreboot 25.03 back to Coreboot 4.20. It seems that this is just something the payloads have to handle. This means that both SeaBIOS and GRUB no longer have this bug, in Libreboot; now what remains is to replicate the test with our U-Boot payload. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/seabios/default')
0 files changed, 0 insertions, 0 deletions