[PATCH v2 0/3] Import Arm Optimized Routines str{n}cmp functions

Catalin Marinas catalin.marinas at arm.com
Tue Mar 1 07:02:56 PST 2022


On Tue, Mar 01, 2022 at 10:14:32AM +0000, Joey Gouly wrote:
> The previous str{n}cmp routines were not MTE safe, so were disabled in:
>   59a68d413808 ("arm64: Mitigate MTE issues with str{n}cmp()")
> 
> The Arm Optimized Routines repository recently merged [1] their strcmp.S and
> strcmp-mte.S files into a single file that is MTE safe.
> 
> Therefore we can import these new MTE safe functions and remove the workaround.
> 
> I did some light boot tests using QEMU.
> 
> Changes since v1 [2]:
>   - Rebased onto v5.17-rc3 (Asked for by Will [3])
>   - Clarified the license in the commit message
>   - Added Mark's acks

For the series:

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

-- 
Catalin



More information about the linux-arm-kernel mailing list