summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2020-06-23 20:10:08 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-10-02 15:40:48 +0300
commit5627b9224b00334e4c91122ebbb8536a9a575969 (patch)
tree3d7b4efde26c611e44589a8379a6917cb302d37d /block
parentbd37b36832f62bf42ab66da8744191d99252a6e3 (diff)
downloadlinux-5627b9224b00334e4c91122ebbb8536a9a575969.tar.xz
s390/ipl: add support to control memory clearing for nvme re-IPL
Re-IPL for nvme 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 list-directed IPL like nvme or fcp IPL, a "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/nvme, 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: Vasily Gorbik <gor@linux.ibm.com> Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions