[PATCH v3 3/6] powerpc/eeh: Export eeh_unfreeze_pe()

Timothy Pearson
2025-07-15T21:37:36Z

The PowerNV hotplug driver needs to be able to clear any frozen PE(s)
on the PHB after suprise removal of a downstream device.

Export the eeh_unfreeze_pe() symbol to allow implementation of this
functionality in the php_nv module.

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
---
arch/powerpc/kernel/eeh.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index ca7f7bb2b478..2b5f3323e107 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -1139,6 +1139,7 @@ int eeh_unfreeze_pe(struct eeh_pe *pe)

return ret;
}
+EXPORT_SYMBOL_GPL(eeh_unfreeze_pe);

static struct pci_device_id eeh_reset_ids[] = {
--
2.39.5