diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2016-03-22 11:18:53 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-04-01 13:11:03 +1100 |
commit | edb2725bc82717aa32b77373f71030c42b7ac136 (patch) | |
tree | aa6a03f4e19ec4fa04eb43ab94a1c6f9e77ad36a /hdata | |
parent | 629424505e1b13c18f0646c22a44d415bb021e0b (diff) | |
download | skiboot-edb2725bc82717aa32b77373f71030c42b7ac136.zip skiboot-edb2725bc82717aa32b77373f71030c42b7ac136.tar.gz skiboot-edb2725bc82717aa32b77373f71030c42b7ac136.tar.bz2 |
hdata: Reduce reserved space in spira structure
As per spec we reserve 0x4c0 in spira structure for future use. But
spira is being deprecated and we will be using new SPIRAH/SPIRAS
structure. Hence reduce reserved space in spira to 0xc0 so that we
can use remaining 1K space for new SPIRAH structure.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[stewart@linux.vnet.ibm.com: added comment as to why we reserve less]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/spira.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hdata/spira.h b/hdata/spira.h index 064aa86..7190ba4 100644 --- a/hdata/spira.h +++ b/hdata/spira.h @@ -75,7 +75,13 @@ struct spira { struct HDIF_idata_ptr ntuples_ptr; __be64 pad; struct spira_ntuples ntuples; - u8 reserved[0x4c0]; + /* + * We reserve 0xc0 rather than 0x4c0 so we fit SPIRAH/SPIRAS here + * while preserving compatibility with existing P7/P8 systems. + * + * According to FSP engineers, this is an okay thing to do. + */ + u8 reserved[0xc0]; } __packed __align(0x100); extern struct spira spira; |