]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/dump: Add firmware sysfs attribute for dump area size
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Tue, 5 Nov 2024 08:08:22 +0000 (09:08 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 12 Nov 2024 13:01:27 +0000 (14:01 +0100)
commit01bfb451a3e9b7005d626964588d89b699749147
tree402d05f99a206a552d9298433b98aa2890c1dbb9
parent97b5cf629459094bf3a882c567db2c293e0975bd
s390/dump: Add firmware sysfs attribute for dump area size

Dump tools from s390-tools such as zipl need to know the correct dump area
size of the machine they run on in order to be able to create valid
standalone dumper images. Therefore, allow it to be obtained through
the new sysfs read-only attribute /sys/firmware/dump/dump_area_size.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/ipl.c