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

From: Timothy Pearson
Date: Wed Jun 18 2025 - 12:58:47 EST


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@xxxxxxxxxxxxxxxxxxxxx>
---
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 83fe99861eb1..3a2a926fbd64 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