[PATCH] arm64: mm: use correct mapping granularity under DEBUG_RODATA
ard.biesheuvel at linaro.org
Mon Nov 16 04:18:47 PST 2015
On 16 November 2015 at 13:16, Mark Rutland <mark.rutland at arm.com> wrote:
>> > Does this need to be backported to stable?
>> It should be fixed in stable, I think, but SWAPPER_BLOCK_SIZE is new
>> in v4.4 so we'd need another patch anyway.
> I was hoping 87d1587bef394cd8 ("arm64: Move swapper pagetable
> definitions") would backport easily. I just had a go and that's not the
> case, and the conflict is non-trivial.
> Regardless, we should probably mark this with a fixes tag so it doesn't
> get lost:
> Fixes: da141706aea52c1a ("arm64: add better page protections to arm64")
For the backported version, we can just add a #define
SWAPPER_BLOCK_SIZE to mmu.c
More information about the linux-arm-kernel