From 77f26507f1ea17f535522e93667ffd4a7cd06dbb Mon Sep 17 00:00:00 2001 From: Reza Arbab Date: Wed, 1 Aug 2018 15:01:15 -0500 Subject: 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 [arbab@linux.ibm.com: Rebase/refactor original changes] Signed-off-by: Reza Arbab Reviewed-By: Alistair Popple Signed-off-by: Stewart Smith --- include/phb4.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/phb4.h b/include/phb4.h index 4ab2912..3186dca 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 -- cgit v1.1