Files
linux/arch/mips/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
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2018-06-24 09:26:04 -07:00
2017-11-03 09:02:30 -07:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2017-09-06 11:01:52 +02:00
2018-01-24 11:17:20 +00:00
2017-08-29 15:21:51 +02:00
2019-10-11 18:20:55 +02:00
2018-07-27 15:19:59 -07:00
2009-07-03 15:45:29 +01:00
2017-11-03 09:02:30 -07:00
2013-01-24 13:20:09 +01:00
2014-08-26 02:18:56 +02:00
2012-03-28 18:30:02 +01:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2016-05-28 12:35:06 +02:00
2011-07-26 16:49:47 -07:00
2013-02-01 10:00:22 +01:00
2018-07-24 10:02:24 -07:00
2019-11-20 18:47:15 +01:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2019-01-09 17:38:48 +01:00
2013-02-01 10:00:22 +01:00
2018-05-07 07:15:41 +02:00
2017-06-08 14:51:58 +02:00
2017-11-03 09:02:30 -07:00
2014-08-02 00:06:38 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2018-08-01 13:20:15 -07:00
2017-11-03 09:02:30 -07:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2017-06-28 12:22:39 +02:00
2017-05-27 15:38:02 -04:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00
2017-11-03 09:02:30 -07:00