]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/kernel: kaslr: drop special Image placement logic
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 17 Jan 2018 16:11:27 +0000 (16:11 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 5 Mar 2018 12:06:43 +0000 (12:06 +0000)
commit3c457b4fc948bb24d665b47078a02d42eacb19f0
tree88cb0e8bb004791bdfc2917de92d61e2a625b1a8
parent9d6ca69a0d676c8117922574025e0fd975b351b2
arm64/kernel: kaslr: drop special Image placement logic

Now that the early kernel mapping logic can tolerate placements of
Image that cross swapper table boundaries, we can remove the logic
that adjusts the offset if the dice roll produced an offset that
puts the kernel right on top of one.

Reviewed-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/kaslr.c