From mboxrd@z Thu Jan 1 00:00:00 1970 From: catalin.marinas@arm.com (Catalin Marinas) Date: Tue, 17 Nov 2015 11:11:38 +0000 Subject: [PATCH] arm64: mm: use correct mapping granularity under DEBUG_RODATA In-Reply-To: References: <1447669094-31076-1-git-send-email-ard.biesheuvel@linaro.org> <20151116115740.GD20696@leverpostej> <20151116121628.GG20696@leverpostej> Message-ID: <20151117111137.GG6556@e104818-lin.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Nov 16, 2015 at 01:18:47PM +0100, Ard Biesheuvel wrote: > On 16 November 2015 at 13:16, Mark Rutland 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") > > Indeed. > > For the backported version, we can just add a #define > SWAPPER_BLOCK_SIZE to mmu.c Patch applied with a fixes tag. I assume you'll prepare a fix for stable when Greg pings us. Thanks. -- Catalin