arch-arm: Fix masking in CPACR_EL1
authorChuan Zhu <chuan.zhu@arm.com>
Wed, 17 Jan 2018 10:59:30 +0000 (10:59 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 18 Apr 2018 15:23:07 +0000 (15:23 +0000)
commit8dabce896aca604f7e47a826970434b8a33b7e9d
tree59807a826831892b78a71e2063c3ac16a2343ff4
parentabbe32b6acacb22761e969b716631c5f616f3229
arch-arm: Fix masking in CPACR_EL1

Some bits in CPACR_EL1 are RES0 but not RAZ/WI. For instance, bit
CPACR_EL1[31] is RES0 but should be made stateful, since it allows
programing of CPACR.ASEDIS. Therefore the masking of CPACR_EL1
is removed.

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