summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2013-07-16 14:58:43 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-21 15:38:53 -0500
commitb814311a6dc122e761336881130eace63d3533e7 (patch)
tree1330190b59abbe6fc094de1b5afda87abacc100b /src/include
parenta6f46d0a9461b96781bc85c9fd82c24d14b5ce42 (diff)
downloadblackbird-hostboot-b814311a6dc122e761336881130eace63d3533e7.tar.gz
blackbird-hostboot-b814311a6dc122e761336881130eace63d3533e7.zip
Handle interrupts on MPIPL
Change-Id: I315d5c802819bf6f16cd6adbffe77530bd42699a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5427 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/kernel/intmsghandler.H4
-rw-r--r--src/include/usr/intr/interrupt.H3
-rw-r--r--src/include/usr/runtime/runtime.H29
-rw-r--r--src/include/usr/runtime/runtime_reasoncodes.H2
4 files changed, 35 insertions, 3 deletions
diff --git a/src/include/kernel/intmsghandler.H b/src/include/kernel/intmsghandler.H
index 3f888f94b..220a7fa30 100644
--- a/src/include/kernel/intmsghandler.H
+++ b/src/include/kernel/intmsghandler.H
@@ -67,7 +67,9 @@ class InterruptMsgHdlr : public MessageHandler
XIRR_ADDR_OFFSET = 4,
MFRR_ADDR_OFFSET = 12,
- INTP_BAR_VALUE = 0xFFFFE000, // upper 32 bits of IPCBAR
+ INTP_BAR_VALUE = 0xFFFFE000, // upper 32 bits of IPCBAR
+
+ INTERPROC_XISR = 2, //IPI XISR is 2
};
/**
diff --git a/src/include/usr/intr/interrupt.H b/src/include/usr/intr/interrupt.H
index f41f8ccf6..473fa7cd3 100644
--- a/src/include/usr/intr/interrupt.H
+++ b/src/include/usr/intr/interrupt.H
@@ -90,7 +90,7 @@ namespace INTR
enum ISNvalue_t
{
- ISN_FSP = 0,
+ ISN_PSI = 0,
ISN_OCC = 1,
ISN_FSI = 2,
FSP_MAILBOX = 2,
@@ -138,6 +138,7 @@ namespace INTR
MSG_INTR_DISABLE, //!< Disable external interrupts
MSG_INTR_SHUTDOWN, //!< Call to shutdown interrupt presenter
MSG_INTR_ENABLE_PSI_INTR, //!< Enable PSI interrupts
+ MSG_INTR_MPIPL_CLEANUP, //!< Clean up interrupts on MPIPL
};
/**
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 59233c566..0536d2c63 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -96,6 +96,35 @@ errlHndl_t get_host_data_section( SectionId i_section,
size_t& o_dataSize );
const size_t DATA_SIZE_UNKNOWN = 0xFFFFFFFFFFFFFFFF;
+/**
+ * @brief Update the actual count of section. Only supported for
+ * memory dump results table
+ *
+ * @param[in] i_section Chunk of data to find
+ * @param[out] i_count Actual countPhysical memory address of data
+ *
+ * @return errlHndl_t NULL on success
+ */
+errlHndl_t update_host_data_section_actual( SectionId i_section,
+ uint16_t i_count );
+
+/**
+ * @brief This function updates the actual count for the MDRT
+ * May be called at anytime, but the actual value is updated
+ * to the SPIRA during populate_attributes
+ *
+ */
+void update_MDRT_Count(uint16_t i_count);
+
+/**
+ * @brief This function writes the stored count for the MDRT
+ * out to the SPIRA
+ *
+ * @return errlHndl_t
+ */
+errlHndl_t write_MDRT_Count(void);
+
+
}
#endif
diff --git a/src/include/usr/runtime/runtime_reasoncodes.H b/src/include/usr/runtime/runtime_reasoncodes.H
index cda640d85..3c888abf1 100644
--- a/src/include/usr/runtime/runtime_reasoncodes.H
+++ b/src/include/usr/runtime/runtime_reasoncodes.H
@@ -45,7 +45,7 @@ namespace RUNTIME
MOD_TCE_INIT = 0x0D, /**< tce.C */
MOD_TCE_MAP = 0x0E, /**< tce.C */
MOD_HDATSERVICE_FINDSPIRA = 0x0F, /** hdatservice.C */
-
+ MOD_HDATSERVICE_UPDATE_SECTION_ACTUAL = 0x10, /**< hdatservice.C */
};
enum RuntimeReasonCode
OpenPOWER on IntegriCloud