All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc/pseries: Select the generic memory allocator.
@ 2023-03-09 13:51 Sebastian Andrzej Siewior
  2023-03-09 14:13 ` Nathan Lynch
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2023-03-09 13:51 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Nathan Lynch, Thomas Gleixner, Nicholas Piggin

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(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc/pseries: Select the generic memory allocator.
  2023-03-09 13:51 [PATCH] powerpc/pseries: Select the generic memory allocator Sebastian Andrzej Siewior
@ 2023-03-09 14:13 ` Nathan Lynch
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Lynch @ 2023-03-09 14:13 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior
  Cc: rdunlap, Nicholas Piggin, Thomas Gleixner, linuxppc-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-09 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 13:51 [PATCH] powerpc/pseries: Select the generic memory allocator Sebastian Andrzej Siewior
2023-03-09 14:13 ` Nathan Lynch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.