zdump/df_vmdump: Fix the layout of vmd_asibk_64_new structure

The struct vmd_asibk_64_new representing Address Space Information Block
(ASZIBK) does not match the control block format form CP reference:
https://www.vm.ibm.com/pubs/cp730/ASIBK.HTML
Adjust the layout of vmd_asibk_64_new structure to be in sync with CP
control block format.
Introduce vmd_otble structure used for range table entries, reflecting
the related CP control block:
https://www.vm.ibm.com/pubs/cp730/OLTBLE.HTML

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Mikhail Zaslonko
2024-10-21 22:09:40 +02:00
committed by Steffen Eiden
parent 649f1bc084
commit f23c207622

View File

@@ -105,21 +105,26 @@ struct vmd_albk {
u8 id[sizeof(ALBK_MAGIC)];
} __packed;
struct vmd_oltble {
u64 start_addr;
u64 end_addr;
} __packed;
struct vmd_asibk_64_new {
u8 id[8];
u8 as_token[8];
u8 spaceid[33];
u8 reserved1[2];
u8 asibk_format;
u8 filler1[12];
u8 reserved2[12];
u64 storage_size_with_dcss;
u64 storage_size_def_store;
u8 filler2[136];
u64 online_storage_table[8]; /* For "def store config" */
u64 fence1;
u64 requested_range_table[8];
u64 fence2;
u32 record_number_of_first_bit_map;
u8 reserved3[136];
u32 range_table_entry_count;
u32 dcss_table_entry_count;
struct vmd_oltble online_storage_table[8];
struct vmd_oltble requested_range_table[64];
struct vmd_oltble dcss_range_table[32];
} __packed;
struct vmd_fir_64 {