public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files
@ 2026-03-17  4:49 Eric Biggers
  2026-03-17 11:10 ` Ard Biesheuvel
  2026-03-17 16:28 ` Eric Biggers
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Biggers @ 2026-03-17  4:49 UTC (permalink / raw)
  To: linux-crypto
  Cc: linux-kernel, Ard Biesheuvel, Jason A . Donenfeld, Herbert Xu,
	linuxppc-dev, Eric Biggers

Make the generated file powerpc/aesp8-ppc.S be removed by 'make clean'.

Fixes: 7cf2082e74ce ("lib/crypto: powerpc/aes: Migrate POWER8 optimized code into library")
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
---
 lib/crypto/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index 725eef05b758..dc7a56f7287d 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -53,10 +53,13 @@ endif # CONFIG_PPC
 libaes-$(CONFIG_RISCV) += riscv/aes-riscv64-zvkned.o
 libaes-$(CONFIG_SPARC) += sparc/aes_asm.o
 libaes-$(CONFIG_X86) += x86/aes-aesni.o
 endif # CONFIG_CRYPTO_LIB_AES_ARCH
 
+# clean-files must be defined unconditionally
+clean-files += powerpc/aesp8-ppc.S
+
 ################################################################################
 
 obj-$(CONFIG_CRYPTO_LIB_AESCFB)			+= libaescfb.o
 libaescfb-y					:= aescfb.o
 

base-commit: ebba09f198078b7a2565004104ef762d1148e7f0
-- 
2.53.0


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

* Re: [PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files
  2026-03-17  4:49 [PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files Eric Biggers
@ 2026-03-17 11:10 ` Ard Biesheuvel
  2026-03-17 16:28 ` Eric Biggers
  1 sibling, 0 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2026-03-17 11:10 UTC (permalink / raw)
  To: Eric Biggers, linux-crypto
  Cc: linux-kernel, Jason A . Donenfeld, Herbert Xu, linuxppc-dev



On Tue, 17 Mar 2026, at 05:49, Eric Biggers wrote:
> Make the generated file powerpc/aesp8-ppc.S be removed by 'make clean'.
>
> Fixes: 7cf2082e74ce ("lib/crypto: powerpc/aes: Migrate POWER8 optimized 
> code into library")
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>  lib/crypto/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
>

Acked-by: Ard Biesheuvel <ardb@kernel.org>

> diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
> index 725eef05b758..dc7a56f7287d 100644
> --- a/lib/crypto/Makefile
> +++ b/lib/crypto/Makefile
> @@ -53,10 +53,13 @@ endif # CONFIG_PPC
>  libaes-$(CONFIG_RISCV) += riscv/aes-riscv64-zvkned.o
>  libaes-$(CONFIG_SPARC) += sparc/aes_asm.o
>  libaes-$(CONFIG_X86) += x86/aes-aesni.o
>  endif # CONFIG_CRYPTO_LIB_AES_ARCH
> 
> +# clean-files must be defined unconditionally
> +clean-files += powerpc/aesp8-ppc.S
> +
>  
> ################################################################################
> 
>  obj-$(CONFIG_CRYPTO_LIB_AESCFB)			+= libaescfb.o
>  libaescfb-y					:= aescfb.o
> 
>
> base-commit: ebba09f198078b7a2565004104ef762d1148e7f0
> -- 
> 2.53.0

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

* Re: [PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files
  2026-03-17  4:49 [PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files Eric Biggers
  2026-03-17 11:10 ` Ard Biesheuvel
@ 2026-03-17 16:28 ` Eric Biggers
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Biggers @ 2026-03-17 16:28 UTC (permalink / raw)
  To: linux-crypto
  Cc: linux-kernel, Ard Biesheuvel, Jason A . Donenfeld, Herbert Xu,
	linuxppc-dev

On Mon, Mar 16, 2026 at 09:49:25PM -0700, Eric Biggers wrote:
> Make the generated file powerpc/aesp8-ppc.S be removed by 'make clean'.
> 
> Fixes: 7cf2082e74ce ("lib/crypto: powerpc/aes: Migrate POWER8 optimized code into library")
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>  lib/crypto/Makefile | 3 +++
>  1 file changed, 3 insertions(+)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes

- Eric

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

end of thread, other threads:[~2026-03-17 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-17  4:49 [PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files Eric Biggers
2026-03-17 11:10 ` Ard Biesheuvel
2026-03-17 16:28 ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox