Files
Linux/include/linux
Ard Biesheuvel eff8962888 efi/arm: Defer persistent reservations until after paging_init()
The new memory EFI reservation feature we introduced to allow memory
reservations to persist across kexec may trigger an unbounded number
of calls to memblock_reserve(). The memblock subsystem can deal with
this fine, but not before memblock resizing is enabled, which we can
only do after paging_init(), when the memory we reallocate the array
into is actually mapped.

So break out the memreserve table processing into a separate routine
and call it after paging_init() on arm64. On ARM, because of limited
reviewing bandwidth of the maintainer, we cannot currently fix this,
so instead, disable the EFI persistent memreserve entirely on ARM so
we can fix it later.

Tested-by: Marc Zyngier <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2018-11-15 10:04:46 +01:00
..
2018-10-31 10:57:43 -07:00
…
…
2018-10-18 15:41:21 -07:00
…
…
2018-10-16 11:13:50 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-31 19:24:21 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-11-01 19:59:53 -06:00
…
…
…
…
…
2018-10-19 13:24:31 -07:00
2018-10-19 13:24:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-26 16:26:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-11-06 13:59:08 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-21 10:46:33 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-09 07:50:41 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-31 08:54:14 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-17 13:56:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-21 10:46:39 -04:00
…
…
…
…
…
…
…
…
…
…
2018-10-26 16:26:35 -07:00
…
…
2018-10-01 23:14:10 -07:00
…
…
…
…
…
…
…
…
…
…
2018-10-08 22:53:10 +11:00
…
…
…
…
…
…
…
…
…
…
…
2018-10-26 16:26:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-09-29 22:47:49 -04:00
…
…
…
…
…
…
…
…
…
2018-10-11 09:16:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-24 00:41:07 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-21 10:46:46 -04:00
…
…
…
…
…
…
…
…
…
…
…