Set the corresponding bit to enable hardware accelerated dirty-bitmap and dirty-ring cleaning for arm64. Actually using acceleration depends on the cpus enabling FEAT_HACDBS as well as the pre-requisite features for it, such as FEAT_HDBSS and FEAT_HAFDBS. Also, add myself as maintainer for the new bits introduced. Signed-off-by: Leonardo Bras --- MAINTAINERS | 7 +++++++ arch/arm64/kvm/Kconfig | 1 + 2 files changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d25342ca8aa1..4b8a2b05b916 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2069,20 +2069,27 @@ F: arch/arm64/boot/dts/Makefile ARM ARCHITECTED TIMER DRIVER M: Mark Rutland M: Marc Zyngier L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm/include/asm/arch_timer.h F: arch/arm64/include/asm/arch_timer.h F: drivers/clocksource/arm_arch_timer.c F: drivers/clocksource/arm_arch_timer_mmio.c +ARM STAGE-2 DIRTY-BIT TRACKER/CLEANER ACCELERATOR +M: Leonardo Bras +L: kvmarm@lists.linux.dev +S: Maintained +F: arch/arm64/include/asm/kvm_dirty_bit.h +F: arch/arm64/kvm/dirty_bit.c + ARM ETHOS-U NPU DRIVER M: Rob Herring (Arm) M: Tomeu Vizoso L: dri-devel@lists.freedesktop.org S: Supported T: git https://gitlab.freedesktop.org/drm/misc/kernel.git F: drivers/accel/ethosu/ F: include/uapi/drm/ethosu_accel.h ARM GENERIC INTERRUPT CONTROLLER DRIVERS diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 449154f9a485..db8487bf738b 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -27,20 +27,21 @@ menuconfig KVM select VIRT_XFER_TO_GUEST_WORK select KVM_VFIO select HAVE_KVM_DIRTY_RING_ACQ_REL select NEED_KVM_DIRTY_RING_WITH_BITMAP select HAVE_KVM_MSI select HAVE_KVM_IRQCHIP select HAVE_KVM_IRQ_ROUTING select HAVE_KVM_IRQ_BYPASS select HAVE_KVM_READONLY_MEM select HAVE_KVM_VCPU_RUN_PID_CHANGE + select HAVE_KVM_HW_DIRTY_BIT if ACPI select SCHED_INFO select GUEST_PERF_EVENTS if PERF_EVENTS select KVM_GUEST_MEMFD help Support hosting virtualized guest machines. If unsure, say N. if KVM -- 2.54.0