[PATCH] ARM: KVM: fix L_PTE_S2_RDWR to actually be Read/Write

Alexander Graf agraf at suse.de
Fri Apr 12 09:35:38 EDT 2013


On 12.04.2013, at 15:33, Marc Zyngier wrote:

> On 12/04/13 14:26, Alexander Graf wrote:
>> 
>> On 12.04.2013, at 15:00, Marc Zyngier wrote:
>> 
>>> 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 at arm.com>
>> 
>> CC stable?
> 
> Only if this doesn't make it into the final 3.9, which will be the first
> version with KVM/arm.

Given that we're at rc6, I'd presume that's rather likely if you don't make a fuss about it :)


Alex




More information about the linux-arm-kernel mailing list