There is a higher degree of configurability for Jailhouse visibly on the
horizon. But, in fact, we already have that in-tree: CAT is Intel-only,
mach-vexpress is selected by CONFIG_MACH_VEXPRESS. All in all, the
conversion to the new unit abstraction helps to reduce boilerplat code
and explicit hooks. And there is more to come.

Jan

Jan Kiszka (20):
  core: Fold map_root_memory_regions into init_late
  core: Pull __init_array_start/end into the section definition
  core: Introduce unit infrastructure
  core: Move pci_init to the end of pci.c
  core: Convert pci to a unit
  x86: Move cat_init to the end of cat.c
  x86: Convert cat to a unit
  x86: Move ioapic_init to the end of ioapic.c
  x86: Convert ioapic to a unit
  core: Rename arch_shutdown to arch_prepare_shutdown
  x86: Move iommu_init and related functions to the end of amd_iommu.c
  x86: Move iommu_init and related functions to the end of vtd.c
  x86: Convert iommu to a unit
  arm: Convert mach-vexpress to a unit
  arm: Fold irqchip_init into irqchip_cpu_init
  arm/arm64: Convert irqchip to a unit
  core: Remove always-zero-returning arch_mmio_count_regions
  arm/arm64: Make arch_cell_create a common function
  arm/arm64: Make arch_cell_destroy a common function
  core: Drop arch_init_late

 hypervisor/Makefile                                |   2 +-
 hypervisor/arch/arm-common/control.c               |  20 +-
 hypervisor/arch/arm-common/include/asm/irqchip.h   |   5 -
 hypervisor/arch/arm-common/include/asm/setup.h     |   1 -
 hypervisor/arch/arm-common/irqchip.c               |  78 ++--
 hypervisor/arch/arm-common/setup.c                 |  18 -
 hypervisor/arch/arm/Kbuild                         |   7 +-
 hypervisor/arch/arm/control.c                      |  35 --
 hypervisor/arch/arm/include/asm/mach.h             |  27 --
 hypervisor/arch/arm/mach-stubs.c                   |  30 --
 hypervisor/arch/arm/mmio.c                         |   7 -
 hypervisor/arch/arm/setup.c                        |  12 -
 .../arch/arm/{mach-vexpress.c => vexpress.c}       |  47 ++-
 hypervisor/arch/arm64/Kbuild                       |   3 +
 hypervisor/arch/arm64/control.c                    |  30 --
 hypervisor/arch/arm64/mmio.c                       |   6 -
 hypervisor/arch/arm64/setup.c                      |   5 -
 hypervisor/arch/x86/Kbuild                         |  14 +-
 hypervisor/arch/x86/amd_iommu.c                    | 424 ++++++++++-----------
 hypervisor/arch/x86/cat-stubs.c                    |  31 --
 hypervisor/arch/x86/cat.c                          |  41 +-
 hypervisor/arch/x86/control.c                      |  33 +-
 hypervisor/arch/x86/include/asm/cat.h              |   7 -
 hypervisor/arch/x86/include/asm/ioapic.h           |  10 -
 hypervisor/arch/x86/include/asm/iommu.h            |   8 +-
 hypervisor/arch/x86/ioapic.c                       |  42 +-
 hypervisor/arch/x86/mmio.c                         |   7 -
 hypervisor/arch/x86/setup.c                        |  22 --
 hypervisor/arch/x86/vtd.c                          | 300 ++++++++-------
 hypervisor/control.c                               |  25 +-
 hypervisor/hypervisor.lds.S                        |  14 +-
 hypervisor/include/jailhouse/control.h             |   4 +-
 hypervisor/include/jailhouse/entry.h               |  19 -
 hypervisor/include/jailhouse/mmio.h                |   2 -
 hypervisor/include/jailhouse/pci.h                 |   7 -
 hypervisor/include/jailhouse/unit.h                |  54 +++
 hypervisor/mmio.c                                  |   7 +-
 hypervisor/pci.c                                   |  53 +--
 hypervisor/setup.c                                 |  42 +-
 39 files changed, 663 insertions(+), 836 deletions(-)
 delete mode 100644 hypervisor/arch/arm/include/asm/mach.h
 delete mode 100644 hypervisor/arch/arm/mach-stubs.c
 rename hypervisor/arch/arm/{mach-vexpress.c => vexpress.c} (83%)
 delete mode 100644 hypervisor/arch/x86/cat-stubs.c
 create mode 100644 hypervisor/include/jailhouse/unit.h

-- 
2.13.6

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to