]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val
authorGuillaume Tucker <guillaume.tucker@collabora.com>
Mon, 10 Aug 2020 12:22:05 +0000 (13:22 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Aug 2020 18:07:32 +0000 (20:07 +0200)
commit952c54446a8af7d1bff826c4e167531aa3e97e4f
tree3e71cf8b0ae283e5fb0321afe8c1d0927fca77f5
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val

The L310_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable
sequence.  There is no need to set it in the default register value,
this was done before support for it was implemented in the code.  It
is not set in the hardware initial value either.

Clean this up by removing this flag from the default l2c_aux_val, and
add it to the l2c_aux_mask to print an alert message if it was already
set before the kernel initialisation.

Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-exynos/exynos.c