diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-09-01 08:11:14 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-09-05 20:12:52 +0200 |
commit | 06fc3b0d2251b550f530a1c42e0f9c5d022476dd (patch) | |
tree | 2e263b7abd271e0f0f8ad23c426f218c2c36a98a /arch/s390/include/asm | |
parent | f59ec04d382d2f2528f439947e215a52703e0094 (diff) | |
download | linux-stable-06fc3b0d2251b550f530a1c42e0f9c5d022476dd.tar.gz linux-stable-06fc3b0d2251b550f530a1c42e0f9c5d022476dd.tar.bz2 linux-stable-06fc3b0d2251b550f530a1c42e0f9c5d022476dd.zip |
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/s390/include/asm')
0 files changed, 0 insertions, 0 deletions