summaryrefslogtreecommitdiffstats
path: root/hw/xive.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-12-12 16:22:55 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-11 23:31:45 -0600
commit84febad7c5f947d744ef656f4b478d8b1df51471 (patch)
tree05b0663f82a0103e7e72345b12fdc341784f03db /hw/xive.c
parent1e00d546ca29d5eb9c51558250aa37facf8f2afb (diff)
downloadblackbird-skiboot-84febad7c5f947d744ef656f4b478d8b1df51471.tar.gz
blackbird-skiboot-84febad7c5f947d744ef656f4b478d8b1df51471.zip
xive: Ensure VC informational FIRs are masked
Some HostBoot versions leave those as checkstop, they are harmless and can sometimes occur during normal operations. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Tested-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r--hw/xive.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xive.c b/hw/xive.c
index 5e222897..dff94ab8 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -1770,6 +1770,11 @@ static bool xive_config_init(struct xive *x)
val |= VC_EQC_CONF_ENABLE_END_u_BIT;
xive_regw(x, VC_EQC_CONFIG, val);
+ /* Disable error reporting in the FIR for info errors
+ * from the VC.
+ */
+ xive_regw(x, CQ_FIRMASK_OR, 3ull);
+
return true;
}
OpenPOWER on IntegriCloud