]> git.baikalelectronics.ru Git - kernel.git/commit
efi/arm: Revert "Defer persistent reservations until after paging_init()"
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 15 Feb 2019 12:33:33 +0000 (13:33 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 16 Feb 2019 14:02:03 +0000 (15:02 +0100)
commitaba8a615ffa0e1d15df378fd6e50f27c71949fa2
tree313ebeb73e03401253bc62581280cd4327f895b1
parent364fbd73a144142dc35c4344f33bcc4c7d6926ff
efi/arm: Revert "Defer persistent reservations until after paging_init()"

This reverts commit 52d3af0c5ac8fa1a1d7a6ccf37aadb286350e865, which
deferred the processing of persistent memory reservations to a point
where the memory may have already been allocated and overwritten,
defeating the purpose.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20190215123333.21209-3-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm64/kernel/setup.c
drivers/firmware/efi/efi.c
drivers/firmware/efi/libstub/arm-stub.c
include/linux/efi.h