Re: [PATCH v4 16/19] hw/arm/smmuv3: Handle translation faults according to SMMUPTWEventInfo

2024-07-08 Thread Eric Auger
On 7/4/24 20:36, Jean-Philippe Brucker wrote: > On Mon, Jul 01, 2024 at 11:02:38AM +, Mostafa Saleh wrote: >> Previously, to check if faults are enabled, it was sufficient to check >> the current stage of translation and check the corresponding >> record_faults flag. >> >> However, with nest

Re: [PATCH v4 16/19] hw/arm/smmuv3: Handle translation faults according to SMMUPTWEventInfo

2024-07-04 Thread Jean-Philippe Brucker
On Mon, Jul 01, 2024 at 11:02:38AM +, Mostafa Saleh wrote: > Previously, to check if faults are enabled, it was sufficient to check > the current stage of translation and check the corresponding > record_faults flag. > > However, with nesting, it is possible for stage-1 (nested) translation >

[PATCH v4 16/19] hw/arm/smmuv3: Handle translation faults according to SMMUPTWEventInfo

2024-07-01 Thread Mostafa Saleh
Previously, to check if faults are enabled, it was sufficient to check the current stage of translation and check the corresponding record_faults flag. However, with nesting, it is possible for stage-1 (nested) translation to trigger a stage-2 fault, so we check SMMUPTWEventInfo as it would have t