summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/ops-loongson3.c
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2020-02-20 16:22:30 +0100
committerVasily Gorbik <gor@linux.ibm.com>2020-03-23 13:41:54 +0100
commit1a2ae03b1938b050c3bbd79e79d5075e0307fe20 (patch)
tree52a9ffb9acd1ac06c370aa0cff04ef33da9f57b8 /arch/mips/pci/ops-loongson3.c
parents390/zcrypt: replace snprintf/sprintf with scnprintf (diff)
downloadlinux-1a2ae03b1938b050c3bbd79e79d5075e0307fe20.tar.xz
linux-1a2ae03b1938b050c3bbd79e79d5075e0307fe20.zip
s390/ipl: add support to control memory clearing for FCP and CCW re-IPL
Re-IPL for both CCW and FCP is currently done by using diag 308 with the "Load Clear" subcode, which means that all memory will be cleared. This can increase re-IPL duration considerably on very large machines. For CCW devices, there is also a "Load Normal" subcode that was only used for dump kernels so far. For FCP devices, a similar "Load Normal" subcode was introduced with z14. The "Load Normal" diag 308 subcode allows to re-IPL without clearing memory. This patch adds a new "clear" sysfs attribute to /sys/firmware/reipl for both the ccw and fcp subdirectories, which can be set to either "0" or "1" to disable or enable re-IPL with memory clearing. The default value is "0", which disables memory clearing. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/mips/pci/ops-loongson3.c')
0 files changed, 0 insertions, 0 deletions