summaryrefslogtreecommitdiffstats
path: root/include/phb4.h
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.ibm.com>2018-08-01 15:01:15 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-08-06 03:00:59 -0500
commit77f26507f1ea17f535522e93667ffd4a7cd06dbb (patch)
treefa73d14ac7c238580df7cafe908e8bb95daa8209 /include/phb4.h
parent167fcb20aa9752e19c4f381cdec7baa63e675a38 (diff)
downloadblackbird-skiboot-77f26507f1ea17f535522e93667ffd4a7cd06dbb.tar.gz
blackbird-skiboot-77f26507f1ea17f535522e93667ffd4a7cd06dbb.zip
phb4: Track PEC index in dt and phb4 struct
Knowing the PEC index is going to be important when we enable relaxed ordering, so store this value for later use. Signed-off-by: Alistair Popple <alistair@popple.id.au> [arbab@linux.ibm.com: Rebase/refactor original changes] Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/phb4.h')
-rw-r--r--include/phb4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phb4.h b/include/phb4.h
index 4ab2912b..3186dca2 100644
--- a/include/phb4.h
+++ b/include/phb4.h
@@ -169,6 +169,7 @@ struct phb4 {
unsigned int index; /* 0..5 index inside p9 */
unsigned int flags;
unsigned int chip_id; /* Chip ID (== GCID on p9) */
+ unsigned int pec;
bool broken;
unsigned int rev; /* 00MMmmmm */
#define PHB4_REV_NIMBUS_DD10 0xa40001
OpenPOWER on IntegriCloud