Thread (53 messages) flat view 53 messages, 4 authors, 2018-06-20

[PATCHv3 05/19] arm64: kill change_cpacr()

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2018-06-19 11:45:33
Also in: linux-fsdevel

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@arm.com>
Reviewed-by: Dave Martin <dave.martin@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help