On 09/11/2015 12:54, Huaitong Han wrote:
>* Byte index: page fault error code [4:1]
>* Bit index: pte permissions in ACC_* format
> + *
> + * Add PFEC.PK (bit 5) for protection-key violations
Instead, change "[4:1]" to "[5:1]" in the "Byte index" line.
Paolo
>
Pkeys define a new status bit in the PFEC. PFEC.PK (bit 5), if some
conditions is true, the fault is considered as a PKU violation.
This patch updates memeory permission bitmask for pkeys.
Signed-off-by: Huaitong Han
diff --git a/arch/x86/include/asm/kvm_host.h