summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--procedures/p9/cleanup_pcie.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/procedures/p9/cleanup_pcie.cpp b/procedures/p9/cleanup_pcie.cpp
index 179d70c..8d1145a 100644
--- a/procedures/p9/cleanup_pcie.cpp
+++ b/procedures/p9/cleanup_pcie.cpp
@@ -43,7 +43,16 @@ void cleanupPcie()
// Disable the PCIE drivers and receiver on all CPUs
for (const auto& target : targets)
{
- writeReg(target, P9_ROOT_CTRL1_CLEAR, 0x00001C00);
+ try
+ {
+ writeReg(target, P9_ROOT_CTRL1_CLEAR, 0x00001C00);
+ }
+ catch (std::exception& e)
+ {
+ // Don't need an error log coming from the power off
+ // path, just keep trying on the other processors.
+ continue;
+ }
}
}
OpenPOWER on IntegriCloud