riscv: ae350: Enable CCTL_SUEN
authorRick Chen <rick@andestech.com>
Tue, 3 Jan 2023 08:17:13 +0000 (16:17 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 1 Feb 2023 08:17:34 +0000 (16:17 +0800)
commitc83f64b77dfa08717d697672881dbe33db6786b8
treee163868a46d4341839ec84174782b2c9a9750ff5
parent81b56a55c21cf3de3e8faa4de3830a9036bf3e5c
riscv: ae350: Enable CCTL_SUEN

CCTL operations are available to Supervisor/User-mode
software under the control of the mcache_ctl.CCTL_SUEN
control bit. Enable it to support Supervisor(and User)
CCTL operations.

Signed-off-by: Rick Chen <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/cpu/ax25/cpu.c