Message ID | 1479099185-1622-1-git-send-email-ppaidipe@linux.vnet.ibm.com |
---|---|
State | Accepted |
Headers | show |
ppaidipe@linux.vnet.ibm.com writes: > From: Pridhiviraj Paidipeddi <ppaidipe@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@linux.vnet.ibm.com> > --- > core/fast-reboot.c | 3 +++ > 1 file changed, 3 insertions(+) So, I'm pretty sure this ends up being the right thing to do, so merged to master as of 4c2f2fc8792478ca66fe21a4abc1d5b626fe203c
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); }