s390/checksum: provide and use cksm() inline assembly
authorHeiko Carstens <hca@linux.ibm.com>
Sat, 3 Feb 2024 10:45:21 +0000 (11:45 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 16 Feb 2024 13:30:17 +0000 (14:30 +0100)
commit3a74f44de2c901e1536d227d29257cae1a6ed18f
tree3ddf7dc168688604eca4d9dfa146fca65f7bb9d2
parent4ce69fcf17d067112f754414aa563e0cd74cc49d
s390/checksum: provide and use cksm() inline assembly

Convert those callers of csum_partial() to use the cksm instruction,
which are either very early or in critical paths, like panic/dump, so
they don't have to rely on a working kernel infrastructure, which will
be introduced with a subsequent patch.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/checksum.h
arch/s390/kernel/ipl.c
arch/s390/kernel/os_info.c