zdump: add guarded storage support for ELF input and output format

Add guarded storage registers support for the ELF input and the ELF output
format. See `man 2 s390_guarded_storage` for details about guarded storage.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2022-10-05 07:09:32 +00:00
committed by Jan Höppner
parent dc87aef335
commit 029a3f8f52
5 changed files with 45 additions and 1 deletions
+2
View File
@@ -80,6 +80,8 @@ static void *notes_init(Elf64_Phdr *phdr, void *segment_start, u64 elf_offset)
ptr = nt_s390_vxrs_low(ptr, cpu);
ptr = nt_s390_vxrs_high(ptr, cpu);
}
if (dfi_cpu_content_fac_check(DFI_CPU_CONTENT_FAC_GS))
ptr = nt_s390_gs_cb(ptr, cpu);
}
out:
ptr = nt_vmcoreinfo(ptr, dfi_vmcoreinfo_get());