arch-arm: Allow dc ivac from EL0 when SCTLR_EL1.UCI=1
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 25 Sep 2017 15:43:37 +0000 (16:43 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 9 Nov 2017 20:48:25 +0000 (20:48 +0000)
commit8d439221e77f505ddf1ce36ae7ca6fdb406e0dbc
tree4a56b439be7affc267f4da3111cf212bbd508b01
parent20de3bb759a36dbffed10adae2159e376b7cb68c
arch-arm: Allow dc ivac from EL0 when SCTLR_EL1.UCI=1

A program running in EL0 is allowed to execute CMOs when the UCI bit
in SCTLR is set. The execution of dc ivac, however, would fault
uncoditionally when executed from EL0. This change aligns the
permission checks for dc ivac with the rest of the CMOs.

Change-Id: I1a532f37707c7dc0748b4375252c6ec0bbf95419
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5058
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/miscregs.cc