[PATCH v11 24/40] arm64/sme: Disable streaming mode and ZA when flushing CPU state

Catalin Marinas catalin.marinas at arm.com
Wed Feb 23 07:28:35 PST 2022


On Mon, Feb 07, 2022 at 03:20:53PM +0000, Mark Brown wrote:
> Both streaming mode and ZA may increase power consumption when they are
> enabled and streaming mode makes many FPSIMD and SVE instructions undefined
> which will cause problems for any kernel mode floating point so disable
> both when we flush the CPU state. This covers both kernel_neon_begin() and
> idle and after flushing the state a reload is always required anyway.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

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



More information about the linux-arm-kernel mailing list