ARM: KVM: fix L_PTE_S2_RDWR to actually be Read/Write
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 Apr 2013 13:00:16 +0000 (14:00 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Tue, 16 Apr 2013 23:21:25 +0000 (16:21 -0700)
commit865499ea90d399e0682bcce3ae7af24277633699
tree4f43ed01655ccf1241187da59c8c0cee44f26558
parentca46e10fb239d4646cb19620695473f252a6ffc7
ARM: KVM: fix L_PTE_S2_RDWR to actually be Read/Write

Looks like our L_PTE_S2_RDWR definition is slightly wrong,
and is actually write only (see ARM ARM Table B3-9, Stage 2 control
of access permissions). Didn't make a difference for normal pages,
as we OR the flags together, but I'm still wondering how it worked
for Stage-2 mapped devices, such as the GIC.

Brown paper bag time, again.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/pgtable-3level.h