Re: [PATCH] arm64: kaslr: Add 2MB correction for aligning kernel image

2017-03-22 Thread Ard Biesheuvel
> On 22 Mar 2017, at 08:55, Srinivas Ramana wrote: > > From: Neeraj Upadhyay > > If kernel image extends across alignment boundary, existing > code increases the KASLR offset by size of kernel image. The > offset is masked after resizing. There are cases, where after > masking, we may still ha

[PATCH] arm64: kaslr: Add 2MB correction for aligning kernel image

2017-03-22 Thread Srinivas Ramana
From: Neeraj Upadhyay If kernel image extends across alignment boundary, existing code increases the KASLR offset by size of kernel image. The offset is masked after resizing. There are cases, where after masking, we may still have kernel image extending across boundary. This eventually results i