diff options
author | Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com> | 2016-11-14 10:23:05 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-12-21 15:54:32 +1100 |
commit | 4c2f2fc8792478ca66fe21a4abc1d5b626fe203c (patch) | |
tree | b1523a653c196191916c456d569821df5eb2c22f | |
parent | 8818b86bef13627fd71f34f410a3784678abef2a (diff) | |
download | skiboot-4c2f2fc8792478ca66fe21a4abc1d5b626fe203c.zip skiboot-4c2f2fc8792478ca66fe21a4abc1d5b626fe203c.tar.gz skiboot-4c2f2fc8792478ca66fe21a4abc1d5b626fe203c.tar.bz2 |
opal/fast-reboot: set fw_progress sensor status with IPMI_FW_PCI_INIT.
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@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | core/fast-reboot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c index e9a18bc..eec6021 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); } |