[PATCH 3/8] KVM: arm64: Move ARM specific headers in include/kvm to arch directory
Zenghui Yu
yuzenghui at huawei.com
Mon Jun 16 21:10:04 AEST 2025
On 2025/6/11 8:10, Sean Christopherson wrote:
> Move kvm/arm_{arch_timer,pmu,vgic}.h to arch/arm64/include/asm and drop
> the "arm" prefix from all file names. Now that KVM no longer supports
> 32-bit ARM, there is no reason to expose ARM specific headers to other
> architectures beyond arm64.
>
> Cc: Colton Lewis <coltonlewis at google.com>
> Signed-off-by: Sean Christopherson <seanjc at google.com>
> ---
> .../arm64/include/asm/kvm_arch_timer.h | 0
> arch/arm64/include/asm/kvm_host.h | 7 +++----
> include/kvm/arm_pmu.h => arch/arm64/include/asm/kvm_pmu.h | 0
> .../kvm/arm_vgic.h => arch/arm64/include/asm/kvm_vgic.h | 0
> arch/arm64/kvm/arch_timer.c | 5 ++---
> arch/arm64/kvm/arm.c | 3 +--
> arch/arm64/kvm/pmu-emul.c | 4 ++--
> arch/arm64/kvm/reset.c | 3 +--
> arch/arm64/kvm/trace_arm.h | 2 +-
> arch/arm64/kvm/vgic/vgic-debug.c | 2 +-
> arch/arm64/kvm/vgic/vgic-init.c | 2 +-
> arch/arm64/kvm/vgic/vgic-irqfd.c | 2 +-
> arch/arm64/kvm/vgic/vgic-kvm-device.c | 2 +-
> arch/arm64/kvm/vgic/vgic-mmio-v2.c | 2 +-
> arch/arm64/kvm/vgic/vgic-mmio-v3.c | 2 +-
> arch/arm64/kvm/vgic/vgic-mmio.c | 4 ++--
> arch/arm64/kvm/vgic/vgic-v2.c | 2 +-
> arch/arm64/kvm/vgic/vgic-v3-nested.c | 3 +--
> arch/arm64/kvm/vgic/vgic-v3.c | 2 +-
> 19 files changed, 21 insertions(+), 26 deletions(-)
> rename include/kvm/arm_arch_timer.h => arch/arm64/include/asm/kvm_arch_timer.h (100%)
> rename include/kvm/arm_pmu.h => arch/arm64/include/asm/kvm_pmu.h (100%)
> rename include/kvm/arm_vgic.h => arch/arm64/include/asm/kvm_vgic.h (100%)
Nitpick:
|F: include/kvm/arm_*
can be deleted from the KVM/arm64 MAINTAINERS entry now.
Thanks,
Zenghui
More information about the Linuxppc-dev
mailing list