Re: [Xen-devel] [PATCH 08/10] x86/hvm: pkeys, add pkeys support for do_page_fault

2015-11-16 Thread Andrew Cooper
On 16/11/15 10:31, Huaitong Han wrote: > This patch adds pkeys support for do_page_fault. > > the protection keys architecture define a new status bit in the PFEC. PFEC.PK > (bit 5) is set to 1 if an only if protection keys block the access. > > Protection keys block an access and induce a page fau

[Xen-devel] [PATCH 08/10] x86/hvm: pkeys, add pkeys support for do_page_fault

2015-11-16 Thread Huaitong Han
This patch adds pkeys support for do_page_fault. the protection keys architecture define a new status bit in the PFEC. PFEC.PK (bit 5) is set to 1 if an only if protection keys block the access. Protection keys block an access and induce a page fault if and only if 1.Protection keys are enabled (