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@kernel.org Signed-off-by: Mark Brown broonie@kernel.org
Acked-by: Catalin Marinas catalin.marinas@arm.com