diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2017-01-13 14:08:23 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-16 11:53:24 +1100 |
commit | 1357e64dbf0bb2f02db2a126ad18ade23f407127 (patch) | |
tree | f8600c234ec1d54b8f32eadfe2a45dd9f681698a /hdata/spira.h | |
parent | 1bed75413de9424df64d91603cf0068f2f2bea78 (diff) | |
download | talos-skiboot-1357e64dbf0bb2f02db2a126ad18ade23f407127.tar.gz talos-skiboot-1357e64dbf0bb2f02db2a126ad18ade23f407127.zip |
hdat: SPIRA-H/S changes for P9
Add new ntuples to SPIRA-H/S structure.
We have already switched to SPIRA-H/S from legacy SPIRA. Hence
I've not made any update to legacy SPIRA structure.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r-- | hdata/spira.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/hdata/spira.h b/hdata/spira.h index 7fbf02c0..01ce4cba 100644 --- a/hdata/spira.h +++ b/hdata/spira.h @@ -103,6 +103,7 @@ struct spirah_ntuples { struct spira_ntuple mdump_src; /* 0x0a0 */ struct spira_ntuple mdump_dst; /* 0x0c0 */ struct spira_ntuple mdump_res; /* 0x0e0 */ + struct spira_ntuple proc_dump_area; /* 0x100 */ }; struct spirah { @@ -110,7 +111,7 @@ struct spirah { struct HDIF_idata_ptr ntuples_ptr; __be64 pad; struct spirah_ntuples ntuples; - u8 reserved[0x100]; + u8 reserved[0xE0]; } __packed __align(0x100); extern struct spirah spirah; @@ -119,7 +120,8 @@ extern struct spirah spirah; #define SPIRAS_HDIF_SIG "SPIRAS" /* First version on 810 release */ -#define SPIRAS_VERSION 0x40 +#define SPIRAS_VERSION_P8 0x40 +#define SPIRAS_VERSION_P9 0x50 /* N-tuples in SPIRAS */ #define SPIRAS_NTUPLES_COUNT 0x10 @@ -141,15 +143,17 @@ struct spiras_ntuples { struct spira_ntuple pcia; /* 0x1c0 */ struct spira_ntuple proc_chip; /* 0x1e0 */ struct spira_ntuple hs_data; /* 0x200 */ - struct spira_ntuple ipmi_sensor; /* 0x220 */ -} __packed __align(0x100); + struct spira_ntuple hbrt_data; /* 0x220 */ + struct spira_ntuple ipmi_sensor; /* 0x240 */ + struct spira_ntuple node_data; /* 0x260 */ +}; struct spiras { struct HDIF_common_hdr hdr; struct HDIF_idata_ptr ntuples_ptr; __be64 pad; struct spiras_ntuples ntuples; - u8 reserved[0x1c0]; + u8 reserved[0x180]; } __packed __align(0x100); extern struct spiras *spiras; |