[PATCH v3] ARM: mm: report both sections from PMD

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Feb 14 14:23:22 EST 2014


On Fri, Feb 14, 2014 at 11:13:53AM -0800, Kees Cook wrote:
> On Fri, Feb 14, 2014 at 2:17 AM, Catalin Marinas
> <catalin.marinas at arm.com> wrote:
> > On Thu, Feb 13, 2014 at 07:52:30PM +0000, Kees Cook wrote:
> >> On 2-level page table systems, the PMD has 2 section entries. Report
> >> these, otherwise ARM_PTDUMP will miss reporting permission changes on
> >> odd section boundaries.
> >>
> >> Signed-off-by: Kees Cook <keescook at chromium.org>
> >
> > Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> 
> On Fri, Feb 14, 2014 at 9:05 AM, Steve Capper <steve.capper at linaro.org> wrote:
> > Tested-by: Steve Capper <steve.capper at linaro.org>
> 
> Thanks to both of you! If you have a moment can you check this other
> patch which has additional fixes for the dump code?
> 
> https://lkml.org/lkml/2014/2/12/662

It's not that simple, because APX in section descriptors doesn't exist
on pre-v6 ARMs.  This needs to be conditional upon the CPU arch.

-- 
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up.  Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".



More information about the linux-arm-kernel mailing list