diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-06-07 15:19:48 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-06-11 17:20:40 +0300 |
commit | d8073dc6bc04a061660b31e49a990478a73f1883 (patch) | |
tree | 95ddaac9106877e8b5482e6215292a223fb5b729 /arch/s390/pci | |
parent | b01b8151efe47a432f3f73623a6c1438727e7880 (diff) | |
download | linux-d8073dc6bc04a061660b31e49a990478a73f1883.tar.xz |
s390/mm: Allow large pages only for aligned physical addresses
Do not allow creation of large pages against physical addresses,
which itself are not aligned on the correct boundary. Failure to
do so might lead to referencing wrong memory as result of the way
DAT works.
Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/pci')
0 files changed, 0 insertions, 0 deletions