gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: arch-arm: Map CTR_EL0 to AArch32 version

GT
Giacomo Travaglini (Gerrit)
Wed, May 10, 2023 12:47 PM

Attention is currently required from: Richard Cooper.

Hello Richard Cooper,

I'd like you to do a code review.
Please visit

 https://gem5-review.googlesource.com/c/public/gem5/+/70463?usp=email

to review the following change.

Change subject: arch-arm: Map CTR_EL0 to AArch32 version
......................................................................

arch-arm: Map CTR_EL0 to AArch32 version

Change-Id: Ia3e0cafa1bd2a3054b286e79ac378c895d6910e8
Signed-off-by: Giacomo Travaglini giacomo.travaglini@arm.com
Reviewed-by: Richard Cooper richard.cooper@arm.com

M src/arch/arm/regs/misc.cc
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/arch/arm/regs/misc.cc b/src/arch/arm/regs/misc.cc
index 706716e..a31b6de 100644
--- a/src/arch/arm/regs/misc.cc
+++ b/src/arch/arm/regs/misc.cc
@@ -3681,7 +3681,8 @@
InitReg(MISCREG_CTR_EL0)
.faultRead(EL0, faultCtrEL0)
.faultRead(EL1, HCR_TRAP(tid2))

  •  .reads(1);
    
  •  .reads(1)
    
  •  .mapsTo(MISCREG_CTR);
    InitReg(MISCREG_DCZID_EL0)
      .reads(1);
    InitReg(MISCREG_VPIDR_EL2)
    

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/70463?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ia3e0cafa1bd2a3054b286e79ac378c895d6910e8
Gerrit-Change-Number: 70463
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini giacomo.travaglini@arm.com
Gerrit-Reviewer: Richard Cooper richard.cooper@arm.com
Gerrit-Attention: Richard Cooper richard.cooper@arm.com

Attention is currently required from: Richard Cooper. Hello Richard Cooper, I'd like you to do a code review. Please visit https://gem5-review.googlesource.com/c/public/gem5/+/70463?usp=email to review the following change. Change subject: arch-arm: Map CTR_EL0 to AArch32 version ...................................................................... arch-arm: Map CTR_EL0 to AArch32 version Change-Id: Ia3e0cafa1bd2a3054b286e79ac378c895d6910e8 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Richard Cooper <richard.cooper@arm.com> --- M src/arch/arm/regs/misc.cc 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/arch/arm/regs/misc.cc b/src/arch/arm/regs/misc.cc index 706716e..a31b6de 100644 --- a/src/arch/arm/regs/misc.cc +++ b/src/arch/arm/regs/misc.cc @@ -3681,7 +3681,8 @@ InitReg(MISCREG_CTR_EL0) .faultRead(EL0, faultCtrEL0) .faultRead(EL1, HCR_TRAP(tid2)) - .reads(1); + .reads(1) + .mapsTo(MISCREG_CTR); InitReg(MISCREG_DCZID_EL0) .reads(1); InitReg(MISCREG_VPIDR_EL2) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/70463?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: Ia3e0cafa1bd2a3054b286e79ac378c895d6910e8 Gerrit-Change-Number: 70463 Gerrit-PatchSet: 1 Gerrit-Owner: Giacomo Travaglini <giacomo.travaglini@arm.com> Gerrit-Reviewer: Richard Cooper <richard.cooper@arm.com> Gerrit-Attention: Richard Cooper <richard.cooper@arm.com>