All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 2] New mem access type: None -> RWX
@ 2011-11-29 21:58 Andres Lagar-Cavilla
  2011-11-29 21:58 ` [PATCH 1 of 2] x86/mm: When mem event automatically promotes access rights, let other subsystems know Andres Lagar-Cavilla
  2011-11-29 21:58 ` [PATCH 2 of 2] x86/mm: New mem access type to log access Andres Lagar-Cavilla
  0 siblings, 2 replies; 8+ messages in thread
From: Andres Lagar-Cavilla @ 2011-11-29 21:58 UTC (permalink / raw)
  To: xen-devel; +Cc: andres, keir.xen, tim, JBeulich, adin

This patch adds a new p2m access type, n2rwx. It allows for implement a "log
access" mode in the hypervisor, aking to log dirty but for all types of
accesses. Faults caused by this access mode automatically promote the
access rights of the ofending p2m entry, place the event in the ring, and
let the vcpu keep on executing.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Signed-off-by: Adin Scannell <adin@scannell.ca>

 xen/arch/x86/hvm/hvm.c          |  45 ++++++++++++++++++++++++++++++++++------
 xen/arch/x86/mm/p2m.c           |   8 ++++--
 xen/include/asm-x86/p2m.h       |   9 ++++---
 xen/arch/x86/hvm/hvm.c          |   1 +
 xen/arch/x86/mm/p2m-ept.c       |   1 +
 xen/arch/x86/mm/p2m.c           |  30 +++++++++++++++++++--------
 xen/include/asm-x86/p2m.h       |   3 ++
 xen/include/public/hvm/hvm_op.h |   3 ++
 8 files changed, 77 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-01 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29 21:58 [PATCH 0 of 2] New mem access type: None -> RWX Andres Lagar-Cavilla
2011-11-29 21:58 ` [PATCH 1 of 2] x86/mm: When mem event automatically promotes access rights, let other subsystems know Andres Lagar-Cavilla
2011-12-01 16:17   ` Tim Deegan
2011-12-01 16:39     ` Andres Lagar-Cavilla
2011-12-01 16:53       ` Tim Deegan
2011-11-29 21:58 ` [PATCH 2 of 2] x86/mm: New mem access type to log access Andres Lagar-Cavilla
2011-12-01 16:25   ` Tim Deegan
2011-12-01 16:33     ` Andres Lagar-Cavilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.