xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] xen/arm: P2M clean-up fixes
@ 2016-07-28 14:20 Julien Grall
  2016-07-28 14:20 ` [PATCH v2 01/15] xen/arm: p2m: Use the typesafe MFN in mfn_to_p2m_entry Julien Grall
                   ` (15 more replies)
  0 siblings, 16 replies; 20+ messages in thread
From: Julien Grall @ 2016-07-28 14:20 UTC (permalink / raw)
  To: xen-devel; +Cc: proskurin, Julien Grall, sstabellini, steve.capper, wei.chen

Hello all,

This patch series contains a bunch of clean-up and fixes for the P2M code on
ARM. The major changes are:
    - Deduce the memory attributes from the p2m type
    - Switch to read-write lock to improve performance
    - Simplify the TLB flush for a give p2m

For all the changes see in each patch.

I have provided a branch with all the patches applied on my repo:
git://xenbits.xen.org/people/julieng/xen-unstable.git branch p2m-cleanup-v2.

Yours sincerely,

Julien Grall (15):
  xen/arm: p2m: Use the typesafe MFN in mfn_to_p2m_entry
  xen/arm: p2m: Use a whitelist rather than blacklist in
    get_page_from_gfn
  xen/arm: p2m: Differentiate cacheable vs non-cacheable MMIO
  xen/arm: p2m: Find the memory attributes based on the p2m type
  xen/arm: p2m: Remove unnecessary locking
  xen/arm: p2m: Introduce p2m_{read,write}_{,un}lock helpers
  xen/arm: p2m: Switch the p2m lock from spinlock to rwlock
  xen/arm: Don't call p2m_alloc_table from arch_domain_create
  xen/arm: p2m: Move the vttbr field from arch_domain to p2m_domain
  xen/arm: p2m: Don't need to restore the state for an idle vCPU.
  xen/arm: p2m: Rework the context switch to another VTTBR in
    flush_tlb_domain
  xen/arm: p2m: Inline p2m_load_VTTBR into p2m_restore_state
  xen/arm: Don't export flush_tlb_domain
  xen/arm: p2m: Replace flush_tlb_domain by p2m_flush_tlb
  xen/arm: p2m: Pass the p2m in parameter rather the domain when it is
    possible

 xen/arch/arm/domain.c          |   3 -
 xen/arch/arm/p2m.c             | 194 ++++++++++++++++++++---------------------
 xen/arch/arm/traps.c           |   2 +-
 xen/include/asm-arm/domain.h   |   1 -
 xen/include/asm-arm/flushtlb.h |   3 -
 xen/include/asm-arm/p2m.h      |  25 +++---
 6 files changed, 113 insertions(+), 115 deletions(-)

-- 
1.9.1


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

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

end of thread, other threads:[~2016-07-29  0:47 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 14:20 [PATCH v2 00/15] xen/arm: P2M clean-up fixes Julien Grall
2016-07-28 14:20 ` [PATCH v2 01/15] xen/arm: p2m: Use the typesafe MFN in mfn_to_p2m_entry Julien Grall
2016-07-28 14:20 ` [PATCH v2 02/15] xen/arm: p2m: Use a whitelist rather than blacklist in get_page_from_gfn Julien Grall
2016-07-29  0:38   ` Stefano Stabellini
2016-07-28 14:20 ` [PATCH v2 03/15] xen/arm: p2m: Differentiate cacheable vs non-cacheable MMIO Julien Grall
2016-07-28 14:20 ` [PATCH v2 04/15] xen/arm: p2m: Find the memory attributes based on the p2m type Julien Grall
2016-07-28 14:20 ` [PATCH v2 05/15] xen/arm: p2m: Remove unnecessary locking Julien Grall
2016-07-28 14:20 ` [PATCH v2 06/15] xen/arm: p2m: Introduce p2m_{read, write}_{, un}lock helpers Julien Grall
2016-07-28 14:20 ` [PATCH v2 07/15] xen/arm: p2m: Switch the p2m lock from spinlock to rwlock Julien Grall
2016-07-28 14:20 ` [PATCH v2 08/15] xen/arm: Don't call p2m_alloc_table from arch_domain_create Julien Grall
2016-07-28 14:20 ` [PATCH v2 09/15] xen/arm: p2m: Move the vttbr field from arch_domain to p2m_domain Julien Grall
2016-07-29  0:40   ` Stefano Stabellini
2016-07-28 14:20 ` [PATCH v2 10/15] xen/arm: p2m: Don't need to restore the state for an idle vCPU Julien Grall
2016-07-28 14:20 ` [PATCH v2 11/15] xen/arm: p2m: Rework the context switch to another VTTBR in flush_tlb_domain Julien Grall
2016-07-29  0:40   ` Stefano Stabellini
2016-07-28 14:20 ` [PATCH v2 12/15] xen/arm: p2m: Inline p2m_load_VTTBR into p2m_restore_state Julien Grall
2016-07-28 14:20 ` [PATCH v2 13/15] xen/arm: Don't export flush_tlb_domain Julien Grall
2016-07-28 14:20 ` [PATCH v2 14/15] xen/arm: p2m: Replace flush_tlb_domain by p2m_flush_tlb Julien Grall
2016-07-28 14:20 ` [PATCH v2 15/15] xen/arm: p2m: Pass the p2m in parameter rather the domain when it is possible Julien Grall
2016-07-29  0:47 ` [PATCH v2 00/15] xen/arm: P2M clean-up fixes Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).