diff mbox series

powerpc/pseries: Select the generic memory allocator.

Message ID 20230309135110.uAxhqRFk@linutronix.de (mailing list archive)
State Superseded
Headers show
Series powerpc/pseries: Select the generic memory allocator. | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 6 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 24 jobs.

Commit Message

Sebastian Andrzej Siewior March 9, 2023, 1:51 p.m. UTC
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")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 arch/powerpc/platforms/pseries/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Nathan Lynch March 9, 2023, 2:13 p.m. UTC | #1
Sebastian Andrzej Siewior <bigeasy@linutronix.de> writes:
> 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")
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Thanks. Randy already sent the same fix:

https://lore.kernel.org/linuxppc-dev/20230223070116.660-4-rdunlap@infradead.org/

> ---
>  arch/powerpc/platforms/pseries/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig
> index b481c5c8bae11..1c23f2d4ed557 100644
> --- a/arch/powerpc/platforms/pseries/Kconfig
> +++ b/arch/powerpc/platforms/pseries/Kconfig
> @@ -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
> -- 
> 2.39.2
diff mbox series

Patch

diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig
index b481c5c8bae11..1c23f2d4ed557 100644
--- a/arch/powerpc/platforms/pseries/Kconfig
+++ b/arch/powerpc/platforms/pseries/Kconfig
@@ -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