[PATCH] lmb: prohibit allocations above ram_top even from same bank
Andreas Schwab
schwab at suse.de
Mon Dec 2 12:58:04 CET 2024
On Dez 02 2024, Sughosh Ganu wrote:
> There are platforms which set the value of ram_top based on certain
> restrictions that the platform might have in accessing memory above
> ram_top, even when the memory region is in the same DRAM bank. So,
> even though the LMB allocator works as expected, when trying to
> allocate memory above ram_top, prohibit this by marking all memory
> above ram_top as reserved, even if the said memory region is from the
> same bank.
This fixes the boot failure on the VisionFive2 board as reported in
<mvm8qtnv310.fsf at suse.de>.
Tested-by: Andreas Schwab <schwab at suse.de>
--
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the U-Boot
mailing list