summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorAdam Muhle <armuhle@us.ibm.com>2012-12-13 13:21:57 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-12-15 08:12:47 -0600
commitf448a9337fa31ff7b83a5b00330818c54a495e73 (patch)
tree7642b526a20428811d820e88020e804ba31ca023 /src/include
parent324f861e17b03b087e9b413bed2bc7180e7cb862 (diff)
downloadtalos-hostboot-f448a9337fa31ff7b83a5b00330818c54a495e73.tar.gz
talos-hostboot-f448a9337fa31ff7b83a5b00330818c54a495e73.zip
Full support for 8MB and 4MB cache sizes
Updating activate_thread to check if we're using fakePNOR and if any of the L3 Cache is deconfigured. If all 8MB are available, it will make a call to extend Hostboot memory to all 8MB. Change-Id: Ib32c9aa02e643228382e2a72dcb780d2f78989fe RTC: 49137 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2683 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwpf/plat/fapiPlatReasonCodes.H20
-rw-r--r--src/include/usr/mvpd/mvpdenums.H33
-rw-r--r--src/include/usr/pnor/pnorif.H12
3 files changed, 42 insertions, 23 deletions
diff --git a/src/include/usr/hwpf/plat/fapiPlatReasonCodes.H b/src/include/usr/hwpf/plat/fapiPlatReasonCodes.H
index 4ea439e17..9029a6853 100644
--- a/src/include/usr/hwpf/plat/fapiPlatReasonCodes.H
+++ b/src/include/usr/hwpf/plat/fapiPlatReasonCodes.H
@@ -50,7 +50,7 @@ namespace fapi
MOD_ATTR_GET_TARGET_NAME = 0x0B,
MOD_FAPI_GET_ASSOCIATE_DIMMS = 0x0C,
MOD_EDI_EI_IO_RUN_TRAINING = 0x0D,
- MOD_THREAD_ACTIVATE = 0x0E, //@fixme RTC:42816
+ MOD_THREAD_ACTIVATE = 0x0E,
MOD_ATTR_GET_FUNCTIONAL = 0x0F,
MOD_ATTR_GET_HB_TARGET = 0x10,
MOD_ATTR_PROC_MEMBASE_GET = 0x11,
@@ -77,6 +77,7 @@ namespace fapi
MOD_ATTR_PROC_PCIE_BAR_SIZE_GET = 0x26,
MOD_MVPD_ACCESS = 0x27,
MOD_EXIT_CACHE_CONTAINED = 0x28,
+ MOD_GET_CACHE_DECONFIG = 0x29,
};
/**
@@ -104,15 +105,14 @@ namespace fapi
RC_SAME_CHIP_PBUS_CONNECTION = HWPF_COMP_ID | 0x1A,
RC_CONFLICT_PBUS_CONNECTION = HWPF_COMP_ID | 0x1B,
RC_NO_MASTER_CORE_TARGET = HWPF_COMP_ID | 0x1C,
- RC_THREAD_IN_WRONG_STATE = HWPF_COMP_ID | 0x1D, //@fixme RTC:42816
- RC_THREAD_DID_NOT_START = HWPF_COMP_ID | 0x1E, //@fixme RTC:42816
- RC_NULL_FAPI_TARGET = HWPF_COMP_ID | 0x1F,
- RC_UNEXPECTED_TARGET_TYPE = HWPF_COMP_ID | 0x20,
- RC_ATTR_UNKNOWN_TARGET_NAME = HWPF_COMP_ID | 0x21,
- RC_ATTR_UNSUPPORTED_PROC_NUM = HWPF_COMP_ID | 0x22,
- RC_INVALID_RECORD = HWPF_COMP_ID | 0x23,
- RC_INVALID_KEYWORD = HWPF_COMP_ID | 0x24,
- RC_MM_EXTEND_FAILED = HWPF_COMP_ID | 0x25,
+ RC_NULL_FAPI_TARGET = HWPF_COMP_ID | 0x1D,
+ RC_UNEXPECTED_TARGET_TYPE = HWPF_COMP_ID | 0x1E,
+ RC_ATTR_UNKNOWN_TARGET_NAME = HWPF_COMP_ID | 0x1F,
+ RC_ATTR_UNSUPPORTED_PROC_NUM = HWPF_COMP_ID | 0x20,
+ RC_INVALID_RECORD = HWPF_COMP_ID | 0x21,
+ RC_INVALID_KEYWORD = HWPF_COMP_ID | 0x22,
+ RC_MM_EXTEND_FAILED = HWPF_COMP_ID | 0x23,
+ RC_INCORRECT_KEWORD_SIZE = HWPF_COMP_ID | 0x24,
};
/**
diff --git a/src/include/usr/mvpd/mvpdenums.H b/src/include/usr/mvpd/mvpdenums.H
index 5f2fa4319..00fbfafe5 100644
--- a/src/include/usr/mvpd/mvpdenums.H
+++ b/src/include/usr/mvpd/mvpdenums.H
@@ -54,19 +54,25 @@ enum mvpdRecord
LRP9 = 0x0c,
LRPA = 0x0d,
LRPB = 0x0e,
- LWP0 = 0x0f,
- LWP1 = 0x10,
- LWP2 = 0x11,
- LWP3 = 0x12,
- LWP4 = 0x13,
- LWP5 = 0x14,
- LWP6 = 0x15,
- LWP7 = 0x16,
- LWP8 = 0x17,
- LWP9 = 0x18,
- LWPA = 0x19,
- LWPB = 0x1a,
- VWML = 0x1b,
+ LRPC = 0x0f,
+ LRPD = 0x10,
+ LRPE = 0x11,
+ LWP0 = 0x12,
+ LWP1 = 0x13,
+ LWP2 = 0x14,
+ LWP3 = 0x15,
+ LWP4 = 0x16,
+ LWP5 = 0x17,
+ LWP6 = 0x18,
+ LWP7 = 0x19,
+ LWP8 = 0x1a,
+ LWP9 = 0x1b,
+ LWPA = 0x1c,
+ LWPB = 0x1d,
+ LWPC = 0x1e,
+ LWPD = 0x1f,
+ LWPE = 0x20,
+ VWML = 0x21,
// Last Record
MVPD_LAST_RECORD,
@@ -115,6 +121,7 @@ enum mvpdKeyword
pdG = 0x1f,
MK = 0x20,
PB = 0x21,
+ CH = 0x22,
// Last Keyword
MVPD_LAST_KEYWORD,
diff --git a/src/include/usr/pnor/pnorif.H b/src/include/usr/pnor/pnorif.H
index 533c7f932..4f3b5d930 100644
--- a/src/include/usr/pnor/pnorif.H
+++ b/src/include/usr/pnor/pnorif.H
@@ -99,6 +99,18 @@ errlHndl_t getSectionInfo( SectionId i_section,
SideSelect i_side,
SectionInfo_t& o_info );
+/**
+ * @brief Informs caller if PNORDD is using
+ * L3 Cache for fake PNOR or not.
+ *
+ * @return Indicate state of fake PNOR
+ * true = PNOR DD is using L3 Cache for fake PNOR
+ * false = PNOR DD not using L3 Cache for fake PNOR
+ */
+bool usingL3Cache();
}
+
+
+
#endif
OpenPOWER on IntegriCloud