]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pgalloc: add virt/phys address handling to base asce functions
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 7 Dec 2021 19:06:21 +0000 (20:06 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 10 Dec 2021 15:14:26 +0000 (16:14 +0100)
commit8f671c27933dcf5f4cc3b2b00e00c112728799e7
treebe9d2cbee04da2b4f332bdb3846d46e520b0e4f5
parent290748f4b48726f8404ad226de03f11ee8866f33
s390/pgalloc: add virt/phys address handling to base asce functions

The base asce functions create/free page tables open-coded to make
sure that the returned asce and page tables do not make use of any
enhanced DAT features like e.g. large pages. This is required for some
I/O functions that use an asce, like e.g. some service call requests.

Handling of virtual vs physical addresses is missing; therefore add
that now.

Note: this currently doesn't fix a real bug, since virtual addresses
are indentical to physical ones.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/pgalloc.c