Skip to contentSkip to conversation

powerpc/pseries: Select the generic memory allocator.

PATCH In review Sebastian Andrzej Siewior 2 participants 2 messages Mar 9, 2023 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/pseries: Select the generic memory allocator.

The RTAS work area allocator is using the generic memory allocator and as such it must select it.

Select the generic memory allocator on pseries.

Fixes 43033bc62d349 ("powerpc/pseries: add RTAS work area allocator")
---
 arch/powerpc/platforms/pseries/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/platforms/pseries/Kconfig +1 -0
index b481c5c8bae11..1c23f2d4ed557 100644
@@ -2,6 +2,7 @@
 config PPC_PSERIES
 	depends on PPC64 && PPC_BOOK3S
 	bool "IBM pSeries & new (POWER5-based) iSeries"
+	select GENERIC_ALLOCATOR
 	select HAVE_PCSPKR_PLATFORM
 	select MPIC
 	select OF_DYNAMIC
Signature · 1 line
2.39.2
#1 lore raw
Quoted 7 lines · Sebastian Andrzej Siewior

The RTAS work area allocator is using the generic memory allocator and as such it must select it.

Select the generic memory allocator on pseries.

Fixes 43033bc62d349 ("powerpc/pseries: add RTAS work area allocator")

Thanks. Randy already sent the same fix:

https://lore.kernel.org/linuxppc-dev/[email protected]/

Quoted 18 lines
---
 arch/powerpc/platforms/pseries/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/platforms/pseries/Kconfig +1 -0
index b481c5c8bae11..1c23f2d4ed557 100644
@@ -2,6 +2,7 @@
 config PPC_PSERIES
 	depends on PPC64 && PPC_BOOK3S
 	bool "IBM pSeries & new (POWER5-based) iSeries"
+	select GENERIC_ALLOCATOR
 	select HAVE_PCSPKR_PLATFORM
 	select MPIC
 	select OF_DYNAMIC
Signature · 1 line
2.39.2