Le 20/05/2026 à 00:43, David Christensen a écrit :
[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
Follow-on cleanup after the removal of the IBM eHEA driver in commit
XXXXXXXXXXXX ("net: ethernet: ibm: remove the ehea driver").
Remove the CONFIG_IBM_EHEA entry from ppc64_defconfig and the obsolete
comment in arch/powerpc/mm/mem.c that referenced the driver.
What do you mean by 'obsolete' ?
As far as I can see the commit is still valid, I can't see any other
module caller of function walk_system_ram_range().
The comment was introduced by commit 26b523356f49 ("powerpc: Drop
page_is_ram() and walk_system_ram_range()")
Signed-off-by: David Christensen <[email protected]>
---
arch/powerpc/configs/ppc64_defconfig | 1 -
arch/powerpc/mm/mem.c | 4 ----
2 files changed, 5 deletions(-)
diff --git a/arch/powerpc/configs/ppc64_defconfig
b/arch/powerpc/configs/ppc64_defconfig
index 6316ca4df25d..b022d00708f4 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -210,7 +210,6 @@ CONFIG_BNX2X=m
CONFIG_CHELSIO_T1=m
CONFIG_BE2NET=m
CONFIG_IBMVETH=m
-CONFIG_EHEA=m
CONFIG_IBMVNIC=m
CONFIG_E100=y
CONFIG_E1000=y
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 648d0c5602ec..1f5ad1a59d68 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -370,10 +370,6 @@ int devmem_is_allowed(unsigned long pfn)
}
#endif /* CONFIG_STRICT_DEVMEM */
-/*
- * This is defined in kernel/resource.c but only powerpc needs to export it,
for
- * the EHEA driver. Drop this when drivers/net/ethernet/ibm/ehea is removed.
- */
EXPORT_SYMBOL_GPL(walk_system_ram_range);
As mentioned in the comment, the EXPORT_SYMBOL_GPL() has to be dropped
when drivers/net/ethernet/ibm/ehea is removed, which is now.
#ifdef CONFIG_EXECMEM
--
2.47.3