[PATCH v11 02/40] arm64: Always use individual bits in CPACR floating point enables

Catalin Marinas catalin.marinas at arm.com
Thu Feb 10 03:36:46 PST 2022


On Mon, Feb 07, 2022 at 03:20:31PM +0000, Mark Brown wrote:
> CPACR_EL1 has several bitfields for controlling traps for floating point
> features to EL1, each of which has a separate bits for EL0 and EL1. Marc
> Zyngier noted that we are not consistent in our use of defines to
> manipulate these, sometimes using a define covering the whole field and
> sometimes using defines for the individual bits. Make this consistent by
> expanding the whole field defines where they are used (currently only in
> the KVM code) and deleting them so that no further uses can be
> introduced.
> 
> Suggested-by: Marc Zyngier <maz at kernel.org>
> 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