[PATCH] hwrng: amd - remove reference to removed PPC_MAPLE config

Lukas Bulwahn posted 1 patch 2 weeks, 3 days ago
drivers/char/hw_random/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] hwrng: amd - remove reference to removed PPC_MAPLE config
Posted by Lukas Bulwahn 2 weeks, 3 days ago
From: Lukas Bulwahn <lukas.bulwahn@redhat.com>

Commit 62f8f307c80e ("powerpc/64: Remove maple platform") removes the
PPC_MAPLE config as a consequence of the platform’s removal.

The config definition of HW_RANDOM_AMD refers to this removed config option
in its dependencies.

Remove the reference to the removed config option.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
---
 drivers/char/hw_random/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index bda283f290bc..446c2def055e 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -50,7 +50,7 @@ config HW_RANDOM_INTEL
 
 config HW_RANDOM_AMD
 	tristate "AMD HW Random Number Generator support"
-	depends on (X86 || PPC_MAPLE || COMPILE_TEST)
+	depends on (X86 || COMPILE_TEST)
 	depends on PCI && HAS_IOPORT_MAP
 	default HW_RANDOM
 	help
-- 
2.47.0

Re: [PATCH] hwrng: amd - remove reference to removed PPC_MAPLE config
Posted by Herbert Xu 1 week, 1 day ago
On Wed, Nov 06, 2024 at 09:13:43AM +0100, Lukas Bulwahn wrote:
> From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> 
> Commit 62f8f307c80e ("powerpc/64: Remove maple platform") removes the
> PPC_MAPLE config as a consequence of the platform’s removal.
> 
> The config definition of HW_RANDOM_AMD refers to this removed config option
> in its dependencies.
> 
> Remove the reference to the removed config option.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> ---
>  drivers/char/hw_random/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [PATCH] hwrng: amd - remove reference to removed PPC_MAPLE config
Posted by Michael Ellerman 2 weeks, 3 days ago
Lukas Bulwahn <lbulwahn@redhat.com> writes:
> From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
>
> Commit 62f8f307c80e ("powerpc/64: Remove maple platform") removes the
> PPC_MAPLE config as a consequence of the platform’s removal.
>
> The config definition of HW_RANDOM_AMD refers to this removed config option
> in its dependencies.
>
> Remove the reference to the removed config option.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> ---
>  drivers/char/hw_random/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)

Thanks for cleaning it up.

There's also an EDAC and cpufreq driver that need to be removed. I
posted the patches before [1] but need to resend them to the relevant
maintainers and with updated change logs.

[1]: https://lore.kernel.org/linuxppc-dev/20240823112134.1314561-2-mpe@ellerman.id.au/

cheers