On Mon, Jun 18, 2018 at 01:02:56PM +0100, Mark Rutland wrote: > Now that we have sysreg_clear_set(), we can use this instead of > change_cpacr(). > > Note that the order of the set and clear arguments differs between > change_cpacr() and sysreg_clear_set(), so these are flipped as part of > the conversion. Also, sve_user_enable() redundantly clears > CPACR_EL1_ZEN_EL0EN before setting it; this is removed for clarity. > > Signed-off-by: Mark Rutland <mark.rutland@xxxxxxx> > Reviewed-by: Dave Martin <dave.martin@xxxxxxx> > Cc: Catalin Marinas <catalin.marinas@xxxxxxx> > Cc: James Morse <james.morse@xxxxxxx> > Cc: Will Deacon <will.deacon@xxxxxxx> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>