summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/p9/utils/imageProcs/p9_ringId.C644
-rw-r--r--src/import/chips/p9/utils/imageProcs/p9_ringId.H25
-rw-r--r--src/import/chips/p9/utils/imageProcs/p9_scan_compression.H220
-rw-r--r--src/import/chips/p9/utils/p9_putRingUtils.C232
-rw-r--r--src/import/chips/p9/utils/p9_putRingUtils.H5
-rw-r--r--src/import/chips/p9/xip/p9_xip_tool.C16
-rwxr-xr-xsrc/test/framework/etc/workarounds.presimsetup2
7 files changed, 616 insertions, 528 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_ringId.C b/src/import/chips/p9/utils/imageProcs/p9_ringId.C
index f405f2e6..9e5782ff 100644
--- a/src/import/chips/p9/utils/imageProcs/p9_ringId.C
+++ b/src/import/chips/p9/utils/imageProcs/p9_ringId.C
@@ -30,29 +30,28 @@ namespace PERV
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"perv_fure" , 0x00, 0x01, 0x01, NON_VPD_RING, 0, 0x0800000000009000},
- {"perv_gptr" , 0x01, 0x01, 0x01, NON_VPD_RING, 0, 0x0800000000002000},
- {"perv_time" , 0x02, 0x01, 0x01, NON_VPD_RING, 0, 0x0800000000000100},
- {"occ_fure" , 0x03, 0x01, 0x01, NON_VPD_RING, 0, 0x0100000000009000},
- {"occ_gptr" , 0x04, 0x01, 0x01, NON_VPD_RING, 0, 0x0100000000002000},
- {"occ_time" , 0x05, 0x01, 0x01, NON_VPD_RING, 0, 0x0100000000000100},
- {"perv_ana_func" , 0x06, 0x01, 0x01, NON_VPD_RING, 0, 0x0080000000008000},
- {"perv_ana_gptr" , 0x07, 0x01, 0x01, NON_VPD_RING, 0, 0x0080000000002000},
- {"perv_pll_gptr" , 0x08, 0x01, 0x01, NON_VPD_RING, 0, 0x0002000000002000},
- {"perv_pll_bndy_bucket_1" , 0x09, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x0002000000000080},
- {"perv_pll_bndy_bucket_2" , 0x0a, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x0002000000000080},
- {"perv_pll_bndy_bucket_3" , 0x0b, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x0002000000000080},
- {"perv_pll_bndy_bucket_4" , 0x0c, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x0002000000000080},
- {"perv_pll_bndy_bucket_5" , 0x0d, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x0002000000000080},
- {"perv_pll_func" , 0x0e, 0x01, 0x01, NON_VPD_RING, 0, 0x0002000000008000},
-
+ {"perv_fure" , 0x00, 0x01, 0x01, NON_VPD_RING , 0, 0x0103400F},
+ {"perv_gptr" , 0x01, 0x01, 0x01, NON_VPD_RING , 0, 0x01034002},
+ {"perv_time" , 0x02, 0x01, 0x01, NON_VPD_RING , 0, 0x01034007},
+ {"occ_fure" , 0x03, 0x01, 0x01, NON_VPD_RING , 0, 0x0103080F},
+ {"occ_gptr" , 0x04, 0x01, 0x01, NON_VPD_RING , 0, 0x01030802},
+ {"occ_time" , 0x05, 0x01, 0x01, NON_VPD_RING , 0, 0x01030807},
+ {"perv_ana_func" , 0x06, 0x01, 0x01, NON_VPD_RING , 0, 0x01030400},
+ {"perv_ana_gptr" , 0x07, 0x01, 0x01, NON_VPD_RING , 0, 0x01030402},
+ {"perv_pll_gptr" , 0x08, 0x01, 0x01, NON_VPD_RING , 0, 0x01030012},
+ {"perv_pll_bndy_bucket_1", 0x09, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x01030018},
+ {"perv_pll_bndy_bucket_2", 0x0a, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x01030018},
+ {"perv_pll_bndy_bucket_3", 0x0b, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x01030018},
+ {"perv_pll_bndy_bucket_4", 0x0c, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x01030018},
+ {"perv_pll_bndy_bucket_5", 0x0d, 0x01, 0x01, NON_VPD_PLL_RING, 5, 0x01030018},
+ {"perv_pll_func" , 0x0e, 0x01, 0x01, NON_VPD_RING , 0, 0x01030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"perv_repr" , 0x0f, 0x01, 0x01, NON_VPD_RING, 0, 0x0800000000000200},
- {"occ_repr" , 0x10, 0x01, 0x01, NON_VPD_RING, 0, 0x0100000000000200},
+ {"perv_repr" , 0x0f, 0x01, 0x01, NON_VPD_RING , 0, 0x01034006},
+ {"occ_repr" , 0x10, 0x01, 0x01, NON_VPD_RING , 0, 0x01030806},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -60,21 +59,21 @@ namespace N0
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"n0_fure" , 0x00, 0x02, 0x02, NON_VPD_RING, 0, 0x09C0000000009000},
- {"n0_gptr" , 0x01, 0x02, 0x02, NON_VPD_RING, 0, 0x09C0000000002000},
- {"n0_time" , 0x02, 0x02, 0x02, NON_VPD_RING, 0, 0x09C0000000000100},
- {"n0_nx_fure" , 0x03, 0x02, 0x02, NON_VPD_RING, 0, 0x0400000000009000},
- {"n0_nx_gptr" , 0x04, 0x02, 0x02, NON_VPD_RING, 0, 0x0400000000002000},
- {"n0_nx_time" , 0x05, 0x02, 0x02, NON_VPD_RING, 0, 0x0400000000000100},
- {"n0_cxa0_fure" , 0x06, 0x02, 0x02, NON_VPD_RING, 0, 0x0200000000009000},
- {"n0_cxa0_gptr" , 0x07, 0x02, 0x02, NON_VPD_RING, 0, 0x0200000000002000},
- {"n0_cxa0_time" , 0x08, 0x02, 0x02, NON_VPD_RING, 0, 0x0200000000000100},
+ {"n0_fure" , 0x00, 0x02, 0x02, NON_VPD_RING , 0, 0x02034E0F},
+ {"n0_gptr" , 0x01, 0x02, 0x02, NON_VPD_RING , 0, 0x02034E02},
+ {"n0_time" , 0x02, 0x02, 0x02, NON_VPD_RING , 0, 0x02034E07},
+ {"n0_nx_fure" , 0x03, 0x02, 0x02, NON_VPD_RING , 0, 0x0203200F},
+ {"n0_nx_gptr" , 0x04, 0x02, 0x02, NON_VPD_RING , 0, 0x02032002},
+ {"n0_nx_time" , 0x05, 0x02, 0x02, NON_VPD_RING , 0, 0x02032007},
+ {"n0_cxa0_fure" , 0x06, 0x02, 0x02, NON_VPD_RING , 0, 0x0203100F},
+ {"n0_cxa0_gptr" , 0x07, 0x02, 0x02, NON_VPD_RING , 0, 0x02031007},
+ {"n0_cxa0_time" , 0x08, 0x02, 0x02, NON_VPD_RING , 0, 0x02031002},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"n0_repr" , 0x09, 0x02, 0x02, NON_VPD_RING, 0, 0x09C0000000000200},
- {"n0_nx_repr" , 0x0a, 0x02, 0x02, NON_VPD_RING, 0, 0x0400000000000200},
- {"n0_cxa0_repr" , 0x0b, 0x02, 0x02, NON_VPD_RING, 0, 0x0200000000000200},
+ {"n0_repr" , 0x09, 0x02, 0x02, NON_VPD_RING , 0, 0x02034E06},
+ {"n0_nx_repr" , 0x0a, 0x02, 0x02, NON_VPD_RING , 0, 0x02032006},
+ {"n0_cxa0_repr" , 0x0b, 0x02, 0x02, NON_VPD_RING , 0, 0x02031006},
};
const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
};
@@ -84,25 +83,25 @@ namespace N1
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"n1_fure" , 0x00, 0x03, 0x03, NON_VPD_RING, 0, 0x0E00000000009000},
- {"n1_gptr" , 0x01, 0x03, 0x03, NON_VPD_RING, 0, 0x0E00000000002000},
- {"n1_time" , 0x02, 0x03, 0x03, NON_VPD_RING, 0, 0x0E00000000000100},
- {"n1_ioo0_fure" , 0x03, 0x03, 0x03, NON_VPD_RING, 0, 0x0100000000009000},
- {"n1_ioo0_gptr" , 0x04, 0x03, 0x03, NON_VPD_RING, 0, 0x0100000000002000},
- {"n1_ioo0_time" , 0x05, 0x03, 0x03, NON_VPD_RING, 0, 0x0100000000000100},
- {"n1_ioo1_fure" , 0x06, 0x03, 0x03, NON_VPD_RING, 0, 0x0080000000009000},
- {"n1_ioo1_gptr" , 0x07, 0x03, 0x03, NON_VPD_RING, 0, 0x0080000000002000},
- {"n1_ioo1_time" , 0x08, 0x03, 0x03, NON_VPD_RING, 0, 0x0080000000000100},
- {"n1_mcs23_fure" , 0x09, 0x03, 0x03, NON_VPD_RING, 0, 0x0040000000009000},
- {"n1_mcs23_gptr" , 0x0a, 0x03, 0x03, NON_VPD_RING, 0, 0x0040000000002000},
- {"n1_mcs23_time" , 0x0b, 0x03, 0x03, NON_VPD_RING, 0, 0x0040000000000100},
+ {"n1_fure" , 0x00, 0x03, 0x03, NON_VPD_RING , 0, 0x0303700F},
+ {"n1_gptr" , 0x01, 0x03, 0x03, NON_VPD_RING , 0, 0x03037002},
+ {"n1_time" , 0x02, 0x03, 0x03, NON_VPD_RING , 0, 0x03037007},
+ {"n1_ioo0_fure" , 0x03, 0x03, 0x03, NON_VPD_RING , 0, 0x0303080F},
+ {"n1_ioo0_gptr" , 0x04, 0x03, 0x03, NON_VPD_RING , 0, 0x03030802},
+ {"n1_ioo0_time" , 0x05, 0x03, 0x03, NON_VPD_RING , 0, 0x03030807},
+ {"n1_ioo1_fure" , 0x06, 0x03, 0x03, NON_VPD_RING , 0, 0x0303040F},
+ {"n1_ioo1_gptr" , 0x07, 0x03, 0x03, NON_VPD_RING , 0, 0x03030402},
+ {"n1_ioo1_time" , 0x08, 0x03, 0x03, NON_VPD_RING , 0, 0x03030407},
+ {"n1_mcs23_fure" , 0x09, 0x03, 0x03, NON_VPD_RING , 0, 0x0303020F},
+ {"n1_mcs23_gptr" , 0x0a, 0x03, 0x03, NON_VPD_RING , 0, 0x03030202},
+ {"n1_mcs23_time" , 0x0b, 0x03, 0x03, NON_VPD_RING , 0, 0x03030207},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"n1_repr" , 0x0c, 0x03, 0x03, NON_VPD_RING, 0, 0x0E00000000000200},
- {"n1_ioo0_repr" , 0x0d, 0x03, 0x03, NON_VPD_RING, 0, 0x0100000000000200},
- {"n1_ioo1_repr" , 0x0e, 0x03, 0x03, NON_VPD_RING, 0, 0x0080000000000200},
- {"n1_mcs23_repr" , 0x0f, 0x03, 0x03, NON_VPD_RING, 0, 0x0040000000000200},
+ {"n1_repr" , 0x0c, 0x03, 0x03, NON_VPD_RING , 0, 0x03037006},
+ {"n1_ioo0_repr" , 0x0d, 0x03, 0x03, NON_VPD_RING , 0, 0x03030806},
+ {"n1_ioo1_repr" , 0x0e, 0x03, 0x03, NON_VPD_RING , 0, 0x03030406},
+ {"n1_mcs23_repr" , 0x0f, 0x03, 0x03, NON_VPD_RING , 0, 0x03030206},
};
const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
};
@@ -112,23 +111,23 @@ namespace N2
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"n2_fure" , 0x00, 0x04, 0x04, NON_VPD_RING, 0, 0x0B80000000009000},
- {"n2_gptr" , 0x01, 0x04, 0x04, NON_VPD_RING, 0, 0x0B80000000002000},
- {"n2_time" , 0x02, 0x04, 0x04, NON_VPD_RING, 0, 0x0B80000000000100},
- {"n2_cxa1_fure" , 0x03, 0x04, 0x04, NON_VPD_RING, 0, 0x0400000000009000},
- {"n2_cxa1_gptr" , 0x04, 0x04, 0x04, NON_VPD_RING, 0, 0x0400000000002000},
- {"n2_cxa1_time" , 0x05, 0x04, 0x04, NON_VPD_RING, 0, 0x0400000000000100},
- {"n2_psi_fure" , 0x06, 0x04, 0x04, NON_VPD_RING, 0, 0x0040000000009000},
- {"n2_psi_gptr" , 0x07, 0x04, 0x04, NON_VPD_RING, 0, 0x0040000000002000},
- {"n2_psi_time" , 0x08, 0x04, 0x04, NON_VPD_RING, 0, 0x0040000000000100},
+ {"n2_fure" , 0x00, 0x04, 0x04, NON_VPD_RING , 0, 0x04035C0F},
+ {"n2_gptr" , 0x01, 0x04, 0x04, NON_VPD_RING , 0, 0x04035C02},
+ {"n2_time" , 0x02, 0x04, 0x04, NON_VPD_RING , 0, 0x04035C07},
+ {"n2_cxa1_fure" , 0x03, 0x04, 0x04, NON_VPD_RING , 0, 0x0403020F},
+ {"n2_cxa1_gptr" , 0x04, 0x04, 0x04, NON_VPD_RING , 0, 0x04030202},
+ {"n2_cxa1_time" , 0x05, 0x04, 0x04, NON_VPD_RING , 0, 0x04030207},
+ {"n2_psi_fure" , 0x06, 0x04, 0x04, NON_VPD_RING , 0, 0x0403200F},
+ {"n2_psi_gptr" , 0x07, 0x04, 0x04, NON_VPD_RING , 0, 0x04032002},
+ {"n2_psi_time" , 0x08, 0x04, 0x04, NON_VPD_RING , 0, 0x04032007},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"n2_repr" , 0x09, 0x04, 0x04, NON_VPD_RING, 0, 0x0B80000000000200},
- {"n2_cxa1_repr" , 0x0a, 0x04, 0x04, NON_VPD_RING, 0, 0x0400000000000200},
- {"n2_psi_repr" , 0x0b, 0x04, 0x04, NON_VPD_RING, 0, 0x0040000000000200},
+ {"n2_repr" , 0x09, 0x04, 0x04, NON_VPD_RING , 0, 0x04035C06},
+ {"n2_cxa1_repr" , 0x0a, 0x04, 0x04, NON_VPD_RING , 0, 0x04030206},
+ {"n2_psi_repr" , 0x0b, 0x04, 0x04, NON_VPD_RING , 0, 0x04032006},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -136,23 +135,23 @@ namespace N3
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"n3_fure" , 0x00, 0x05, 0x05, NON_VPD_RING, 0, 0x0CC0000000009000},
- {"n3_gptr" , 0x01, 0x05, 0x05, NON_VPD_RING, 0, 0x0EC0000000002000},
- {"n3_time" , 0x02, 0x05, 0x05, NON_VPD_RING, 0, 0x0EC0000000000100},
- {"n3_mcs01_fure" , 0x03, 0x05, 0x05, NON_VPD_RING, 0, 0x0020000000009000},
- {"n3_mcs01_gptr" , 0x04, 0x05, 0x05, NON_VPD_RING, 0, 0x0020000000002000},
- {"n3_mcs01_time" , 0x05, 0x05, 0x05, NON_VPD_RING, 0, 0x0020000000000100},
- {"n3_np_fure" , 0x06, 0x05, 0x05, NON_VPD_RING, 0, 0x0100000000009000},
- {"n3_np_gptr" , 0x07, 0x05, 0x05, NON_VPD_RING, 0, 0x0100000000002000},
- {"n3_np_time" , 0x08, 0x05, 0x05, NON_VPD_RING, 0, 0x0100000000000100},
+ {"n3_fure" , 0x00, 0x05, 0x05, NON_VPD_RING , 0, 0x0503660F},
+ {"n3_gptr" , 0x01, 0x05, 0x05, NON_VPD_RING , 0, 0x05037602},
+ {"n3_time" , 0x02, 0x05, 0x05, NON_VPD_RING , 0, 0x05037607},
+ {"n3_mcs01_fure" , 0x03, 0x05, 0x05, NON_VPD_RING , 0, 0x0503010F},
+ {"n3_mcs01_gptr" , 0x04, 0x05, 0x05, NON_VPD_RING , 0, 0x05030102},
+ {"n3_mcs01_time" , 0x05, 0x05, 0x05, NON_VPD_RING , 0, 0x05030107},
+ {"n3_np_fure" , 0x06, 0x05, 0x05, NON_VPD_RING , 0, 0x0503080F},
+ {"n3_np_gptr" , 0x07, 0x05, 0x05, NON_VPD_RING , 0, 0x05030802},
+ {"n3_np_time" , 0x08, 0x05, 0x05, NON_VPD_RING , 0, 0x05030807},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"n3_repr" , 0x09, 0x05, 0x05, NON_VPD_RING, 0, 0x0EC0000000000200},
- {"n3_mcs01_repr" , 0x0a, 0x05, 0x05, NON_VPD_RING, 0, 0x0020000000000200},
- {"n3_np_repr" , 0x0b, 0x05, 0x05, NON_VPD_RING, 0, 0x0100000000000200},
+ {"n3_repr" , 0x09, 0x05, 0x05, NON_VPD_RING , 0, 0x05037606},
+ {"n3_mcs01_repr" , 0x0a, 0x05, 0x05, NON_VPD_RING , 0, 0x05030106},
+ {"n3_np_repr" , 0x0b, 0x05, 0x05, NON_VPD_RING , 0, 0x05030806},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -160,30 +159,30 @@ namespace XB
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"xb_fure" , 0x00, 0x06, 0x06, NON_VPD_RING, 0, 0x0880000000009000},
- {"xb_gptr" , 0x01, 0x06, 0x06, NON_VPD_RING, 0, 0x0880000000002000},
- {"xb_time" , 0x02, 0x06, 0x06, NON_VPD_RING, 0, 0x0880000000000100},
- {"xb_io0_fure" , 0x03, 0x06, 0x06, NON_VPD_RING, 0, 0x0440000000009000},
- {"xb_io0_gptr" , 0x04, 0x06, 0x06, NON_VPD_RING, 0, 0x0440000000002000},
- {"xb_io0_time" , 0x05, 0x06, 0x06, NON_VPD_RING, 0, 0x0440000000000100},
- {"xb_io1_fure" , 0x06, 0x06, 0x06, NON_VPD_RING, 0, 0x0220000000009000},
- {"xb_io1_gptr" , 0x07, 0x06, 0x06, NON_VPD_RING, 0, 0x0220000000002000},
- {"xb_io1_time" , 0x08, 0x06, 0x06, NON_VPD_RING, 0, 0x0220000000000100},
- {"xb_io2_fure" , 0x09, 0x06, 0x06, NON_VPD_RING, 0, 0x0110000000009000},
- {"xb_io2_gptr" , 0x0a, 0x06, 0x06, NON_VPD_RING, 0, 0x0110000000002000},
- {"xb_io2_time" , 0x0b, 0x06, 0x06, NON_VPD_RING, 0, 0x0110000000000100},
- {"xb_pll_gptr" , 0x0c, 0x06, 0x06, NON_VPD_RING, 0, 0x0002000000002000},
- {"xb_pll_bndy" , 0x0d, 0x06, 0x06, NON_VPD_RING, 0, 0x0002000000000080},
- {"xb_pll_func" , 0x0e, 0x06, 0x06, NON_VPD_RING, 0, 0x0002000000008000},
+ {"xb_fure" , 0x00, 0x06, 0x06, NON_VPD_RING , 0, 0x0603440F},
+ {"xb_gptr" , 0x01, 0x06, 0x06, NON_VPD_RING , 0, 0x06034402},
+ {"xb_time" , 0x02, 0x06, 0x06, NON_VPD_RING , 0, 0x06034407},
+ {"xb_io0_fure" , 0x03, 0x06, 0x06, NON_VPD_RING , 0, 0x0603220F},
+ {"xb_io0_gptr" , 0x04, 0x06, 0x06, NON_VPD_RING , 0, 0x06032202},
+ {"xb_io0_time" , 0x05, 0x06, 0x06, NON_VPD_RING , 0, 0x06032207},
+ {"xb_io1_fure" , 0x06, 0x06, 0x06, NON_VPD_RING , 0, 0x0603110F},
+ {"xb_io1_gptr" , 0x07, 0x06, 0x06, NON_VPD_RING , 0, 0x06031102},
+ {"xb_io1_time" , 0x08, 0x06, 0x06, NON_VPD_RING , 0, 0x06031107},
+ {"xb_io2_fure" , 0x09, 0x06, 0x06, NON_VPD_RING , 0, 0x0603088F},
+ {"xb_io2_gptr" , 0x0a, 0x06, 0x06, NON_VPD_RING , 0, 0x06030882},
+ {"xb_io2_time" , 0x0b, 0x06, 0x06, NON_VPD_RING , 0, 0x06030887},
+ {"xb_pll_gptr" , 0x0c, 0x06, 0x06, NON_VPD_RING , 0, 0x06030012},
+ {"xb_pll_bndy" , 0x0d, 0x06, 0x06, NON_VPD_RING , 0, 0x06030018},
+ {"xb_pll_func" , 0x0e, 0x06, 0x06, NON_VPD_RING , 0, 0x06030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"xb_repr" , 0x13, 0x06, 0x06, NON_VPD_RING, 0, 0x0880000000000200},
- {"xb_io0_repr" , 0x14, 0x06, 0x06, NON_VPD_RING, 0, 0x0440000000000200},
- {"xb_io1_repr" , 0x15, 0x06, 0x06, NON_VPD_RING, 0, 0x0220000000000200},
- {"xb_io2_repr" , 0x16, 0x06, 0x06, NON_VPD_RING, 0, 0x0110000000000200},
+ {"xb_repr" , 0x13, 0x06, 0x06, NON_VPD_RING , 0, 0x06034406},
+ {"xb_io0_repr" , 0x14, 0x06, 0x06, NON_VPD_RING , 0, 0x06032206},
+ {"xb_io1_repr" , 0x15, 0x06, 0x06, NON_VPD_RING , 0, 0x06031106},
+ {"xb_io2_repr" , 0x16, 0x06, 0x06, NON_VPD_RING , 0, 0x06030886},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -191,30 +190,30 @@ namespace MC
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"mc_fure" , 0x00, 0x07, 0x07, NON_VPD_RING, 0, 0x0C00000000009000},
- {"mc_gptr" , 0x01, 0x07, 0x07, NON_VPD_RING, 0, 0x0C00000000002000},
- {"mc_time" , 0x02, 0x07, 0x07, NON_VPD_RING, 0, 0x0C00000000000100},
- {"mc_iom01_fure" , 0x03, 0x07, 0x07, NON_VPD_RING, 0, 0x0200000000009000},
- {"mc_iom01_gptr" , 0x04, 0x07, 0x07, NON_VPD_RING, 0, 0x0200000000002000},
- {"mc_iom01_time" , 0x05, 0x07, 0x07, NON_VPD_RING, 0, 0x0200000000000100},
- {"mc_iom23_fure" , 0x06, 0x07, 0x07, NON_VPD_RING, 0, 0x0100000000009000},
- {"mc_iom23_gptr" , 0x07, 0x07, 0x07, NON_VPD_RING, 0, 0x0100000000002000},
- {"mc_iom23_time" , 0x08, 0x07, 0x07, NON_VPD_RING, 0, 0x0100000000000100},
- {"mc_pll_gptr" , 0x09, 0x07, 0x07, NON_VPD_RING, 0, 0x0002000000002000},
- {"mc_pll_bndy_bucket_1" , 0x0a, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x0002000000000080},
- {"mc_pll_bndy_bucket_2" , 0x0b, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x0002000000000080},
- {"mc_pll_bndy_bucket_3" , 0x0c, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x0002000000000080},
- {"mc_pll_bndy_bucket_4" , 0x0d, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x0002000000000080},
- {"mc_pll_bndy_bucket_5" , 0x0e, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x0002000000000080},
- {"mc_pll_func" , 0x0f, 0x07, 0x07, NON_VPD_RING, 0, 0x0002000000008000},
+ {"mc_fure" , 0x00, 0x07, 0x07, NON_VPD_RING, 0, 0x0703600F},
+ {"mc_gptr" , 0x01, 0x07, 0x07, NON_VPD_RING, 0, 0x07036002},
+ {"mc_time" , 0x02, 0x07, 0x07, NON_VPD_RING, 0, 0x07036007},
+ {"mc_iom01_fure" , 0x03, 0x07, 0x07, NON_VPD_RING, 0, 0x0703100F},
+ {"mc_iom01_gptr" , 0x04, 0x07, 0x07, NON_VPD_RING, 0, 0x07031002},
+ {"mc_iom01_time" , 0x05, 0x07, 0x07, NON_VPD_RING, 0, 0x07031007},
+ {"mc_iom23_fure" , 0x06, 0x07, 0x07, NON_VPD_RING, 0, 0x0703080F},
+ {"mc_iom23_gptr" , 0x07, 0x07, 0x07, NON_VPD_RING, 0, 0x07030802},
+ {"mc_iom23_time" , 0x08, 0x07, 0x07, NON_VPD_RING, 0, 0x07030807},
+ {"mc_pll_gptr" , 0x09, 0x07, 0x07, NON_VPD_RING, 0, 0x07030012},
+ {"mc_pll_bndy_bucket_1", 0x0a, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x07030018},
+ {"mc_pll_bndy_bucket_2", 0x0b, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x07030018},
+ {"mc_pll_bndy_bucket_3", 0x0c, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x07030018},
+ {"mc_pll_bndy_bucket_4", 0x0d, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x07030018},
+ {"mc_pll_bndy_bucket_5", 0x0e, 0x07, 0x07, NON_VPD_PLL_RING, 0, 0x07030018},
+ {"mc_pll_func" , 0x0f, 0x07, 0x07, NON_VPD_RING, 0, 0x07030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"mc_repr" , 0x10, 0x07, 0x08, NON_VPD_RING, 0, 0x0C00000000000200},
- {"mc_iom01_repr" , 0x11, 0x07, 0x08, NON_VPD_RING, 0, 0x0200000000000200},
- {"mc_iom23_repr" , 0x12, 0x07, 0x08, NON_VPD_RING, 0, 0x0100000000000200},
+ {"mc_repr" , 0x10, 0x07, 0x08, NON_VPD_RING , 0, 0x07036006},
+ {"mc_iom01_repr" , 0x11, 0x07, 0x08, NON_VPD_RING , 0, 0x07031006},
+ {"mc_iom23_repr" , 0x12, 0x07, 0x08, NON_VPD_RING , 0, 0x07030806},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -222,18 +221,18 @@ namespace OB0
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"ob0_fure" , 0x00, 0x09, 0x09, NON_VPD_RING, 0, 0x0E00000000009000},
- {"ob0_gptr" , 0x01, 0x09, 0x09, NON_VPD_RING, 0, 0x0E00000000002000},
- {"ob0_time" , 0x02, 0x09, 0x09, NON_VPD_RING, 0, 0x0E00000000000100},
- {"ob0_pll_gptr" , 0x03, 0x09, 0x09, NON_VPD_RING, 0, 0x0002000000002000},
- {"ob0_pll_bndy" , 0x04, 0x09, 0x09, NON_VPD_RING, 0, 0x0002000000000080},
- {"ob0_pll_func" , 0x05, 0x09, 0x09, NON_VPD_RING, 0, 0x0002000000008000},
+ {"ob0_fure" , 0x00, 0x09, 0x09, NON_VPD_RING , 0, 0x0903700F},
+ {"ob0_gptr" , 0x01, 0x09, 0x09, NON_VPD_RING , 0, 0x09037002},
+ {"ob0_time" , 0x02, 0x09, 0x09, NON_VPD_RING , 0, 0x09037007},
+ {"ob0_pll_gptr" , 0x03, 0x09, 0x09, NON_VPD_RING , 0, 0x09030012},
+ {"ob0_pll_bndy" , 0x04, 0x09, 0x09, NON_VPD_RING , 0, 0x09030018},
+ {"ob0_pll_func" , 0x05, 0x09, 0x09, NON_VPD_RING , 0, 0x09030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"ob0_repr" , 0x0a, 0x09, 0x09, NON_VPD_RING, 0, 0x0E00000000000200},
+ {"ob0_repr" , 0x0a, 0x09, 0x09, NON_VPD_RING , 0, 0x09037006},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -241,18 +240,18 @@ namespace OB1
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"ob1_fure" , 0x00, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0E00000000009000},
- {"ob1_gptr" , 0x01, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0E00000000002000},
- {"ob1_time" , 0x02, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0E00000000000100},
- {"ob1_pll_gptr" , 0x03, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0002000000002000},
- {"ob1_pll_bndy" , 0x04, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0002000000000080},
- {"ob1_pll_func" , 0x05, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0002000000008000},
+ {"ob1_fure" , 0x00, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A03700F},
+ {"ob1_gptr" , 0x01, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A037002},
+ {"ob1_time" , 0x02, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A037007},
+ {"ob1_pll_gptr" , 0x03, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A030012},
+ {"ob1_pll_bndy" , 0x04, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A030018},
+ {"ob1_pll_func" , 0x05, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"ob1_repr" , 0x0a, 0x0a, 0x0a, NON_VPD_RING, 0, 0x0E00000000000200},
+ {"ob1_repr" , 0x0a, 0x0a, 0x0a, NON_VPD_RING , 0, 0x0A037006},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -260,18 +259,18 @@ namespace OB2
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"ob2_fure" , 0x00, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0E00000000009000},
- {"ob2_gptr" , 0x01, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0E00000000002000},
- {"ob2_time" , 0x02, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0E00000000000100},
- {"ob2_pll_gptr" , 0x03, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0002000000002000},
- {"ob2_pll_bndy" , 0x04, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0002000000000080},
- {"ob2_pll_func" , 0x05, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0002000000008000},
+ {"ob2_fure" , 0x00, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B03700F},
+ {"ob2_gptr" , 0x01, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B037002},
+ {"ob2_time" , 0x02, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B037007},
+ {"ob2_pll_gptr" , 0x03, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B030012},
+ {"ob2_pll_bndy" , 0x04, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B030018},
+ {"ob2_pll_func" , 0x05, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"ob2_repr" , 0x0a, 0x0b, 0x0b, NON_VPD_RING, 0, 0x0E00000000000200},
+ {"ob2_repr" , 0x0a, 0x0b, 0x0b, NON_VPD_RING , 0, 0x0B037006},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -279,18 +278,18 @@ namespace OB3
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"ob3_fure" , 0x00, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0E00000000009000},
- {"ob3_gptr" , 0x01, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0E00000000002000},
- {"ob3_time" , 0x02, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0E00000000000100},
- {"ob3_pll_gptr" , 0x03, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0002000000002000},
- {"ob3_pll_bndy" , 0x04, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0002000000000080},
- {"ob3_pll_func" , 0x05, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0002000000008000},
+ {"ob3_fure" , 0x00, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C03700F},
+ {"ob3_gptr" , 0x01, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C037002},
+ {"ob3_time" , 0x02, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C037007},
+ {"ob3_pll_gptr" , 0x03, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C030012},
+ {"ob3_pll_bndy" , 0x04, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C030018},
+ {"ob3_pll_func" , 0x05, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C030010},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"ob3_repr" , 0x0a, 0x0c, 0x0c, NON_VPD_RING, 0, 0x0E00000000000200},
+ {"ob3_repr" , 0x0a, 0x0c, 0x0c, NON_VPD_RING , 0, 0x0C037006},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -298,17 +297,17 @@ namespace PCI0
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"pci0_fure" , 0x00, 0x0d, 0x0d, NON_VPD_RING, 0, 0x0E00000000009000},
- {"pci0_gptr" , 0x01, 0x0d, 0x0d, NON_VPD_RING, 0, 0x0E00000000002000},
- {"pci0_time" , 0x02, 0x0d, 0x0d, NON_VPD_RING, 0, 0x0E00000000000100},
- {"pci0_pll_bndy" , 0x03, 0x0d, 0x0d, NON_VPD_RING, 0, 0x0002000000000080},
- {"pci0_pll_gptr" , 0x04, 0x0d, 0x0d, NON_VPD_RING, 0, 0x0002000000002000},
+ {"pci0_fure" , 0x00, 0x0d, 0x0d, NON_VPD_RING , 0, 0x0D03700F},
+ {"pci0_gptr" , 0x01, 0x0d, 0x0d, NON_VPD_RING , 0, 0x0D037002},
+ {"pci0_time" , 0x02, 0x0d, 0x0d, NON_VPD_RING , 0, 0x0D037007},
+ {"pci0_pll_bndy" , 0x03, 0x0d, 0x0d, NON_VPD_RING , 0, 0x0D030018},
+ {"pci0_pll_gptr" , 0x04, 0x0d, 0x0d, NON_VPD_RING , 0, 0x0D030012},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"pci0_repr" , 0x05, 0x0d, 0x0d, NON_VPD_RING, 0, 0x0E00000000000200},
+ {"pci0_repr" , 0x05, 0x0d, 0x0d, NON_VPD_RING , 0, 0x0D03700F},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -316,17 +315,17 @@ namespace PCI1
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"pci1_fure" , 0x00, 0x0e, 0x0e, NON_VPD_RING, 0, 0x0F00000000009000},
- {"pci1_gptr" , 0x01, 0x0e, 0x0e, NON_VPD_RING, 0, 0x0F00000000002000},
- {"pci1_time" , 0x02, 0x0e, 0x0e, NON_VPD_RING, 0, 0x0F00000000000100},
- {"pci1_pll_bndy" , 0x03, 0x0e, 0x0e, NON_VPD_RING, 0, 0x0002000000000080},
- {"pci1_pll_gptr" , 0x04, 0x0e, 0x0e, NON_VPD_RING, 0, 0x0002000000002000},
+ {"pci1_fure" , 0x00, 0x0e, 0x0e, NON_VPD_RING , 0, 0x0E03700F},
+ {"pci1_gptr" , 0x01, 0x0e, 0x0e, NON_VPD_RING , 0, 0x0E037002},
+ {"pci1_time" , 0x02, 0x0e, 0x0e, NON_VPD_RING , 0, 0x0E037007},
+ {"pci1_pll_bndy" , 0x03, 0x0e, 0x0e, NON_VPD_RING , 0, 0x0E030018},
+ {"pci1_pll_gptr" , 0x04, 0x0e, 0x0e, NON_VPD_RING , 0, 0x0E030012},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"pci1_repr" , 0x05, 0x0e, 0x0e, NON_VPD_RING, 0, 0x0F00000000000200},
+ {"pci1_repr" , 0x05, 0x0e, 0x0e, NON_VPD_RING , 0, 0x0E03700F},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -334,17 +333,17 @@ namespace PCI2
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"pci2_fure" , 0x00, 0x0f, 0x0f, NON_VPD_RING, 0, 0x0F80000000009000},
- {"pci2_gptr" , 0x01, 0x0f, 0x0f, NON_VPD_RING, 0, 0x0F80000000002000},
- {"pci2_time" , 0x02, 0x0f, 0x0f, NON_VPD_RING, 0, 0x0F80000000000100},
- {"pci2_pll_bndy" , 0x03, 0x0f, 0x0f, NON_VPD_RING, 0, 0x0002000000000080},
- {"pci2_pll_gptr" , 0x04, 0x0f, 0x0f, NON_VPD_RING, 0, 0x0002000000002000},
+ {"pci2_fure" , 0x00, 0x0f, 0x0f, NON_VPD_RING , 0, 0x0F03700F},
+ {"pci2_gptr" , 0x01, 0x0f, 0x0f, NON_VPD_RING , 0, 0x0F037002},
+ {"pci2_time" , 0x02, 0x0f, 0x0f, NON_VPD_RING , 0, 0x0F037007},
+ {"pci2_pll_bndy" , 0x03, 0x0f, 0x0f, NON_VPD_RING , 0, 0x0F030018},
+ {"pci2_pll_gptr" , 0x04, 0x0f, 0x0f, NON_VPD_RING , 0, 0x0F030012},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"pci2_repr" , 0x05, 0x0F, 0x0F, NON_VPD_RING, 0, 0x0F80000000000200},
+ {"pci2_repr" , 0x05, 0x0F, 0x0F, NON_VPD_RING , 0, 0x0F03700F},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, RL, NOT_VALID };
};
@@ -352,64 +351,64 @@ namespace EQ
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- {"eq_fure" , 0x00, 0x10, 0x10, NON_VPD_RING, 0, 0x0C10000000009000},
- {"eq_gptr" , 0x01, 0x10, 0x10, NON_VPD_RING, 0, 0x0C10000000002000},
- {"eq_time" , 0x02, 0x10, 0x10, NON_VPD_RING, 0, 0x0C10000000000100},
- {"eq_mode" , 0x03, 0x10, 0x10, NON_VPD_RING, 0, 0x0C10000000004000},
- {"ex_l3_fure" , 0x04, 0x10, 0x10, NON_VPD_RING, 0, 0x0200000000009000},
- {"ex_l3_gptr" , 0x05, 0x10, 0x10, NON_VPD_RING, 0, 0x0200000000002000},
- {"ex_l3_time" , 0x06, 0x10, 0x10, NON_VPD_RING, 0, 0x0200000000000100},
- {"ex_l2_mode" , 0x07, 0x10, 0x10, NON_VPD_RING, 0, 0x0080000000004000},
- {"ex_l2_fure" , 0x08, 0x10, 0x10, NON_VPD_RING, 0, 0x0080000000009000},
- {"ex_l2_gptr" , 0x09, 0x10, 0x10, NON_VPD_RING, 0, 0x0080000000002000},
- {"ex_l2_time" , 0x0a, 0x10, 0x10, NON_VPD_RING, 0, 0x0080000000000100},
- {"ex_l3_refr_fure" , 0x0b, 0x10, 0x10, NON_VPD_RING, 0, 0x0008000000009000},
- {"ex_l3_refr_gptr" , 0x0c, 0x10, 0x10, NON_VPD_RING, 0, 0x0008000000002000},
- {"eq_ana_func" , 0x0d, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000008000},
- {"eq_ana_gptr" , 0x0e, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000002000},
- {"eq_dpll_func" , 0x0f, 0x10, 0x10, NON_VPD_RING, 0, 0x0002000000008000},
- {"eq_dpll_gptr" , 0x10, 0x10, 0x10, NON_VPD_RING, 0, 0x0002000000002000},
- {"eq_dpll_mode" , 0x11, 0x10, 0x10, NON_VPD_RING, 0, 0x0002000000004000},
- {"eq_ana_bndy_bucket_0" , 0x12, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_1" , 0x13, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_2" , 0x14, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_3" , 0x15, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_4" , 0x16, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_5" , 0x17, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_6" , 0x18, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_7" , 0x19, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_8" , 0x1a, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_9" , 0x1b, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_10" , 0x1c, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_11" , 0x1d, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_12" , 0x1e, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_13" , 0x1f, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_14" , 0x20, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_15" , 0x21, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_16" , 0x22, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_17" , 0x23, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_18" , 0x24, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_19" , 0x25, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_20" , 0x26, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_21" , 0x27, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_22" , 0x28, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_23" , 0x29, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_24" , 0x2a, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_bucket_25" , 0x2b, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_bndy_l3dcc_bucket_26", 0x2c, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000000080},
- {"eq_ana_mode" , 0x2d, 0x10, 0x10, NON_VPD_RING, 0, 0x0020000000004000},
- {"ex_l2_fure_1" , 0x2e, 0x10, 0x10, NON_VPD_RING, 0, 0x0080000000009000},
- {"ex_l3_fure_1" , 0x2f, 0x10, 0x10, NON_VPD_RING, 0, 0x0200000000009000},
+ {"eq_fure" , 0x00, 0x10, 0x10, NON_VPD_RING, 0, 0x1003608F},
+ {"eq_gptr" , 0x01, 0x10, 0x10, NON_VPD_RING, 0, 0x10036082},
+ {"eq_time" , 0x02, 0x10, 0x10, NON_VPD_RING, 0, 0x10036087},
+ {"eq_mode" , 0x03, 0x10, 0x10, NON_VPD_RING, 0, 0x10036081},
+ {"ex_l3_fure" , 0x04, 0x10, 0x10, NON_VPD_RING, 0, 0x1003100F},
+ {"ex_l3_gptr" , 0x05, 0x10, 0x10, NON_VPD_RING, 0, 0x10031002},
+ {"ex_l3_time" , 0x06, 0x10, 0x10, NON_VPD_RING, 0, 0x10031007},
+ {"ex_l2_mode" , 0x07, 0x10, 0x10, NON_VPD_RING, 0, 0x10030401},
+ {"ex_l2_fure" , 0x08, 0x10, 0x10, NON_VPD_RING, 0, 0x1003040F},
+ {"ex_l2_gptr" , 0x09, 0x10, 0x10, NON_VPD_RING, 0, 0x10030402},
+ {"ex_l2_time" , 0x0a, 0x10, 0x10, NON_VPD_RING, 0, 0x10030407},
+ {"ex_l3_refr_fure" , 0x0b, 0x10, 0x10, NON_VPD_RING, 0, 0x1003004F},
+ {"ex_l3_refr_gptr" , 0x0c, 0x10, 0x10, NON_VPD_RING, 0, 0x10030042},
+ {"eq_ana_func" , 0x0d, 0x10, 0x10, NON_VPD_RING, 0, 0x10030100},
+ {"eq_ana_gptr" , 0x0e, 0x10, 0x10, NON_VPD_RING, 0, 0x10030102},
+ {"eq_dpll_func" , 0x0f, 0x10, 0x10, NON_VPD_RING, 0, 0x10030010},
+ {"eq_dpll_gptr" , 0x10, 0x10, 0x10, NON_VPD_RING, 0, 0x10030012},
+ {"eq_dpll_mode" , 0x11, 0x10, 0x10, NON_VPD_RING, 0, 0x10030011},
+ {"eq_ana_bndy_bucket_0" , 0x12, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_1" , 0x13, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_2" , 0x14, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_3" , 0x15, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_4" , 0x16, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_5" , 0x17, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_6" , 0x18, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_7" , 0x19, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_8" , 0x1a, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_9" , 0x1b, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_10" , 0x1c, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_11" , 0x1d, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_12" , 0x1e, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_13" , 0x1f, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_14" , 0x20, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_15" , 0x21, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_16" , 0x22, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_17" , 0x23, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_18" , 0x24, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_19" , 0x25, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_20" , 0x26, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_21" , 0x27, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_22" , 0x28, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_23" , 0x29, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_24" , 0x2a, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_bucket_25" , 0x2b, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_bndy_l3dcc_bucket_26", 0x2c, 0x10, 0x10, NON_VPD_RING, 0, 0x10030108},
+ {"eq_ana_mode" , 0x2d, 0x10, 0x10, NON_VPD_RING, 0, 0x10030101},
+ {"ex_l2_fure_1" , 0x2e, 0x10, 0x10, NON_VPD_RING, 0, 0x1003040F},
+ {"ex_l3_fure_1" , 0x2f, 0x10, 0x10, NON_VPD_RING, 0, 0x1003100F},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- {"eq_repr" , 0x30, 0x10, 0x1b, NON_VPD_RING, 0, 0x0C10000000000200},
- {"ex_l3_repr" , 0x31, 0x10, 0x1b, NON_VPD_RING, 0, 0x0200000000000200},
- {"ex_l2_repr" , 0x32, 0x10, 0x1b, NON_VPD_RING, 0, 0x0080000000000200},
- {"ex_l3_refr_repr" , 0x33, 0x10, 0x1b, NON_VPD_RING, 0, 0x0008000000000200},
- {"ex_l3_refr_time" , 0x34, 0x10, 0x1b, NON_VPD_RING, 0, 0x0008000000000100},
+ {"eq_repr" , 0x30, 0x10, 0x1b, NON_VPD_RING , 0, 0x10036086},
+ {"ex_l3_repr" , 0x31, 0x10, 0x1b, NON_VPD_RING , 0, 0x10031006},
+ {"ex_l2_repr" , 0x32, 0x10, 0x1b, NON_VPD_RING , 0, 0x10030406},
+ {"ex_l3_refr_repr" , 0x33, 0x10, 0x1b, NON_VPD_RING , 0, 0x10030046},
+ {"ex_l3_refr_time" , 0x34, 0x10, 0x1b, NON_VPD_RING , 0, 0x10030047},
};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, CC, RL};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, CC, RL };
};
@@ -417,15 +416,202 @@ namespace EC
{
const GenRingIdList RING_ID_LIST_COMMON[] =
{
- { "ec_func" , 0x00, 0x20, 0x20, NON_VPD_RING, 0, 0x0E00000000009000},
- { "ec_gptr" , 0x01, 0x20, 0x20, NON_VPD_RING, 0, 0x0E00000000002000},
- { "ec_time" , 0x02, 0x20, 0x20, NON_VPD_RING, 0, 0x0E00000000000100},
- { "ec_mode" , 0x03, 0x20, 0x20, NON_VPD_RING, 0, 0x0E00000000004000},
+ { "ec_func" , 0x00, 0x20, 0x20, NON_VPD_RING , 0, 0x2003700F},
+ { "ec_gptr" , 0x01, 0x20, 0x20, NON_VPD_RING , 0, 0x20037002},
+ { "ec_time" , 0x02, 0x20, 0x20, NON_VPD_RING , 0, 0x20037007},
+ { "ec_mode" , 0x03, 0x20, 0x20, NON_VPD_RING , 0, 0x20037001},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
- { "ec_repr" , 0x04, 0x20, 0x37, NON_VPD_RING, 0, 0x0E00000000000200},
-};
-const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, CC, RL};
-};
-
+ { "ec_repr" , 0x04, 0x20, 0x37, NON_VPD_RING , 0, 0x20037006},
+};
+const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, CC, RL };
+};
+
+CHIPLET_TYPE p9_ringid_get_chiplet(RingID i_ringId)
+{
+ return RING_PROPERTIES[i_ringId].iv_type;
+}
+
+void p9_ringid_get_chiplet_properties(
+ CHIPLET_TYPE i_chiplet,
+ CHIPLET_DATA** o_cpltData,
+ GenRingIdList** o_ringComm,
+ GenRingIdList** o_ringInst,
+ RingVariantOrder** o_varOrder,
+ uint8_t* o_varNumb)
+{
+ switch (i_chiplet)
+ {
+ case PERV_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &PERV::g_pervData;
+ *o_ringComm = (GenRingIdList*) PERV::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) PERV::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) PERV::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(PERV::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case N0_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &N0::g_n0Data;
+ *o_ringComm = (GenRingIdList*) N0::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) N0::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) N0::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(N0::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case N1_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &N1::g_n1Data;
+ *o_ringComm = (GenRingIdList*) N1::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) N1::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) N1::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(N1::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case N2_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &N2::g_n2Data;
+ *o_ringComm = (GenRingIdList*) N2::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) N2::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) N2::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(N2::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case N3_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &N3::g_n3Data;
+ *o_ringComm = (GenRingIdList*) N3::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) N3::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) N3::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(N3::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case XB_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &XB::g_xbData;
+ *o_ringComm = (GenRingIdList*) XB::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) XB::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) XB::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(XB::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case MC_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &MC::g_mcData;
+ *o_ringComm = (GenRingIdList*) MC::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) MC::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) MC::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(MC::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case OB0_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &OB0::g_ob0Data;
+ *o_ringComm = (GenRingIdList*) OB0::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) OB0::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) OB0::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(OB0::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case OB1_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &OB1::g_ob1Data;
+ *o_ringComm = (GenRingIdList*) OB1::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) OB1::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) OB1::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(OB1::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case OB2_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &OB2::g_ob2Data;
+ *o_ringComm = (GenRingIdList*) OB2::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) OB2::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) OB2::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(OB2::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case OB3_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &OB3::g_ob3Data;
+ *o_ringComm = (GenRingIdList*) OB3::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) OB3::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) OB3::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(OB3::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case PCI0_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &PCI0::g_pci0Data;
+ *o_ringComm = (GenRingIdList*) PCI0::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) PCI0::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) PCI0::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(PCI0::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case PCI1_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &PCI1::g_pci1Data;
+ *o_ringComm = (GenRingIdList*) PCI1::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) PCI1::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) PCI1::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(PCI1::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case PCI2_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &PCI2::g_pci2Data;
+ *o_ringComm = (GenRingIdList*) PCI2::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) PCI2::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) PCI2::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(PCI2::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case EQ_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &EQ::g_eqData;
+ *o_ringComm = (GenRingIdList*) EQ::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) EQ::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) EQ::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(EQ::RingVariants) / sizeof(uint16_t);
+ break;
+
+ case EC_TYPE :
+ *o_cpltData = (CHIPLET_DATA*) &EC::g_ecData;
+ *o_ringComm = (GenRingIdList*) EC::RING_ID_LIST_COMMON;
+ *o_ringInst = (GenRingIdList*) EC::RING_ID_LIST_INSTANCE;
+ *o_varOrder = (RingVariantOrder*) EC::RING_VARIANT_ORDER;
+ *o_varNumb = sizeof(EC::RingVariants) / sizeof(uint16_t);
+ break;
+
+ default :
+ *o_cpltData = NULL;
+ *o_ringComm = NULL;
+ *o_ringInst = NULL;
+ *o_varOrder = NULL;
+ *o_varNumb = 0;
+ break;
+ }
+}
+
+GenRingIdList* p9_ringid_get_ring_properties(RingID i_ringId)
+{
+ CHIPLET_DATA* l_cpltData;
+ GenRingIdList* l_ringList[2]; // 0: common, 1: instance
+ RingVariantOrder* l_varOrder;
+ uint8_t l_varNumb;
+ int i, j, n;
+
+ p9_ringid_get_chiplet_properties(
+ p9_ringid_get_chiplet(i_ringId),
+ &l_cpltData, &l_ringList[0], &l_ringList[1], &l_varOrder, &l_varNumb);
+
+ if (!l_ringList[0])
+ {
+ return NULL;
+ }
+
+ for (j = 0; j < 2; j++) // 0: common, 1: instance
+ {
+ n = (j ? l_cpltData->iv_num_instance_rings
+ : l_cpltData->iv_num_common_rings);
+
+ for (i = 0; i < n; i++)
+ {
+ if (!strcmp(l_ringList[j][i].ringName,
+ RING_PROPERTIES[i_ringId].iv_name))
+ {
+ return &(l_ringList[j][i]);
+ }
+ }
+ }
+
+ return NULL;
+}
diff --git a/src/import/chips/p9/utils/imageProcs/p9_ringId.H b/src/import/chips/p9/utils/imageProcs/p9_ringId.H
index 4bda700e..fb4412d8 100644
--- a/src/import/chips/p9/utils/imageProcs/p9_ringId.H
+++ b/src/import/chips/p9/utils/imageProcs/p9_ringId.H
@@ -27,6 +27,8 @@
#define _P9_RINGID_H_
#include <stdint.h>
+#include <stddef.h>
+
#include <p9_ring_id.h>
// General Ring ID list structure
@@ -38,7 +40,7 @@ typedef struct
uint8_t instanceIdMax; // the max instanceId
uint8_t vpdKeyword;
uint8_t pllCopy; // 0,1,2,3,4,5 -- No of PLL copies required
- uint64_t scanRegionType;
+ uint32_t scanScomAddress;
} GenRingIdList;
typedef enum RingVariant // Base variables
@@ -1303,4 +1305,25 @@ static const ringProperties_t RING_PROPERTIES[NUM_RING_IDS] =
};
#endif
+// returns our own chiplet enum value for this ringId
+CHIPLET_TYPE
+p9_ringid_get_chiplet(
+ RingID i_ringId);
+
+// returns data structures defined for chiplet type
+// as determined by ringId
+void
+p9_ringid_get_chiplet_properties(
+ CHIPLET_TYPE i_chiplet,
+ CHIPLET_DATA** o_cpltData,
+ GenRingIdList** o_ringComm,
+ GenRingIdList** o_ringInst,
+ RingVariantOrder** o_varOrder,
+ uint8_t* o_varNumb);
+
+// returns properties of a ring as determined by ringId
+GenRingIdList*
+p9_ringid_get_ring_properties(
+ RingID i_ringId);
+
#endif
diff --git a/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H b/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H
index 3a4a7848..5c2bcdef 100644
--- a/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H
+++ b/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H
@@ -36,92 +36,49 @@
/// Compressed Scan Chain Data Structure Format
///
/// The compressed scan ring data structure must be 8-byte aligned in
-/// memory. The container data structure consists of this 24-byte header
+/// memory. The container data structure consists of a header
/// followed by an arbitrary number of 8 byte doublewords containing the
-/// compressed scan data. Images are always stored and processed in
-/// big-endian byte order. This container format is common across all
+/// compressed scan data. Images are always stored and processed in
+/// big-endian byte order. The header format is common across all
/// decompression algorithms.
///
-/// Bytes - Content
-///
-/// 0:3 - A 32-bit "magic number" that identifies and validates the
-/// compression algorithm and algorithm version used to compress the data.
-///
-/// 4:7 - The 32-bit size of the entire data structure in \e bytes. Thi
-/// consists of this 24-byte header plus the compressed scan data. This value
-/// is always a multiple of 8.
+/// ATTENTION:
+/// The RS4v2 CompressedScanData had a 4 byte magic value with 0x34 ("4")
+/// within its third byte, which is at the same byte position as iv_version
+/// now. Users of CompressedScanData which use the magic value to detect
+/// a ring data structure won't be able to distingish old and new
+/// CompressedScanData for iv_version being 0x34. In the very unlikely case
+/// that we would have that many versions of ComprossedScanData, it is
+/// strongly suggested to simply skip 0x34 as version number.
///
-/// 8:11 - This 32-bit value is reserved to the compression
-/// algorithm. Typically this field is used to record the 'size' of the
-/// compressed string in units specific to each algorithm.
-///
-/// 12:15 - The length of the original scan chain in \e bits.
-///
-/// 16:23 - The 64 bit scan Region and type details
+/// Bytes - Content
///
+/// 0:1 - A 16-bit "magic number" that identifies and validates the
+/// compression algorithm used to compress the data ("RS").
///
-/// 24:27 - The 32 high-order bits of the value written to the Scan Select
-/// register to set up the scan. The Scan Select register only defines these
-/// bits. (Planned to use scan scom register value)
+/// 2 - An 8-bit version number (3 for the time being).
///
-/// 28 - The Scan Chain Data Structure version number
+/// 3 - An 8-bit type field distinguishing different scan data types
+/// (0 for non-CMSK, 1 for CMSK).
///
-/// 29 - Flush-optimize : Is this byte is non-zero, the ring state to be
-/// modified is the flush state of the ring.
+/// 4:5 - The 16-bit size of the uncompressed scan data with
+/// this header in \e bytes. This is not the exact length of actual scan data
+/// in bits, but the number of bytes used by the RS4 encoding to store those
+/// compressed scan bits.
///
-/// 30 - The ring ID uniquely identifying the repair ring name.
+/// 6:7 - The 16-bit ring ID uniquely identifying the ring.
///
-/// 31 - The 7-bit pervasive chiplet Id + Multicast bit of the chiplet to
-/// scan. This value is loaded directly into P0. The decompression
-/// algorithms provide two entry points - one that uses this value as the
-/// chiplet Id, and another that allows the caller to specify the chiplet Id
-/// in the call.
-
+/// 8:11 - scan scom register value
typedef struct
{
-
- /// Magic number - See \ref scan_compression_magic
- uint32_t iv_magic;
-
- /// Total size in bytes, including the container header
- uint32_t iv_size;
-
- /// Reserved to the algorithm
- uint32_t iv_algorithmReserved;
-
- /// Length of the original scan chain in bits
- uint32_t iv_length;
-
- /// 64 bit scan select register value
- uint64_t iv_scanSelect;
-
- /// Data structure (header) version
- uint8_t iv_headerVersion;
-
- /// Flush-state optimization
- ///
- /// Normally, modifying the state of the ring requires XOR-ing the
- /// difference state (the compressed state) with the current ring state as
- /// it will appear in the Scan Data Register. If the current state of the
- /// ring is the scan-0 flush state, then by definition the Scan Data
- /// Register is always 0. Therefore we can simply write the difference to
- /// the Scan Data Register rather than using a read-XOR-write.
- uint8_t iv_flushOptimization;
-
- /// Ring ID uniquely identifying the repair name. (See the list of ring
- /// name vs ring IDs in p8_ring_identification.c).
- uint8_t iv_ringId;
-
- /// 7-bit pervasive chiplet Id + Multicast bit
- ///
- /// This field is right-justified in an 8-byte aligned doubleword so that
- /// the P0 register can be directly updated from the doubelword value in a
- /// data register.
- uint8_t iv_chipletId;
-
+ uint16_t iv_magic;
+ uint8_t iv_version;
+ uint8_t iv_type;
+ uint16_t iv_size;
+ uint16_t iv_ringId;
+ uint32_t iv_scanAddr;
} CompressedScanData;
-
/// Endian-translate a CompressedScanData structure
///
/// \param o_data A pointer to a CompressedScanData structure to receive the
@@ -141,17 +98,14 @@ compressed_scan_data_translate(CompressedScanData* o_data,
/// Compress a scan string using the RS4 compression algorithm
///
-/// \param[in,out] io_data This is a pointer to a memory area which must be
-/// large enough to hold the worst-case result of compressing \a i_string (see
-/// below). Note that the CompressedScanData is always created in big-endian
-/// format, however the caller can use compresed_scan_data_translate() to
-/// create a copy of the header in host format.
-///
-/// \param[in] i_dataSize The size of \a io_data in bytes.
+/// \param[in,out] io_rs4 This is a pointer to a memory area which must be
+/// large enough to hold the worst-case result of compressing \a i_data_str
+/// and \a i_care_str (see below). Note that the CompressedScanData is
+/// always created in big-endian format, however the caller can use
+/// compresed_scan_data_translate() to create a copy of the header in
+/// host format.
///
-/// \param[out] o_imageSize The effective size of the entire compressed scan
-/// data structure (header + compressed data) created in \a io_data, in bytes.
-/// This value will always be a multiple of 8.
+/// \param[in] i_size The size of the buffer pointed to by \a io_rs4.
///
/// \param[in] i_data_str The string to compress. Scan data to compress is
/// left-justified in this input string.
@@ -162,61 +116,42 @@ compressed_scan_data_translate(CompressedScanData* o_data,
/// \param[in] i_length The length of the input string in \e bits. It is
/// assumed the \a i_string contains at least (\a i_length + 7) / 8 bytes.
///
-/// \param[in] i_scanSelect The 64-bit value written to the Scan Select
-/// register to set up for the scan.
+/// \param[in] i_scanAddr The 32-bit scan address.
///
/// \param[in] i_ringId The ring ID that uniquely identifies the ring name of
-/// a repair ring. (See p8_ring_identification.c for more info.)
-///
-/// \param[in] i_chipletId The 7-bit value for the iv_chipletId field of the
-/// CompressedScanData.
-///
-/// \param[in] i_flushOptimization This input parameter should be set to a
-/// non-0 value if it is known that this ring difference will be applied to a
-/// scan-0 flush state. This will improve the performance of the
-/// decompress-scan routine. If the initial state of the ring is unknown, set
-/// this parameter to 0.
+/// a repair ring. (See p9_ring_id.h for more info.)
///
/// This API is required for integration with PHYP which does not support
/// malloc(). Applications in environments supporting malloc() can use
/// rs4_compress() instead.
///
-/// The worst-case compression for RS4 requires 2 nibbles of control overhead
-/// per 15 nibbles of data (17/15), plus a maximum of 2 nibbles of termination.
-/// We always require this worst-case amount of memory including the header and
+/// We always require the worst-case amount of memory including the header and
/// any rounding required to guarantee that the data size is a multiple of 8
/// bytes. The final image size is also rounded up to a multiple of 8 bytes.
-/// If the \a i_dataSize is less than this amount (based on \a i_length) the
+/// If the \a io_size is less than this amount (based on \a i_length) the
/// call will fail.
///
/// \returns See \ref scan_compression_codes
int
-_rs4_compress(CompressedScanData* io_data,
- uint32_t i_dataSize,
- uint32_t* o_imageSize,
+_rs4_compress(CompressedScanData* io_rs4,
+ const uint32_t i_size,
const uint8_t* i_data_str,
const uint8_t* i_care_str,
const uint32_t i_length,
- const uint64_t i_scanSelect,
- const uint8_t i_ringId,
- const uint8_t i_chipletId,
- const uint8_t i_flushOptimization);
+ const uint32_t i_scanAddr,
+ const uint16_t i_ringId);
/// Compress a scan string using the RS4 compression algorithm
///
-/// \param[out] o_data This algorithm uses malloc() to allocate memory for the
-/// compresed data, and returns a pointer to this memory in \a o_data. After
+/// \param[out] o_rs4 This algorithm uses malloc() to allocate memory for the
+/// compressed data, and returns a pointer to this memory in \a o_rs4. After
/// the call this memory is owned by the caller who is responsible for
/// free()-ing the data area once it is no longer required. Note that the
/// CompressedScanData is always created in big-endian format, however the
/// caller can use compresed_scan_data_translate() to create a copy of the
/// header in host format.
///
-/// \param[out] o_size The effective size of the entire compressed scan data
-/// structure (header + compressed data) pointed to by \a o_data, in bytes.
-/// This value will always be a multiple of 8.
-///
/// \param[in] i_data_str The string to compress. Scan data to compress is
/// left-justified in this input string.
///
@@ -226,33 +161,19 @@ _rs4_compress(CompressedScanData* io_data,
/// \param[in] i_length The length of the input string in \e bits. It is
/// assumed the \a i_string contains at least (\a i_length + 7) / 8 bytes.
///
-/// \param[in] i_scanSelect The 64-bit value written to the Scan Select
-/// register to set up for the scan. Only the 32 high-order bits are actually
-/// stored.
+/// \param[in] i_scanAddr The 32-bit scan address.
///
/// \param[in] i_ringId The ring ID that uniquely identifies the ring name of
-/// a repair ring. (See p8_ring_identification.c for more info.)
-///
-/// \param[in] i_chipletId The 7-bit value for the iv_chipletId field of the
-/// CompressedScanData.
-///
-/// \param[in] i_flushOptimization This input parameter should be set to a
-/// non-0 value if it is known that this ring difference will be applied to a
-/// scan-0 flush state. This will improve the performance of the
-/// decompress-scan routine. If the initial state of the ring is unknown, set
-/// this parameter to 0.
+/// a repair ring. (See p9_ring_id.c for more info.)
///
/// \returns See \ref scan_compression_codes
int
-rs4_compress(CompressedScanData** o_data,
- uint32_t* o_size,
+rs4_compress(CompressedScanData** o_rs4,
const uint8_t* i_data_str,
const uint8_t* i_care_str,
const uint32_t i_length,
- const uint64_t i_scanSelect,
- const uint8_t i_ringId,
- const uint8_t i_chipletId,
- const uint8_t i_flushOptimization);
+ const uint32_t i_scanAddr,
+ const uint8_t i_ringId);
/// Decompress a scan string compressed using the RS4 compression algorithm
@@ -267,8 +188,7 @@ rs4_compress(CompressedScanData** o_data,
/// the decompressed care mask, which is the size of the original string in
/// bits rounded up to the nearest byte.
///
-/// \param[in] i_stringSize The size (in bytes) of \a io_data_str and
-/// \a io_care_str.
+/// \param[in] i_size The size in \e bytes of \a io_data_str and \a io_care_str.
///
/// \param[out] o_length The length of the decompressed string in \e bits.
///
@@ -283,7 +203,7 @@ rs4_compress(CompressedScanData** o_data,
int
_rs4_decompress(uint8_t* io_data_str,
uint8_t* io_care_str,
- uint32_t i_stringSize,
+ uint32_t i_size,
uint32_t* o_length,
const CompressedScanData* i_rs4);
@@ -302,7 +222,7 @@ _rs4_decompress(uint8_t* io_data_str,
/// in \e bits. The caller may assume that \a o_data_str and o_care_str each
/// contain at least (\a o_length + 7) / 8 \e bytes.
///
-/// \param[in] i_rs4 A pointer to the CompressedScanData header + data to be
+/// \param[in] i_rs4 A pointer to the CompressedScanData header and data to be
/// decompressed.
///
/// \returns See \ref scan_compression_codes
@@ -328,25 +248,30 @@ rs4_redundant(const CompressedScanData* i_data, int* o_redundant);
#endif // __ASSEMBLER__
-/// The current version of the CompressedScanData structure
-///
-/// This constant is required to be a #define to guarantee consistency between
-/// the header format and cmopiled code.
-#define COMPRESSED_SCAN_DATA_VERSION 2
-
-/// The size of the CompressedScanData structure
-#define COMPRESSED_SCAN_DATA_SIZE (uint8_t)24
-
-
/// \defgroup scan_compression_magic Scan Compression Magic Numbers
-/////
+///
/// @ {
/// RS4 Magic
-#define RS4_MAGIC (uint32_t)0x52533402 /* "RS4" + Version 0x02 */
+#define RS4_MAGIC 0x5253 /* "RS" */
/// @}
+/// \defgroup scan_compression_version_type version and type accessors
+///
+/// @{
+
+/// The current version of the CompressedScanData structure
+///
+/// This constant is required to be a #define to guarantee consistency between
+/// the header format and compiled code.
+#define RS4_VERSION 3
+
+/// Scan data types
+#define RS4_SCAN_DATA_TYPE_CMSK 1
+#define RS4_SCAN_DATA_TYPE_NON_CMSK 0
+
+/// @}
/// \defgroup scan_compression_codes Scan Compression Return Codes
///
@@ -388,6 +313,9 @@ rs4_redundant(const CompressedScanData* i_data, int* o_redundant);
/// Invalid transition in state machine
#define SCAN_COMPRESSION_STATE_ERROR 6
+/// wrong compression version
+#define SCAN_COMPRESSION_VERSION_ERROR 7
+
/// @}
#endif // __P9_SCAN_COMPRESSION_H__
diff --git a/src/import/chips/p9/utils/p9_putRingUtils.C b/src/import/chips/p9/utils/p9_putRingUtils.C
index d150f478..5c55038c 100644
--- a/src/import/chips/p9/utils/p9_putRingUtils.C
+++ b/src/import/chips/p9/utils/p9_putRingUtils.C
@@ -140,25 +140,21 @@ uint64_t stop_decode(const uint8_t* i_rs4Str,
return l_numNibblesParsed;
}
-/// @brief Byte-reverse a 64-bit integer
-/// @param[in] i_x 64-bit word that need to be byte reversed
-/// @return Byte reversed 64-bit word
-uint64_t rs4_revle64(const uint64_t i_x)
+/// @brief Byte-reverse a 32-bit integer
+/// @param[in] i_x 32-bit word that need to be byte reversed
+/// @return Byte reversed 32-bit word
+uint32_t rs4_revle32(const uint32_t i_x)
{
- uint64_t rx;
+ uint32_t rx;
#ifndef _BIG_ENDIAN
uint8_t* pix = (uint8_t*)(&i_x);
uint8_t* prx = (uint8_t*)(&rx);
- prx[0] = pix[7];
- prx[1] = pix[6];
- prx[2] = pix[5];
- prx[3] = pix[4];
- prx[4] = pix[3];
- prx[5] = pix[2];
- prx[6] = pix[1];
- prx[7] = pix[0];
+ prx[0] = pix[3];
+ prx[1] = pix[2];
+ prx[2] = pix[1];
+ prx[3] = pix[0];
#else
rx = i_x;
#endif
@@ -196,6 +192,25 @@ void getRingProperties(const RingID i_ringId,
}
while(0);
}
+
+uint64_t decodeScanRegionData(const uint32_t i_ringAddress)
+{
+ uint32_t l_scan_region = (i_ringAddress & 0x0000FFF0) << 13;
+
+ uint32_t l_scan_type = 0x00008000 >> (i_ringAddress & 0x0000000F);
+
+ // This is special case if encoded type is 0xF
+ if ( (i_ringAddress & 0x0000000F) == 0xF)
+ {
+ l_scan_type = 0x00008000 | (l_scan_type << 12);
+ }
+
+ uint64_t l_value = l_scan_region;
+ l_value = (l_value << 32) | l_scan_type;
+
+ return l_value;
+}
+
/// @brief Function to apply the Ring data using the standard-scan method
/// @param[in] i_target Chiplet Target of Scan
// @param[in] i_chipletId data from RS4
@@ -1096,6 +1111,9 @@ fapi2::ReturnCode rs4DecompressionSvc(
uint64_t l_nibbleIndx = 0;
uint64_t l_bitsDecoded = 0;
bool l_decompressionDone = false;
+ uint32_t l_scanAddr = rs4_revle32(l_rs4Header->iv_scanAddr);
+ uint64_t l_scanRegion = decodeScanRegionData(l_scanAddr);
+ uint8_t l_chipletId = (l_scanAddr & 0xFF000000UL) >> 24;
fapi2::ReturnCode l_rc;
struct restoreOpcgRegisters l_opcgData;
uint8_t l_mask = 0x08;
@@ -1103,16 +1121,6 @@ fapi2::ReturnCode rs4DecompressionSvc(
do
{
- if ( (l_rs4Header == NULL) || (l_rs4Header->iv_length == 0))
- {
- l_rc = fapi2::FAPI2_RC_PLAT_RS4_HEADER_DATA_INVALID;
- FAPI_ERR("Invalid ring length in RS4 image");
- break;
- }
-
- uint64_t l_scanRegion = rs4_revle64(l_rs4Header->iv_scanSelect);
- uint8_t l_chipletId = l_rs4Header->iv_chipletId;
-
if ((i_ringMode & fapi2::RING_MODE_SET_PULSE_NSL) ||
(i_ringMode & fapi2::RING_MODE_SET_PULSE_SL) ||
(i_ringMode & fapi2::RING_MODE_SET_PULSE_ALL))
@@ -1152,15 +1160,6 @@ fapi2::ReturnCode rs4DecompressionSvc(
break;
}
- //if the ring length is not 8bit aligned, then we need to skip the
- //padding bits
- uint8_t l_padding_bits = 0;
-
- if (l_rs4Header->iv_length % 4)
- {
- l_padding_bits = (4 - (l_rs4Header->iv_length % 4));
- }
-
bool l_skip_64bits = true;
// Decompress the RS4 string and scan
@@ -1185,16 +1184,6 @@ fapi2::ReturnCode rs4DecompressionSvc(
l_bitsDecoded += l_bitRotates;
- if(l_bitsDecoded > l_rs4Header->iv_length)
- {
- FAPI_ERR("Rotate decompression done."
- "l_bitsDecoded = %d, length = %d",
- l_bitsDecoded, l_rs4Header->iv_length);
- l_decompressionDone = true;
- l_rc = fapi2::FAPI2_RC_PLAT_RING_DECODE_LENGTH_EXCEEDED;
- break;
- }
-
// Do the ROTATE operation
if (l_bitRotates != 0)
{
@@ -1226,16 +1215,6 @@ fapi2::ReturnCode rs4DecompressionSvc(
{
l_bitsDecoded += (4 * l_scanCount);
- if(l_bitsDecoded > l_rs4Header->iv_length)
- {
- FAPI_ERR("Scan decompression done."
- "l_bitsDecoded = %d, length = %d",
- l_bitsDecoded, l_rs4Header->iv_length);
- l_decompressionDone = true;
- l_rc = fapi2::FAPI2_RC_PLAT_RING_DECODE_LENGTH_EXCEEDED;
- break;
- }
-
// Parse the non-zero nibbles of the RS4 string and
// scan them into the ring
l_scomData = rs4_get_verbatim(l_rs4Str,
@@ -1365,107 +1344,94 @@ fapi2::ReturnCode rs4DecompressionSvc(
if (l_nibble != 0)
{
- // Parse the non-zero nibbles of the RS4 string and
- // scan them into the ring
- if((l_bitsDecoded + l_nibble) > l_rs4Header->iv_length)
+ if (!i_applyOverride)
{
- FAPI_ERR("Decompression Done."
- "l_bitsDecoded = %d, l_nibble= %d, length = %d",
- l_bitsDecoded, l_nibble, l_rs4Header->iv_length);
- l_rc = fapi2::FAPI2_RC_PLAT_RING_DECODE_LENGTH_EXCEEDED;
- break;
+ l_bitsDecoded += l_nibble;
+ l_scomData = rs4_get_verbatim(l_rs4Str,
+ l_nibbleIndx,
+ 1); // return 1 nibble
+
+ l_rc = standardScan(i_target,
+ l_chipletId,
+ SCAN,
+ l_nibble & 0x3,
+ l_scomData);
}
else
{
- if (!i_applyOverride)
+ if(0x8 & l_nibble) // We are parsing RS4 for override rings
{
- l_bitsDecoded += l_nibble;
- l_scomData = rs4_get_verbatim(l_rs4Str,
- l_nibbleIndx,
- 1); // return 1 nibble
+ uint8_t l_careMask = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
+ l_nibbleIndx++;
+ uint8_t l_spyData = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
+ l_nibbleIndx++;
- l_rc = standardScan(i_target,
- l_chipletId,
- SCAN,
- (4 - l_padding_bits) , // scan 4 bits
- l_scomData);
- }
- else
- {
- if(0x8 & l_nibble) // We are parsing RS4 for override rings
+ for(uint8_t i = 0; i < 4; i++)
{
- uint8_t l_careMask = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
- l_nibbleIndx++;
- uint8_t l_spyData = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
- l_nibbleIndx++;
+ l_bitsDecoded += 1;
+ l_scomData = 0x0;
- for(uint8_t i = 0; i < 4; i++)
+ if((l_careMask & (l_mask >> i)))
{
- l_bitsDecoded += 1;
- l_scomData = 0x0;
-
- if((l_careMask & (l_mask >> i)))
+ if((l_spyData & (l_mask >> i)))
{
- if((l_spyData & (l_mask >> i)))
- {
- l_scomData = 0xFFFFFFFFFFFFFFFF;
- }
-
- l_opType = SCAN;
- }
- else
- {
- l_opType = ROTATE;
+ l_scomData = 0xFFFFFFFFFFFFFFFF;
}
- l_rc = standardScan(i_target,
- l_chipletId,
- l_opType,
- 1, // Insert 1 bit
- l_scomData);
-
- if(l_rc != fapi2::FAPI2_RC_SUCCESS)
- {
- break;
- }
- } // end of looper for bit-parsing a non-zero nibble
- }
- else // We are parsing RS4 for base rings
- {
- // scan them into the ring
- uint8_t l_data = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
+ l_opType = SCAN;
+ }
+ else
+ {
+ l_opType = ROTATE;
+ }
- l_nibbleIndx += 1;
+ l_rc = standardScan(i_target,
+ l_chipletId,
+ l_opType,
+ 1, // Insert 1 bit
+ l_scomData);
- for(uint8_t i = 0; i < l_nibble; i++)
+ if(l_rc != fapi2::FAPI2_RC_SUCCESS)
{
- l_scomData = 0x0;
- l_bitsDecoded += 1;
+ break;
+ }
+ } // end of looper for bit-parsing a non-zero nibble
+ }
+ else // We are parsing RS4 for base rings
+ {
+ // scan them into the ring
+ uint8_t l_data = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
- if((l_data & (l_mask >> i)))
- {
- l_opType = SCAN;
- l_scomData = 0xFFFFFFFFFFFFFFFF;
+ l_nibbleIndx += 1;
- }
- else
- {
- l_opType = ROTATE;
+ for(uint8_t i = 0; i < l_nibble; i++)
+ {
+ l_scomData = 0x0;
+ l_bitsDecoded += 1;
- }
+ if((l_data & (l_mask >> i)))
+ {
+ l_opType = SCAN;
+ l_scomData = 0xFFFFFFFFFFFFFFFF;
- l_rc = standardScan(i_target,
- l_chipletId,
- l_opType,
- 1, // Insert 1 bit
- l_scomData);
+ }
+ else
+ {
+ l_opType = ROTATE;
- if(l_rc != fapi2::FAPI2_RC_SUCCESS)
- {
- break;
- }
- } //end of for
- }
+ }
+
+ l_rc = standardScan(i_target,
+ l_chipletId,
+ l_opType,
+ 1, // Insert 1 bit
+ l_scomData);
+
+ if(l_rc != fapi2::FAPI2_RC_SUCCESS)
+ {
+ break;
+ }
+ } //end of for
}
}
} // end of if(l_nibble != 0)
diff --git a/src/import/chips/p9/utils/p9_putRingUtils.H b/src/import/chips/p9/utils/p9_putRingUtils.H
index 54e2121e..346d3a6a 100644
--- a/src/import/chips/p9/utils/p9_putRingUtils.H
+++ b/src/import/chips/p9/utils/p9_putRingUtils.H
@@ -45,11 +45,6 @@ namespace RS4
// Forward Declarations
//
-/// @brief Byte-reverse a 64-bit integer
-/// @param[in] i_x 64-bit word that need to be byte reversed
-/// @return Byte reversed 64-bit word
-uint64_t rs4_revle64(const uint64_t i_x);
-
///
/// @brief Decode an unsigned integer from a 4-bit octal stop code.
/// @param[in] i_rs4Str The RS4 scan string
diff --git a/src/import/chips/p9/xip/p9_xip_tool.C b/src/import/chips/p9/xip/p9_xip_tool.C
index 50200153..3eeb5107 100644
--- a/src/import/chips/p9/xip/p9_xip_tool.C
+++ b/src/import/chips/p9/xip/p9_xip_tool.C
@@ -1752,9 +1752,6 @@ int dissectRingSectionTor( void* i_ringSection,
void* ringBlockPtr;
uint32_t ringBlockSize;
char ringName[32];
- void* hostRs4Container;
- uint32_t compressedBits = 0, ringLength = 0;
- double compressionPct = 0;
uint32_t ringSeqNo = 0; // Ring sequence number
//
@@ -1910,12 +1907,6 @@ int dissectRingSectionTor( void* i_ringSection,
// Summarize all characteristics of the ring block if "normal" or "long" (default).
if ( i_listingModeId == LMID_NORMAL || i_listingModeId == LMID_LONG )
{
- // Calculate RS4 compression efficiency.
- hostRs4Container = (void*)( (uintptr_t)ringBlockPtr + sizeof(RingLayout_t) );
- compressedBits = htobe32(((CompressedScanData*)hostRs4Container)->iv_algorithmReserved) * 4;
- ringLength = htobe32(((CompressedScanData*)hostRs4Container)->iv_length);
- compressionPct = (double)compressedBits / (double)ringLength * 100.0;
-
sizeDisLine = snprintf( lineDis, LINE_SIZE_MAX,
"-----------------------------\n"
"%i.\n"
@@ -1925,13 +1916,10 @@ int dissectRingSectionTor( void* i_ringSection,
"ringName = %s\n"
"ringVariant = %s\n"
"instanceId = 0x%02x\n"
- "ringBlockSize = 0x%08x\n"
- "RS4 ring size [bits] = %u\n"
- "Raw ring size [bits] = %u\n"
- "Compression [%%] = %0.2f\n",
+ "ringBlockSize = 0x%08x\n",
ringSeqNo, ddLevel, ppeTypeName[ppeType], ringId, ringName,
ringVariantName[ringVariant], instanceId,
- ringBlockSize, compressedBits, ringLength, compressionPct );
+ ringBlockSize);
if (sizeDisLine >= LINE_SIZE_MAX)
{
diff --git a/src/test/framework/etc/workarounds.presimsetup b/src/test/framework/etc/workarounds.presimsetup
index 6167c7ed..b793b62b 100755
--- a/src/test/framework/etc/workarounds.presimsetup
+++ b/src/test/framework/etc/workarounds.presimsetup
@@ -29,3 +29,5 @@
#egrep -v "WSALIAS DEFAULT FIPSLEVEL|WSALIAS DEFAULT SIMICSLEVEL" $BACKING_BUILD/src/simu/data/simicsInfo > $sb/simu/data/simicsInfo
#echo "WSALIAS DEFAULT FIPSLEVEL env/gfwb/simics-4.2.0/simics-4.2.83/fips/fld36/fi120201a700.42" >> $sb/simu/data/simicsInfo
#echo "WSALIAS DEFAULT SIMICSLEVEL env/vtechb/simics-4.2.0/simics-4.2.83/bin" >> $sb/simu/data/simicsInfo
+mkdir -p $SANDBOXBASE/src/engd/href
+cp /esw/user/nfs/prasrang/p9n.temp_hw_ref_image.bin $SANDBOXBASE/src/engd/href/
OpenPOWER on IntegriCloud