
2 Dec
2024
2 Dec
'24
12:58 p.m.
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@suse.de.
Tested-by: Andreas Schwab schwab@suse.de
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."