Re: [RFC PATCH 21/30] iommu/arm-smmu-v3: Handle device faults from PRI

2017-03-27 Thread Jean-Philippe Brucker
Hi Valmiki, On 25/03/17 05:16, valmiki wrote: >> When we receive a PRI Page Request (PPR) from the SMMU, it contains a >> context identifier SID:SSID, an IOVA and the requested access flags. >> >> Search the domain corresponding to SID:SSID, and call handle_mm_fault on >> its mm. If memory managem

Re: [RFC PATCH 21/30] iommu/arm-smmu-v3: Handle device faults from PRI

2017-03-25 Thread valmiki
When we receive a PRI Page Request (PPR) from the SMMU, it contains a context identifier SID:SSID, an IOVA and the requested access flags. Search the domain corresponding to SID:SSID, and call handle_mm_fault on its mm. If memory management is able to fix the fault, we ask the device to retry

[RFC PATCH 21/30] iommu/arm-smmu-v3: Handle device faults from PRI

2017-02-27 Thread Jean-Philippe Brucker
When we receive a PRI Page Request (PPR) from the SMMU, it contains a context identifier SID:SSID, an IOVA and the requested access flags. Search the domain corresponding to SID:SSID, and call handle_mm_fault on its mm. If memory management is able to fix the fault, we ask the device to retry the