powerpc/pseries: Add support for hotplug interrupt source
Add handler for new hotplug interrupt. For memory and CPU hotplug events, we will add the hotplug errorlog to the hotplug workqueue. Since PCI hotplug is not currently supported in the kernel, PCI hotplug events are written to the rtas_log_bug and are handled by rtas_errd. Signed-off-by: John Allen <jallen@linux.vnet.ibm.com> Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

zatwierdzone przez
Michael Ellerman

rodzic
9054619ef5
commit
b7d9eb397b
@@ -56,6 +56,8 @@ extern int dlpar_detach_node(struct device_node *);
|
||||
extern int dlpar_acquire_drc(u32 drc_index);
|
||||
extern int dlpar_release_drc(u32 drc_index);
|
||||
|
||||
void queue_hotplug_event(struct pseries_hp_errorlog *hp_errlog,
|
||||
struct completion *hotplug_done, int *rc);
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
int dlpar_memory(struct pseries_hp_errorlog *hp_elog);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user