diff options
author | Marc Mari Barcelo <marc.maribarcelo@arm.com> | 2019-09-18 18:17:09 +0100 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2019-10-02 15:55:06 +0000 |
commit | 2e98297d6218cce54f88706a1860f3bb1cd68b39 (patch) | |
tree | 09ce3d8e1b4ba388606132305e4889246d3db484 /src | |
parent | ee4648fa7ef160c4c4decf4e3f4b53589e514591 (diff) | |
download | gem5-2e98297d6218cce54f88706a1860f3bb1cd68b39.tar.xz |
dev-arm: Improve fault message on SMMUv3 translation fault
Change-Id: Ib1d7ae73951b52f2378f8bd50e804d3237f74074
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21303
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/dev/arm/smmu_v3_transl.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dev/arm/smmu_v3_transl.cc b/src/dev/arm/smmu_v3_transl.cc index b28682686..10ded1a5c 100644 --- a/src/dev/arm/smmu_v3_transl.cc +++ b/src/dev/arm/smmu_v3_transl.cc @@ -226,7 +226,10 @@ SMMUTranslationProcess::main(Yield &yield) hazardIdRelease(); if (tr.fault != FAULT_NONE) - panic("fault\n"); + panic("Translation Fault (addr=%#x, size=%#x, sid=%d, ssid=%d, " + "isWrite=%d, isPrefetch=%d, isAtsRequest=%d)\n", + request.addr, request.size, request.sid, request.ssid, + request.isWrite, request.isPrefetch, request.isAtsRequest); completeTransaction(yield, tr); } |