[PATCH v11 01/40] arm64: Define CPACR_EL1_FPEN similarly to other floating point controls

Catalin Marinas catalin.marinas at arm.com
Thu Feb 10 03:34:25 PST 2022


On Mon, Feb 07, 2022 at 03:20:30PM +0000, Mark Brown wrote:
> The base floating point, SVE and SME all have enable controls for EL0 and
> EL1 in CPACR_EL1 which have a similar layout and function. Currently the
> basic floating point enable FPEN is defined differently to the SVE control,
> specified as a single define in kvm_arm.h rather than in sysreg.h. Move the
> define to sysreg.h and provide separate EL0 and EL1 control bits so code
> managing the different floating point enables can look consistent.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

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



More information about the linux-arm-kernel mailing list