summaryrefslogtreecommitdiffstats
path: root/Documentation/index.rst
diff options
context:
space:
mode:
authorJanis Schoetterl-Glausch <scgl@linux.ibm.com>2021-11-26 17:45:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-08 16:19:21 +0100
commitdd9ee00ed0bd0c96da11d7a3ca7a5d3450ee88d5 (patch)
treea5396d44fa54184ba526562f68348f2d771f6466 /Documentation/index.rst
parent8bf46a3927823b8c472c70eba0093a4474c1da9b (diff)
downloadlinux-stable-dd9ee00ed0bd0c96da11d7a3ca7a5d3450ee88d5.tar.gz
linux-stable-dd9ee00ed0bd0c96da11d7a3ca7a5d3450ee88d5.tar.bz2
linux-stable-dd9ee00ed0bd0c96da11d7a3ca7a5d3450ee88d5.zip
KVM: s390: gaccess: Refactor access address range check
[ Upstream commit 7faa543df19bf62d4583a64d3902705747f2ad29 ] Do not round down the first address to the page boundary, just translate it normally, which gives the value we care about in the first place. Given this, translating a single address is just the special case of translating a range spanning a single page. Make the output optional, so the function can be used to just check a range. Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Message-Id: <20211126164549.7046-3-scgl@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Stable-dep-of: e8061f06185b ("KVM: s390: gaccess: Check if guest address is in memslot") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/index.rst')
0 files changed, 0 insertions, 0 deletions