[PATCH v11 09/40] arm64/sme: Early CPU setup for SME
Catalin Marinas
catalin.marinas at arm.com
Mon Feb 21 03:54:32 PST 2022
On Mon, Feb 07, 2022 at 03:20:38PM +0000, Mark Brown wrote:
> SME requires similar setup to that for SVE: disable traps to EL2 and
> make sure that the maximum vector length is available to EL1, for SME we
> have two traps - one for SME itself and one for TPIDR2.
>
> In addition since we currently make no active use of priority control
> for SCMUs we map all SME priorities lower ELs may configure to 0, the
> architecture specified minimum priority, to ensure that nothing we
> manage is able to configure itself to consume excessive resources. This
> will need to be revisited should there be a need to manage SME
> priorities at runtime.
>
> 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