KVM: Forbid the use of tagged userspace addresses for memslots
authorMarc Zyngier <maz@kernel.org>
Thu, 21 Jan 2021 12:08:15 +0000 (12:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2021 22:28:41 +0000 (23:28 +0100)
commit256a0040c6c9f6d342044897e33f280426a4e315
treecc29c4959c073d5139e4d002be00a0c8a07be250
parente895a39a2bcdbb1d602316f3fb416aa93818805a
KVM: Forbid the use of tagged userspace addresses for memslots

commit 139bc8a6146d92822c866cf2fd410159c56b3648 upstream.

The use of a tagged address could be pretty confusing for the
whole memslot infrastructure as well as the MMU notifiers.

Forbid it altogether, as it never quite worked the first place.

Cc: stable@vger.kernel.org
Reported-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/virt/kvm/api.rst
virt/kvm/kvm_main.c