[Skiboot] [PATCH 1/3] opal/fast-reboot: set fw_progress sensor status with IPMI_FW_PCI_INIT.
ppaidipe at linux.vnet.ibm.com
ppaidipe at linux.vnet.ibm.com
Mon Nov 14 15:53:05 AEDT 2016
From: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
In fast-reboot path, OPAL is re-initializing the PCI subsystem.
Accordingly set firmware progress sensor status with IPMI_FW_PCI_INIT.
Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
---
core/fast-reboot.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index e9a18bc..2fc3713 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -26,6 +26,7 @@
#include <pci.h>
#include <chip.h>
#include <chiptod.h>
+#include <ipmi.h>
#define P8_EX_TCTL_DIRECT_CONTROLS(t) (0x10013000 + (t) * 0x10)
#define P8_DIRECT_CTL_STOP PPC_BIT(63)
@@ -588,6 +589,8 @@ void __noreturn fast_reboot_entry(void)
/* Remove all PCI devices */
pci_reset();
+ ipmi_set_fw_progress_sensor(IPMI_FW_PCI_INIT);
+
/* Load and boot payload */
load_and_boot_kernel(true);
}
--
2.7.4
More information about the Skiboot
mailing list