]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: ignore DT memreserve entries when booting in UEFI mode
authorLeif Lindholm <leif.lindholm@linaro.org>
Mon, 28 Jul 2014 18:03:03 +0000 (19:03 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 19 Aug 2014 19:22:03 +0000 (20:22 +0100)
commit79b92823794c5e010280ba39ca2b247e180b19d1
tree30dfe5c331c57934c9c534ed6b64e31e95b9ae5e
parentb3b7d9f8d72e497db0de68294e5345ccc6ad1059
arm64: ignore DT memreserve entries when booting in UEFI mode

UEFI provides its own method for marking regions to reserve, via the
memory map which is also used to initialise memblock. So when using the
UEFI memory map, ignore any memreserve entries present in the DT.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/efi.c
arch/arm64/mm/init.c