Skip to contentSkip to conversation

Revert "configs: JH7110: enable EFI_LOADER_BOUNCE_BUFFER"

PATCH In review E Shattow 2 participants 2 messages Dec 16, 2024 – Dec 19, 2024

lore
Share & tools
lore

E Shattow

author
#0 lore raw

PATCH 1/1 Revert "configs: JH7110: enable EFI_LOADER_BOUNCE_BUFFER"

("Enable EFI_LOADER_BOUNCE_BUFFER") is not the correct fix for the problem it describes.

The change of memory addressing leading to side-effects in commit 22f2c9ed9f53 ("efi: memory: use the lmb API's for allocating and freeing memory") is remedied by commit 1a48b0be93d4 ("lmb: prohibit allocations above ram_top even from same bank").

This reverts commit 9c792ab336f7146e8d49bca6d9d093d2392ded5d.

---
 configs/starfive_visionfive2_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/starfive_visionfive2_defconfig +0 -1
index 20f89ae6796..1c70d1d4b70 100644
@@ -32,7 +32,6 @@ CONFIG_CMODEL_MEDANY=y
 CONFIG_RISCV_SMODE=y
 # CONFIG_OF_BOARD_FIXUP is not set
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
 CONFIG_FIT=y
 CONFIG_BOOTSTD_DEFAULTS=y
 CONFIG_BOOTSTAGE=y

base-commit: 50334151c02077f16613b0a082d95640800ba60e

Signature · 1 line
2.45.2
#1 lore raw
Quoted 9 lines · E Shattow

("Enable EFI_LOADER_BOUNCE_BUFFER") is not the correct fix for the problem it describes.

The change of memory addressing leading to side-effects in commit 22f2c9ed9f53 ("efi: memory: use the lmb API's for allocating and freeing memory") is remedied by commit 1a48b0be93d4 ("lmb: prohibit allocations above ram_top even from same bank").

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom