summaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto/ap_queue.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2022-02-21 21:25:19 +0100
committerVasily Gorbik <gor@linux.ibm.com>2022-03-01 21:05:10 +0100
commit966ffbd8615a5c1b0bf474314bbd9ea8eb6ef423 (patch)
treee262b0f3543edb9bf10b9d38fc178b80e27b5c73 /drivers/s390/crypto/ap_queue.c
parente1fc74ff23463f308709b824eed0d73e0a345f4e (diff)
downloadlinux-966ffbd8615a5c1b0bf474314bbd9ea8eb6ef423.tar.bz2
s390/mm: convert pte_val()/pXd_val() into functions
Disallow constructs like this: pte_val(*pte) = __pa(addr) | prot; which would directly write into a page table. Users are supposed to use the set_pte()/set_pXd() primitives, which guarantee block concurrent (aka atomic) writes. Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/ap_queue.c')
0 files changed, 0 insertions, 0 deletions