[PATCH v12 1/6] KVM: Add architecture-defined TLB flush support
Cornelia Huck
cornelia.huck at de.ibm.com
Thu Oct 30 05:06:58 PDT 2014
On Wed, 22 Oct 2014 15:34:06 -0700
Mario Smarduch <m.smarduch at samsung.com> wrote:
> This patch adds support for architecture implemented VM TLB flush, currently
> ARMv7 defines HAVE_KVM_ARCH_TLB_FLUSH_ALL. This leaves other architectures
> unaffected using the generic version. In subsequent patch ARMv7 defines
> HAVE_KVM_ARCH_TLB_FLUSH_ALL and it's own TLB flush interface.
Can you reword this a bit?
"Allow architectures to override the generic kvm_flush_remote_tlbs()
function via HAVE_KVM_ARCH_TLB_FLUSH_ALL. ARMv7 will need this to
provide its own TLB flush interface."
>
> Signed-off-by: Mario Smarduch <m.smarduch at samsung.com>
> ---
> virt/kvm/Kconfig | 3 +++
> virt/kvm/kvm_main.c | 2 ++
> 2 files changed, 5 insertions(+)
Providing an override for the special cases looks sane to me.
More information about the linux-arm-kernel
mailing list