All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add an altp2m subop for obtaining the page mem access
@ 2018-07-05 10:44 Adrian Pop
  2018-07-05 10:44 ` [PATCH v2 1/2] x86/mem_access: Add a helper function for memaccess conversion Adrian Pop
  2018-07-05 10:44 ` [PATCH v2 2/2] x86/altp2m: Add a subop for obtaining the memaccess of a page Adrian Pop
  0 siblings, 2 replies; 8+ messages in thread
From: Adrian Pop @ 2018-07-05 10:44 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, Razvan Cojocaru, George Dunlap,
	Andrew Cooper, Adrian Pop, Ian Jackson, Tim Deegan, Julien Grall,
	Tamas K Lengyel, Jan Beulich

Currently there is a subop for setting the memaccess of a page, but not
for consulting it.  The new HVMOP_altp2m_get_mem_access adds this
functionality.

Changes in v2:
- use the _p2m_get_mem_access helper from p2m_get_mem_access
- minor Arm adjustments
- move out the addition of a memaccess helper function to a separate
  patch in the attempts of making the diff clearer

Adrian Pop (2):
  x86/mem_access: Add a helper function for memaccess conversion
  x86/altp2m: Add a subop for obtaining the mem access of a page

 tools/libxc/include/xenctrl.h   |  3 ++
 tools/libxc/xc_altp2m.c         | 33 +++++++++++++--
 xen/arch/arm/mem_access.c       |  8 +++-
 xen/arch/x86/hvm/hvm.c          | 26 ++++++++++--
 xen/arch/x86/mm/mem_access.c    | 73 +++++++++++++++++++++++----------
 xen/common/mem_access.c         |  2 +-
 xen/include/public/hvm/hvm_op.h | 10 +++--
 xen/include/xen/mem_access.h    |  3 +-
 8 files changed, 121 insertions(+), 37 deletions(-)

-- 
2.17.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2018-07-18  9:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-05 10:44 [PATCH v2 0/2] Add an altp2m subop for obtaining the page mem access Adrian Pop
2018-07-05 10:44 ` [PATCH v2 1/2] x86/mem_access: Add a helper function for memaccess conversion Adrian Pop
2018-07-05 16:53   ` Tamas K Lengyel
2018-07-05 21:07     ` Adrian Pop
2018-07-05 10:44 ` [PATCH v2 2/2] x86/altp2m: Add a subop for obtaining the memaccess of a page Adrian Pop
2018-07-09  8:35   ` Jan Beulich
2018-07-09  8:44     ` Razvan Cojocaru
2018-07-18  9:24     ` Adrian Pop

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.