Files
linux/arch/arm/include/asm
Will Deacon a53dc16499 KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
commit fdfe7cbd58 upstream.

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>
[will: Backport to 4.19; use 'blockable' instead of non-existent range flags]
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-26 10:31:07 +02:00
..
2018-06-15 18:10:01 -03:00
2019-02-20 10:25:38 +01:00
2017-11-15 18:21:04 -08:00
2017-06-05 17:50:44 +02:00
2015-05-28 15:31:53 +02:00
2018-07-22 14:13:43 +02:00
2011-03-31 11:26:23 -03:00
2020-05-27 17:37:35 +02:00
2011-03-31 11:26:23 -03:00
2018-04-19 13:28:51 +02:00
2018-07-09 20:29:49 +02:00
2018-05-19 11:53:46 +01:00
2013-07-08 22:08:51 +01:00
2018-05-07 07:15:41 +02:00
2020-08-07 09:36:20 +02:00
2018-01-21 15:37:56 +00:00
2017-11-13 01:34:49 +01:00
2016-10-19 10:18:47 +01:00
2014-03-18 16:39:40 -04:00