summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-01-18 13:11:44 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-03 11:55:07 -0400
commit4eb258316fda03e1977d9aaa44f50f2bb6ff7e36 (patch)
tree35e045bd47626df383e37cb323804c43d8ab8985
parent54c104ac30dc2b0e35cff81a029e211eb7d2ea8c (diff)
downloadtalos-hostboot-4eb258316fda03e1977d9aaa44f50f2bb6ff7e36.tar.gz
talos-hostboot-4eb258316fda03e1977d9aaa44f50f2bb6ff7e36.zip
Add a comment to break down scom address
Change-Id: I92958a3687b22241c77be0afe9f7edeb6cbf11a4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/10732 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23956 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/import/chips/p9/common/scominfo/p9_scom_addr.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/import/chips/p9/common/scominfo/p9_scom_addr.H b/src/import/chips/p9/common/scominfo/p9_scom_addr.H
index 0dbe73c94..15c5c932e 100644
--- a/src/import/chips/p9/common/scominfo/p9_scom_addr.H
+++ b/src/import/chips/p9/common/scominfo/p9_scom_addr.H
@@ -317,6 +317,17 @@ extern "C"
PCI_IOPCI_0_RING_ID = 0x3 ///< IOPCI_0
} p9_pci_ring_id_t;
+// 8 7 6 5 4 3 2 1
+//
+// |0 1 2 3| |4 5 6 7| |8 9 10 11| |12 13 14 15| |16 17 18 19| |20 21 22 23| |24 25 26 27| |28 29 30 31|
+// {A}{ B } { C } { D }{ E }{ F }
+//
+// A - Is multiCast if bit 1 = 0x1
+// B - Contains Chiplet ID (6 bits) [2:7]
+// C - Contains Port Number (4 bits) [12:15]
+// D - Ring (4 bits) [18:21]
+// E - Sat ID (4 bits) [22:25]
+// F - Sat Offset (6 bits) [26:31]
/// P9 SCOM address class
class p9_scom_addr
OpenPOWER on IntegriCloud