• Paul Mundt's avatar
    sh: Fix up legacy PTEA space attribute mapping. · efb3e34b
    Paul Mundt authored
    When p3_ioremap() was converted to ioremap_prot() there was some breakage
    introduced where the 29-bit segmentation logic would trap the area range
    and return an identity mapping without having allowed the area
    specification to force mapping through page tables. This wires up a PCC
    mask for pgprot verification to work out whether to short-circuit the
    identity mapping on legacy parts, restoring the previous behaviour.
    Reported-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
    Cc: stable@kernel.org
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    efb3e34b
pgtable_32.h 17.1 KB