linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: lib: Consistently enable crc32 extension
@ 2020-04-14 18:28 Mark Brown
  2020-04-28 14:49 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2020-04-14 18:28 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon; +Cc: Mark Brown, Ard Biesheuvel, linux-arm-kernel

Currently most of the assembly files that use architecture extensions
enable them using the .arch directive but crc32.S uses .cpu instead. Move
that over to .arch for consistency.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
---
 arch/arm64/lib/crc32.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/lib/crc32.S b/arch/arm64/lib/crc32.S
index 243e107e9896..0f9e10ecda23 100644
--- a/arch/arm64/lib/crc32.S
+++ b/arch/arm64/lib/crc32.S
@@ -9,7 +9,7 @@
 #include <asm/alternative.h>
 #include <asm/assembler.h>
 
-	.cpu		generic+crc
+	.arch		armv8-a+crc
 
 	.macro		__crc32, c
 	cmp		x2, #16
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: lib: Consistently enable crc32 extension
  2020-04-14 18:28 [PATCH] arm64: lib: Consistently enable crc32 extension Mark Brown
@ 2020-04-28 14:49 ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2020-04-28 14:49 UTC (permalink / raw)
  To: Mark Brown, Catalin Marinas; +Cc: Will Deacon, Ard Biesheuvel, linux-arm-kernel

On Tue, 14 Apr 2020 19:28:43 +0100, Mark Brown wrote:
> Currently most of the assembly files that use architecture extensions
> enable them using the .arch directive but crc32.S uses .cpu instead. Move
> that over to .arch for consistency.

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: lib: Consistently enable crc32 extension
      https://git.kernel.org/arm64/c/30218da5974c

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-04-28 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 18:28 [PATCH] arm64: lib: Consistently enable crc32 extension Mark Brown
2020-04-28 14:49 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).