From: Marc Mari Barcelo Date: Wed, 18 Sep 2019 17:17:09 +0000 (+0100) Subject: dev-arm: Improve fault message on SMMUv3 translation fault X-Git-Tag: v19.0.0.0~483 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e98297d6218cce54f88706a1860f3bb1cd68b39;p=gem5.git dev-arm: Improve fault message on SMMUv3 translation fault Change-Id: Ib1d7ae73951b52f2378f8bd50e804d3237f74074 Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21303 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- 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); }