summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2023-08-11 10:07:31 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-04-17 13:38:01 +0200
commit8572f52518f69842d983b45eefa7d4efccd233de (patch)
tree4efeb7bfa3256b2e4be0bb2eb93880c398a32af9 /arch/s390/include
parent88702793c5b4ef127a1f57d76920a80f70d081a7 (diff)
downloadlinux-8572f52518f69842d983b45eefa7d4efccd233de.tar.gz
linux-8572f52518f69842d983b45eefa7d4efccd233de.tar.bz2
linux-8572f52518f69842d983b45eefa7d4efccd233de.zip
s390/os_info: Store virtual memory layout
This is a preparatory rework to allow uncoupling virtual and physical addresses spaces. The virtual memory layout will be read out by makedumpfile, crash and other user tools for virtual address translation. Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/os_info.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/s390/include/asm/os_info.h b/arch/s390/include/asm/os_info.h
index d2f4ba67c006..621d49aa9c8d 100644
--- a/arch/s390/include/asm/os_info.h
+++ b/arch/s390/include/asm/os_info.h
@@ -18,6 +18,12 @@
#define OS_INFO_REIPL_BLOCK 1
#define OS_INFO_FLAGS_ENTRY 2
#define OS_INFO_RESERVED 3
+#define OS_INFO_IDENTITY_BASE 4
+#define OS_INFO_KASLR_OFFSET 5
+#define OS_INFO_KASLR_OFF_PHYS 6
+#define OS_INFO_VMEMMAP 7
+#define OS_INFO_AMODE31_START 8
+#define OS_INFO_AMODE31_END 9
#define OS_INFO_FLAG_REIPL_CLEAR (1UL << 0)
@@ -37,8 +43,8 @@ struct os_info {
u16 version_minor;
u64 crashkernel_addr;
u64 crashkernel_size;
- struct os_info_entry entry[4];
- u8 reserved[3984];
+ struct os_info_entry entry[10];
+ u8 reserved[3864];
} __packed;
void os_info_init(void);