efi: Don't add memblocks for soft-reserved memory
authorAndrew Bresticker <abrestic@rivosinc.com>
Fri, 2 Feb 2024 18:07:04 +0000 (10:07 -0800)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 2 Feb 2024 18:31:24 +0000 (19:31 +0100)
commit0bcff59ef7a652fcdc6d535554b63278c2406c8f
treeb2486e4293ad327f0ab1a3613a2425534e40b559
parentde1034b38a346ef6be25fe8792f5d1e0684d5ff4
efi: Don't add memblocks for soft-reserved memory

Adding memblocks for soft-reserved regions prevents them from later being
hotplugged in by dax_kmem.

Signed-off-by: Andrew Bresticker <abrestic@rivosinc.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/efi-init.c