diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2021-06-18 08:17:18 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-07-05 12:44:23 +0200 |
commit | 5fa2ea0714d75bf631c111ca51e9bd2bf6dbfb87 (patch) | |
tree | 22f2a3e18b655b14917bd8175d6892654e1f79ce /block/blk-mq-virtio.c | |
parent | 9f744abb4639e793689570fc9dcdf5f2f028bc9a (diff) | |
download | linux-5fa2ea0714d75bf631c111ca51e9bd2bf6dbfb87.tar.bz2 |
s390/mcck: move register validation to C code
This update partially reverts commit 3037a52f9846 ("s390/nmi:
do register validation as early as possible").
Storage error checks and control registers validation are left
in the assembler code, since correct ASCEs and page tables are
required to enable DAT - which is done before the C handler is
entered.
System damage, kernel instruction address and PSW MWP checks
are left in the assembler code as well, since there is no way
to proceed if one of these checks is failed.
The getcpu vdso syscall reads CPU number from the programmable
field of the TOD clock. Disregard the TOD programmable register
validity bit and load the CPU number into the TOD programmable
field unconditionally.
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'block/blk-mq-virtio.c')
0 files changed, 0 insertions, 0 deletions