On 29 July 2016 at 18:40, Mark Brown broonie@linaro.org wrote:
On 28 July 2016 at 11:24, Ard Biesheuvel ard.biesheuvel@linaro.org wrote:
The 4.7 release contains some updates and improvements to the KASLR code. I pushed them onto a lsk-v4.4 branch here:
https://git.linaro.org/people/ard.biesheuvel/linux-arm.git/shortlog/refs/hea...
That appears to be directly on top of the latest LSK rather than the KASLR topic branch v4.4/topic/mm-kaslr - can you rebase on top of the topic branch please or are there other dependencies that make that problematic?
No, everything applies cleanly onto that branch as well.
Please when pointing to git repositories post references that are usable with git rather than something that requires a bunch of manual fiddling - usually that's repo and tag so for this:
https://git.linaro.org/people/ard.biesheuvel/linux-arm.git arm64-kaslr-v4.4
Please also provide a diffstat and log, that's really helpful when pulling changes as it provides a quick way to check that what's being pulled is what was expected in case things didn't get pushed that should've been or similar. Using "git request-pull" to generate the request is a good way to cover all these bases.
The following changes since commit 5dd612ebfad71f5463d89ff92d1bc307cd286b5d:
parisc: Use generic extable search and sort routines (2016-05-12 09:05:25 +0800)
are available in the git repository at:
git://git.linaro.org/people/ard.biesheuvel/linux-arm.git arm64-kaslr-v4.4
for you to fetch changes up to 5808d4c65215bcb6a3fa145965fa9ed0bb3d8f5f:
arm64: kaslr: increase randomization granularity (2016-07-29 18:59:49 +0200)
---------------------------------------------------------------- Ard Biesheuvel (12): arm64: use 'segment' rather than 'chunk' to describe mapped kernel regions arm64: move early boot code to the .init segment arm64: cover the .head.text section in the .text segment mapping arm64: simplify kernel segment mapping granularity arm64: kernel: don't export local symbols from head.S arm64: kernel: use literal for relocated address of __secondary_switched arm64: kernel: perform relocation processing from ID map arm64: introduce mov_q macro to move a constant into a 64-bit register arm64: kernel: replace early 64-bit literal loads with move-immediates arm64: don't map TEXT_OFFSET bytes below the kernel if we can avoid it arm64: relocatable: deal with physically misaligned kernel images arm64: kaslr: increase randomization granularity
Jeremy Linton (1): arm64: mm: Mark .rodata as RO
arch/arm64/Kconfig.debug | 2 +- arch/arm64/include/asm/assembler.h | 20 +++ arch/arm64/kernel/efi-entry.S | 2 +- arch/arm64/kernel/head.S | 160 ++++++++++++---------- arch/arm64/kernel/image.h | 2 + arch/arm64/kernel/kaslr.c | 6 +- arch/arm64/kernel/vmlinux.lds.S | 36 +++-- arch/arm64/mm/init.c | 4 +- arch/arm64/mm/mmu.c | 35 +++-- drivers/firmware/efi/libstub/arm64-stub.c | 15 +- 10 files changed, 168 insertions(+), 114 deletions(-)