summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/vdso/Makefile
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-04-03 17:58:39 +0100
committerWill Deacon <will.deacon@arm.com>2019-04-03 18:35:08 +0100
commit70b3d237bd7f52d3322c750a358581bf5a267699 (patch)
tree6f21b5f5316a77d4abb446ac056ed75a7be8ce3b /arch/arm64/kernel/vdso/Makefile
parent92606ec9285fb84cd9b5943df23f07d741384bfc (diff)
arm64: mm: Ensure we ignore the initrd if it is placed out of range
If the initrd payload isn't completely accessible via the linear map, then we print a warning during boot and nobble the virtual address of the payload so that we ignore it later on. Unfortunately, since commit c756c592e442 ("arm64: Utilize phys_initrd_start/phys_initrd_size"), the virtual address isn't initialised until later anyway, so we need to nobble the size of the payload to ensure that we don't try to use it later on. Fixes: c756c592e442 ("arm64: Utilize phys_initrd_start/phys_initrd_size") Reported-by: Pierre Kuo <vichy.kuo@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/vdso/Makefile')
0 files changed, 0 insertions, 0 deletions