-
gem5/src/dev/arm/smmu_v3_transl.cc Line 232 in c890e6b I noticed that in the current SMMU implementation, whenever there is a translation fault a panic is triggered, and the whole simulation is terminated. How can I change the source code correctly so that translation requests that cause faults are aborted? I tried replacing the panic call with the below lines, but seems like this also caused a random crash in the ethernet device which I did not observe before.
Really appreciate any help on how to abort faulty requests correctly. @andysan @giactra |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Yeah this is a missing feature of the SMMUv3 implementation in gem5. For sure you should use the sendEvent method to write into the EVENTQ before doing ACTION_TERMINATE.
It could very well be the crash is due to a bug causing the translation failure and not the way you are handling the failure per se. I would first check the EVENTQ is written properly and the network driver is reading the status accordingly, and then start the more complex endeavour of chasing the motivation behind the translation fault...
|
Beta Was this translation helpful? Give feedback.
Hey @sammy17 please have a look at #920