]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc: export MIN RMA size
authorSourabh Jain <sourabhjain@linux.ibm.com>
Thu, 23 Jan 2025 11:42:51 +0000 (17:12 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Tue, 11 Feb 2025 05:22:59 +0000 (10:52 +0530)
commit0bdd7ff5b830fadc18254399d6340cdaa4271527
tree5a4ca5acbf77210518faac4875ea1401cfc49030
parenta64dcfb451e254085a7daee5fe51bf22959d52d3
powerpc: export MIN RMA size

Commit 683eab94da75bc ("powerpc/fadump: setup additional parameters for
dump capture kernel") introduced the additional parameter feature in
fadump for HASH MMU with the understanding that GRUB does not use the
memory area between 640MB and 768MB for its operation.

However, the third patch ("powerpc: increase MIN RMA size for CAS
negotiation") in this series is changing the MIN RMA size to 768MB,
allowing GRUB to use memory up to 768MB. This makes the fadump
reservation for the additional parameter feature for HASH MMU
unreliable.

To address this, export the MIN_RMA so that the next patch
("powerpc/fadump: fix additional param memory reservation for HASH MMU")
can identify the correct memory range for the additional parameter
feature in fadump for HASH MMU.

Reviewed-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250123114254.200527-2-sourabhjain@linux.ibm.com
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom_init.c