[PATCH] arm64/sve: Remove redundant system_supports_sve() tests
Catalin Marinas
catalin.marinas at arm.com
Wed Apr 14 11:06:51 BST 2021
On Mon, 12 Apr 2021 18:23:20 +0100, Mark Brown wrote:
> Currently there are a number of places in the SVE code where we check both
> system_supports_sve() and TIF_SVE. This is a bit redundant given that we
> should never get into a situation where we have set TIF_SVE without having
> SVE support and it is not clear that silently ignoring a mistakenly set
> TIF_SVE flag is the most sensible error handling approach. For now let's
> just drop the system_supports_sve() checks since this will at least reduce
> overhead a little.
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64/sve: Remove redundant system_supports_sve() tests
https://git.kernel.org/arm64/c/ef9c5d09797d
--
Catalin
More information about the linux-arm-kernel
mailing list