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

[Xen-devel] [PATCH 00/24] xen/arm: Extend the usage of typesafe MFN



Hello all,

This patch series extend the usage of typesafe MFN in the ARM code. _mfn(...)
and mfn_x(...) are pushed further down in the call stack.

Cheers,

Julien Grall (24):
  xen/mm: Don't use _{g,m}fn for defining INVALID_{G,M}FN
  xen/arm: gic-v2: Fix indentation in gicv2_map_hwdom_extra_mappings
  xen/arm: setup: Remove bogus xenheap_mfn_end in setup_mm for arm64
  xen/arm: mm: Introduce clear_table and use it
  xen/arm: mm: Move mfn_to_xen_entry from page.h to mm.c
  xen/arm: mm: Fix coding style of mfn_to_xen_entry
  xen/arm: mm: Clean-up mfn_to_xen_entry
  xen/arm: mm: Use typesafe MFN in mfn_to_xen_entry
  xen/arm: Define mfn_to_page/page_to_mfn in term of
    __mfn_to_page/__page_to_mfn
  xen/arm: domain_build: Replace paddr_to_pfn(virt_to_maddr(.)) by
    virt_to_mfn(.)
  xen/arm: mm: Replace __va(pfn_to_paddr(...)) by mfn_to_virt
  xen/arm: Replace DIV_ROUND_UP(..., PAGE_SIZE) by PFN_UP(...)
  xen/arm: traps: Replace p2m_lookup(..., ..., NULL) by gfn_to_mfn(...,
    ...)
  xen/arm: Introduce wrappers for MFN <-> MADDR and GFN <-> GADDR
  xen/arm: Use the newly introduced MFN <-> MADDR and GFN <-> MADDR
    helpers
  xen/arm: mm: Use typesafe mfn for xenheap_mfn_*
  xen/arm: mm: Use typesafe MFN in set_fixmap
  xen/arm: mm: Use typesafe MFN in dump_pt_walk
  xen/arm: p2m: Redefine mfn_to_page and page_to_mfn to use typesafe
  xen/arm: mm: Redefine virt_to_mfn to support typesafe
  xen/arm: domain_build: Redefine virt_to_mfn to support typesafe
  xen/arm: alternative: Redefine virt_to_mfn to support typesafe
  xen/arm: livepatch: Redefine virt_to_mfn to support typesafe
  xen/arm: create_xen_entries: Use typesafe MFN

 xen/arch/arm/acpi/lib.c           |   4 +-
 xen/arch/arm/alternative.c        |   6 +-
 xen/arch/arm/domain_build.c       |  22 ++---
 xen/arch/arm/gic-v2.c             |   6 +-
 xen/arch/arm/gic-v3.c             |   8 +-
 xen/arch/arm/kernel.c             |   8 +-
 xen/arch/arm/livepatch.c          |   6 +-
 xen/arch/arm/mem_access.c         |  10 +--
 xen/arch/arm/mm.c                 | 166 +++++++++++++++++++++++++++-----------
 xen/arch/arm/p2m.c                |  28 ++++---
 xen/arch/arm/platforms/exynos5.c  |   8 +-
 xen/arch/arm/platforms/omap5.c    |  16 ++--
 xen/arch/arm/platforms/vexpress.c |   2 +-
 xen/arch/arm/setup.c              |  20 +++--
 xen/arch/arm/traps.c              |  16 ++--
 xen/arch/arm/vgic-v2.c            |   4 +-
 xen/drivers/video/arm_hdlcd.c     |   2 +-
 xen/include/asm-arm/mm.h          |  33 +++++---
 xen/include/asm-arm/page.h        |  65 ---------------
 xen/include/xen/mm.h              |   4 +-
 20 files changed, 235 insertions(+), 199 deletions(-)

-- 
2.11.0


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

 


Rackspace

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