From 5e705176fd26be83d06a9b3ea8be0ced0dc0dcde Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Tue, 18 Jun 2019 17:29:17 +1000 Subject: core/opal: move HIR trigger to FSP poller Signed-off-by: Stewart Smith --- core/opal.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'core') diff --git a/core/opal.c b/core/opal.c index 3a2fbb9..6508116 100644 --- a/core/opal.c +++ b/core/opal.c @@ -53,12 +53,6 @@ static uint64_t opal_dynamic_events; extern uint32_t attn_trigger; extern uint32_t hir_trigger; -/* We make this look like a Surveillance error, even though it really - * isn't one. - */ -DEFINE_LOG_ENTRY(OPAL_INJECTED_HIR, OPAL_MISC_ERR_EVT, OPAL_SURVEILLANCE, - OPAL_SURVEILLANCE_ERR, OPAL_PREDICTIVE_ERR_GENERAL, - OPAL_MISCELLANEOUS_INFO_ONLY); void opal_table_init(void) { @@ -637,14 +631,6 @@ static int64_t opal_poll_events(__be64 *outstanding_event_mask) assert(false); } - /* Test the host initiated reset */ - if (hir_trigger == 0xdeadbeef) { - uint32_t plid = log_simple_error(&e_info(OPAL_INJECTED_HIR), - "SURV: Injected HIR, initiating FSP R/R\n"); - fsp_trigger_reset(plid); - hir_trigger = 0; - } - opal_run_pollers(); if (outstanding_event_mask) -- cgit v1.1