Adrian Herrera has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/35297 )
Change subject: dev-arm: SMMUv3, default CMDQ entries to 128
......................................................................
dev-arm: SMMUv3, default CMDQ entries to 128
From Linux 587e6c10a7ce89a5924fdbeff2ec524fbd6a124b, SMMUv3
implementations in 64-bit platforms must report a minimum of 128 CMDQ
entries via SMMU_IDR1. Otherwise, the SMMUv3 Linux driver returns -ENXIO.
Change-Id: I304aac1b734515b3077003e8d67cc19730afc67f
---
M src/dev/arm/SMMUv3.py
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/dev/arm/SMMUv3.py b/src/dev/arm/SMMUv3.py
index 29c1568..f53b8ec 100644
--- a/src/dev/arm/SMMUv3.py
+++ b/src/dev/arm/SMMUv3.py
@@ -162,9 +162,9 @@
# [0] S2P = 0b1, Stage 2 translation supported.
smmu_idr0 = Param.UInt32(0x094C100F, "SMMU_IDR0 register");
- # [25:21] CMDQS = 0b00101, Maximum number of Command queue entries
- # as log 2 (entries) (0b00101 = 32 entries).
- smmu_idr1 = Param.UInt32(0x00A00000, "SMMU_IDR1 register");
+ # [25:21] CMDQS = 0b00111, Maximum number of Command queue entries
+ # as log 2 (entries) (0b00111 = 128 entries).
+ smmu_idr1 = Param.UInt32(0x00E00000, "SMMU_IDR1 register");
smmu_idr2 = Param.UInt32(0, "SMMU_IDR2 register");
smmu_idr3 = Param.UInt32(0, "SMMU_IDR3 register");
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/35297
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I304aac1b734515b3077003e8d67cc19730afc67f
Gerrit-Change-Number: 35297
Gerrit-PatchSet: 1
Gerrit-Owner: Adrian Herrera <adrian.herr...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s