KVM: arm/arm64: Move shared files to virt/kvm/arm
authorChristoffer Dall <cdall@linaro.org>
Thu, 4 May 2017 11:54:17 +0000 (13:54 +0200)
committerChristoffer Dall <cdall@linaro.org>
Thu, 4 May 2017 11:57:26 +0000 (13:57 +0200)
commit35d2d5d490e2dc98ec07f899577b2a5451f413e8
treec027889f9ec1e37d27a51de038ec54050152670a
parentc667186f1c01ca8970c785888868b7ffd74e51ee
KVM: arm/arm64: Move shared files to virt/kvm/arm

For some time now we have been having a lot of shared functionality
between the arm and arm64 KVM support in arch/arm, which not only
required a horrible inter-arch reference from the Makefile in
arch/arm64/kvm, but also created confusion for newcomers to the code
base, as was recently seen on the mailing list.

Further, it causes confusion for things like cscope, which needs special
attention to index specific shared files for arm64 from the arm tree.

Move the shared files into virt/kvm/arm and move the trace points along
with it.  When moving the tracepoints we have to modify the way the vgic
creates definitions of the trace points, so we take the chance to
include the VGIC tracepoints in its very own special vgic trace.h file.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
16 files changed:
arch/arm/kvm/Makefile
arch/arm/kvm/arm.c [deleted file]
arch/arm/kvm/mmio.c [deleted file]
arch/arm/kvm/mmu.c [deleted file]
arch/arm/kvm/perf.c [deleted file]
arch/arm/kvm/psci.c [deleted file]
arch/arm/kvm/trace.h
arch/arm64/kvm/Makefile
virt/kvm/arm/arm.c [new file with mode: 0644]
virt/kvm/arm/mmio.c [new file with mode: 0644]
virt/kvm/arm/mmu.c [new file with mode: 0644]
virt/kvm/arm/perf.c [new file with mode: 0644]
virt/kvm/arm/psci.c [new file with mode: 0644]
virt/kvm/arm/trace.h
virt/kvm/arm/vgic/trace.h [new file with mode: 0644]
virt/kvm/arm/vgic/vgic.c