s390/ctlreg: add system_ctl_load()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 11 Sep 2023 19:40:08 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Sep 2023 11:26:57 +0000 (13:26 +0200)
commit305a5551af34e1848d80e095c23e94c985cc4ebc
tree6122644dca11c6c8c353274050f658801bbcbebb
parent103dde702d698c2e17529550650407a386711cdf
s390/ctlreg: add system_ctl_load()

Add system_ctl_load() which can be used to load a value to a control
register system wide.

Refactor system_ctl_set_clear_bit() so it can handle all different
request types, and also rename it to system_ctlreg_modify()

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/ctlreg.h
arch/s390/kernel/ctlreg.c