[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 2/4] x86/hvm: Treat non-instruction fetch nested page faults also as read violations

>>> On 11.08.14 at 16:48, <tamas.lengyel@xxxxxxxxxxxx> wrote:
> As pointed out by Jan Beulich in 
> http://lists.xen.org/archives/html/xen-devel/2014-08/msg01269.html: 
> "Read-modify-write instructions absolutely need to be treated as read 
> accesses, yet hardware doesn't guarantee to tell us so (they may surface as 
> just write accesses)." This patch addresses the issue in both the VMX and the 
> SVM side.

Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>

> VMX: Treat all non-instruction fetch violations as read violations (in 
> addition to those that were already reported as read violations).
> SVM: Refine the handling to distinguish between read/write and instruction 
> fetch access violations.
> Signed-off-by: Tamas K Lengyel <tamas.lengyel@xxxxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.