Giacomo Travaglini has submitted this change and it was merged. (
https://gem5-review.googlesource.com/10046 )
Change subject: arch-arm: Fix masking in CPACR_EL1
......................................................................
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 <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/10046
Maintainer: Andreas Sandberg <[email protected]>
---
M src/arch/arm/isa.cc
1 file changed, 0 insertions(+), 11 deletions(-)
Approvals:
Andreas Sandberg: Looks good to me, approved; Looks good to me, approved
diff --git a/src/arch/arm/isa.cc b/src/arch/arm/isa.cc
index 9543753..7f0e0f4 100644
--- a/src/arch/arm/isa.cc
+++ b/src/arch/arm/isa.cc
@@ -754,17 +754,6 @@
miscRegName[misc_reg], newVal);
}
break;
- case MISCREG_CPACR_EL1:
- {
- const uint32_t ones = (uint32_t)(-1);
- CPACR cpacrMask = 0;
- cpacrMask.tta = ones;
- cpacrMask.fpen = ones;
- newVal &= cpacrMask;
- DPRINTF(MiscRegs, "Writing misc reg %s: %#x\n",
- miscRegName[misc_reg], newVal);
- }
- break;
case MISCREG_CPTR_EL2:
{
const uint32_t ones = (uint32_t)(-1);
--
To view, visit https://gem5-review.googlesource.com/10046
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: If1fa3fa1e06bc38495b8afce2c635f3ddf76ce32
Gerrit-Change-Number: 10046
Gerrit-PatchSet: 3
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev