aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-01-12 14:54:00 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-15 12:32:23 +1100
commit2a71fe7410253fd99b1651e15f4402267f004ed0 (patch)
treecf7cba39bd8df1f80219dab6ac11436bde5f5c74 /hdata/spira.h
parent293ca03683bfcd2c787b7e6f7c760238ba8eeae3 (diff)
downloadskiboot-2a71fe7410253fd99b1651e15f4402267f004ed0.zip
skiboot-2a71fe7410253fd99b1651e15f4402267f004ed0.tar.gz
skiboot-2a71fe7410253fd99b1651e15f4402267f004ed0.tar.bz2
hdat: Add new fields to IPL params structure
Add new fields to sys params structure and update sys family for p9. In P9 the compatible string is supplied by hostboot through the HDAT. This patch add support for using these strings to set the compatible property in the device tree rather than using the machine ID number scheme traditionally used in the HDAT. [removed ibm,firenze from, add some prints - Oliver] Signed-off-by: Oliver O'Halloran <oohall@gmail.com> [Folded Oliver's changes to original patch - Vasant] Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: fixup test case] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index eae7ac9..b04a3df 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -323,6 +323,17 @@ struct iplparams_sysparams {
uint8_t hw_page_table_size; /* >= 0x59 */
__be16 hv_disp_wheel; /* >= 0x58 */
__be32 nest_freq_mhz; /* >= 0x5b */
+ uint8_t split_core_mode; /* >= 0x5c */
+ uint8_t reserved[3];
+ uint8_t sys_vendor[64]; /* >= 0x5f */
+ /* >= 0x60 */
+ __be16 sys_sec_setting;
+ __be16 tpm_config_bit;
+ __be16 tpm_drawer;
+ __be16 reserved2;
+ uint8_t hw_key_hash[64];
+ uint8_t sys_family_str[64]; /* vendor,name */
+ uint8_t sys_type_str[64]; /* vendor,type */
} __packed;
/* Idata index 1: IPL parameters */
@@ -351,7 +362,11 @@ struct iplparams_iplparams {
uint8_t huge_page_size;
#define IPLPARAMS_HUGE_PG_SIZE_16G 0
uint8_t num_vlan_switches;
- __be64 reserved2;
+ __be32 reserved2;
+ __be32 enlarge_io; /* >= 0x5a */
+ uint8_t core_config;
+#define IPLPARAMS_CORE_NORMAL 0x00
+#define IPLPARAMS_CORE_FUSE 0x01
};
/* Idata index 4: Platform Dump Descriptor */
@@ -461,6 +476,17 @@ struct msvpd_pmover_bsr_synchro {
/* Idata index 4: UE Address Array */
+/* Idata index 5: Hostboot reserved memory address range */
+#define MSVPD_IDATA_HB_RESERVED_MEM 5
+struct msvpd_hb_reserved_mem {
+ __be32 node_instance;
+ __be64 start_addr;
+ __be64 end_addr;
+ __be32 label_size;
+ uint8_t label[64];
+ __be64 reserved;
+};
+
/* Child index 0: MS area child structure */
#define MSVPD_CHILD_MS_AREAS 0