This reorganizes arm/arm64 code to have a better correlation between
headers and code modules. It also pulls assembly code for both initial
and hypervisor entry together. All in all, cosmetics for a better
structure.
Jan
Jan Kiszka (8):
arm, arm-common: Remove unneeded asm/setup.h inclusions
arm-common: Pull arm_*dcaches_flush into common header
arm: Move cpu_prepare_return_el1 out of header
arm: Move setup and hypervisor entry together
arm64: Reorganize code in entry.S
arm64: Move setup and hypervisor entry together
arm: Convert setup.h into mmu_hyp.h
arm-common: Rename setup-common.h to setup.h
hypervisor/arch/arm-common/gic-v2.c | 1 -
hypervisor/arch/arm-common/gic-v3.c | 1 -
hypervisor/arch/arm-common/include/asm/dcaches.h | 28 +++
.../include/asm/{setup-common.h => setup.h} | 0
hypervisor/arch/arm-common/setup.c | 2 +-
hypervisor/arch/arm/Kbuild | 2 +-
hypervisor/arch/arm/entry.S | 60 ++++++
hypervisor/arch/arm/exception.S | 72 -------
hypervisor/arch/arm/include/asm/control.h | 3 -
.../asm/setup-common.h => arm/include/asm/entry.h} | 11 +-
.../setup-common.h => arm/include/asm/mmu_hyp.h} | 10 +-
hypervisor/arch/arm/include/asm/paging.h | 9 +-
hypervisor/arch/arm/include/asm/setup.h | 39 ----
hypervisor/arch/arm/mach-vexpress.c | 1 -
hypervisor/arch/arm/mmu_hyp.c | 7 +-
hypervisor/arch/arm/setup.c | 18 +-
hypervisor/arch/arm64/Kbuild | 3 +-
hypervisor/arch/arm64/entry.S | 219 ++++++++++++++-------
hypervisor/arch/arm64/exception.S | 98 ---------
hypervisor/arch/arm64/include/asm/control.h | 3 -
.../arch/arm64/include/asm/{setup.h => entry.h} | 10 +-
hypervisor/arch/arm64/include/asm/paging.h | 10 +-
hypervisor/arch/arm64/setup.c | 2 +-
hypervisor/arch/arm64/traps.c | 1 +
24 files changed, 278 insertions(+), 332 deletions(-)
create mode 100644 hypervisor/arch/arm-common/include/asm/dcaches.h
copy hypervisor/arch/arm-common/include/asm/{setup-common.h => setup.h} (100%)
delete mode 100644 hypervisor/arch/arm/exception.S
copy hypervisor/arch/{arm-common/include/asm/setup-common.h =>
arm/include/asm/entry.h} (51%)
rename hypervisor/arch/{arm-common/include/asm/setup-common.h =>
arm/include/asm/mmu_hyp.h} (50%)
delete mode 100644 hypervisor/arch/arm/include/asm/setup.h
delete mode 100644 hypervisor/arch/arm64/exception.S
rename hypervisor/arch/arm64/include/asm/{setup.h => entry.h} (57%)
--
2.12.3
--
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.