aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-11-29 15:37:06 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-03 22:10:56 -0600
commitd0e44ad2a9633c9d49504f4a0c69ac730cdc0561 (patch)
tree54f8a0a0484cb64cbd8239f411c5eca79a13c132 /include
parent6d033ce35dc1071949d3be79a62d8964465b4b4f (diff)
downloadskiboot-d0e44ad2a9633c9d49504f4a0c69ac730cdc0561.zip
skiboot-d0e44ad2a9633c9d49504f4a0c69ac730cdc0561.tar.gz
skiboot-d0e44ad2a9633c9d49504f4a0c69ac730cdc0561.tar.bz2
fast-reboot: bare bones fast reboot implementation for POWER9
This is an initial fast reboot implementation for p9 which has only been tested on the Witherspoon platform, and without the use of NPUs, NX/VAS, etc. This has worked reasonably well so far, with no failures in about 100 reboots. It is hidden behind the traditional fast-reboot experimental nvram option, until more platforms and configurations are tested. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/interrupts.h1
-rw-r--r--include/xive.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/interrupts.h b/include/interrupts.h
index 0376e8f..b412812 100644
--- a/include/interrupts.h
+++ b/include/interrupts.h
@@ -316,6 +316,7 @@ extern uint32_t get_ics_phandle(void);
struct cpu_thread;
extern void reset_cpu_icp(void);
+extern void reset_cpu_xive(void);
extern void icp_send_eoi(uint32_t interrupt);
extern void icp_prep_for_pm(void);
extern void icp_kick_cpu(struct cpu_thread *cpu);
diff --git a/include/xive.h b/include/xive.h
index ae7bb0b..2880720 100644
--- a/include/xive.h
+++ b/include/xive.h
@@ -470,6 +470,7 @@ struct xive_vp {
#define XIVE_IRQ_ERROR 0xffffffff
void init_xive(void);
+int64_t xive_reset(void);
/* Allocate a chunk of HW sources */
uint32_t xive_alloc_hw_irqs(uint32_t chip_id, uint32_t count, uint32_t align);