summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/guest.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2023-09-01 08:11:14 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-09-05 20:12:52 +0200
commit06fc3b0d2251b550f530a1c42e0f9c5d022476dd (patch)
tree2e263b7abd271e0f0f8ad23c426f218c2c36a98a /arch/arm64/kvm/guest.c
parentf59ec04d382d2f2528f439947e215a52703e0094 (diff)
s390/vmem: do not silently ignore mapping limit
The only interface that allows drivers establishing liner mappings is vmem_add_mapping(). It does check a requested range against allowed limits and a call to modify_pagetable() with an invalid mapping range is impossible. Hence, an attempt to map an address range outside of the identity mapping or vmemmap array could only be kernel bug. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/arm64/kvm/guest.c')
0 files changed, 0 insertions, 0 deletions