aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2021-08-04 12:50:57 +0530
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2021-08-06 12:22:07 +0530
commit7706e3300ceaa446e5f2fe1d3078fb0ace49b4d7 (patch)
tree112b5bede893d3e1c707fc3afe8b6e0369f38875 /hdata/spira.h
parente813a0c09dc08aea7144425e1d4ee6c9134e9f47 (diff)
downloadskiboot-7706e3300ceaa446e5f2fe1d3078fb0ace49b4d7.zip
skiboot-7706e3300ceaa446e5f2fe1d3078fb0ace49b4d7.tar.gz
skiboot-7706e3300ceaa446e5f2fe1d3078fb0ace49b4d7.tar.bz2
hdata/iohub: Read PCI Gen5 equalization settings for P10
HDAT spec added fields to define the equalization settings for PCI Gen5 link. Format is the same as PCI Gen4, so we just need to add extra fields in the "ibm,lane-eq" in the device tree. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index 3a8a31e..7fcf5c3 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -706,8 +706,11 @@ struct cechub_io_hub {
/* HDAT >= v9.x, HDIF version 0x6A adds phb_lane_eq with four
* words per PHB (4 PHBs).
*
- * HDAT >= 10.x, HDIF version 0x7A adds space for another two
+ * HDAT >= 10.x, HDIF version 0x7A adds space for another
* two PHBs (6 total) and the gen4 EQ values.
+ *
+ * HDAT >= 10.5x, HDIF version 0x8B adds space for the
+ * gen5 EQ values.
*/
struct {
/* Gen 3 PHB eq values, 6 PHBs */
@@ -715,6 +718,9 @@ struct cechub_io_hub {
/* Gen 4 PHB eq values */
__be64 phb4_lane_eq[6][4];
+
+ /* Gen 5 PHB eq values */
+ __be64 phb5_lane_eq[6][4];
};
};
} __packed;