linux/arch/mips/kvm
Will Deacon fdfe7cbd58 KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
The 'flags' field of 'struct mmu_notifier_range' is used to indicate
whether invalidate_range_{start,end}() are permitted to block. In the
case of kvm_mmu_notifier_invalidate_range_start(), this field is not
forwarded on to the architecture-specific implementation of
kvm_unmap_hva_range() and therefore the backend cannot sensibly decide
whether or not to block.

Add an extra 'flags' parameter to kvm_unmap_hva_range() so that
architectures are aware as to whether or not they are permitted to block.

Cc: <stable@vger.kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Message-Id: <20200811102725.7121-2-will@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-21 18:03:47 -04:00
..
callback.c MIPS: KVM: Convert EXPORT_SYMBOL to _GPL 2016-01-24 03:13:24 +01:00
commpage.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
commpage.h MIPS: KVM: Rename files to remove the prefix "kvm_" and "kvm_mips_" 2014-06-30 16:52:03 +02:00
dyntrans.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
emulate.c MIPS: KVM: Convert a fallthrough comment to fallthrough 2020-08-10 04:11:48 -04:00
entry.c KVM: MIPS: Use lddir/ldpte instructions to lookup gpa_mm.pgd 2020-06-04 13:48:55 -04:00
fpu.S MIPS: KVM: Fix fpu.S misassembly with r6 2016-07-05 16:09:11 +02:00
hypcall.c KVM: MIPS: Implement HYPCALL emulation 2017-03-28 14:53:33 +01:00
interrupt.c KVM: MIPS: Add more types of virtual interrupts 2020-06-04 13:49:13 -04:00
interrupt.h KVM: MIPS: Add more types of virtual interrupts 2020-06-04 13:49:13 -04:00
Kconfig MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only 2020-07-10 03:15:38 -04:00
loongson_ipi.c KVM: MIPS: Add Loongson-3 Virtual IPI interrupt support 2020-06-04 13:50:39 -04:00
Makefile KVM: MIPS: Add Loongson-3 Virtual IPI interrupt support 2020-06-04 13:50:39 -04:00
mips.c KVM: MIPS: clean up redundant 'kvm_run' parameters 2020-07-10 04:26:41 -04:00
mmu.c KVM: Pass MMU notifier range flags to kvm_unmap_hva_range() 2020-08-21 18:03:47 -04:00
msa.S MIPS: KVM: Add base guest MSA support 2015-03-27 21:25:19 +00:00
stats.c MIPS: KVM: Clean up kvm_exit trace event 2016-06-14 11:16:23 +02:00
tlb.c MIPS: 2020-06-12 11:05:52 -07:00
trace.h KVM: MIPS/VZ: Trace guest mode changes 2017-03-28 14:54:00 +01:00
trap_emul.c KVM: MIPS: clean up redundant 'kvm_run' parameters 2020-07-10 04:26:41 -04:00
vz.c KVM: MIPS/VZ: Fix build error caused by 'kvm_run' cleanup 2020-08-11 07:19:41 -04:00