path: root/arch/arm/cpu
diff options
authorAlexander Graf <>2016-05-27 12:25:03 +0200
committerTom Rini <>2016-06-06 13:39:16 -0400
commit74c16acce30bb882ad5951829d8dafef8eea564c (patch)
tree18a4e5950d4b8f0b9971a46e037630a90914f2d3 /arch/arm/cpu
parentedcef3ba1d2d5beb92fcd7df253e196e77ba174d (diff)
efi_loader: Don't allocate from memory holes
When a payload calls our memory allocator with the exact address hint, we happily allocate memory from completely unpopulated regions. Payloads however expect this to only succeed if they would be allocating from free conventional memory. This patch makes the logic behind those checks a bit more obvious and ensures that we always allocate from known good free conventional memory regions if we want to allocate ram. Reported-by: Jonathan Gray <> Signed-off-by: Alexander Graf <>
Diffstat (limited to 'arch/arm/cpu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud