]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec8d731a3fc7168eeac5ffe9558835b019b3432c
treec027889f9ec1e37d27a51de038ec54050152670a
parent1e2a606ee537e965a01ed99de42e91c840d8715b
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