On 22/03/18 01:09, Yisheng Xie wrote:
> Hi Jean,
>
> On 2018/3/21 21:24, Jean-Philippe Brucker wrote:
>> Hi Yisheng,
>>
>> On 19/03/18 11:03, Yisheng Xie wrote:
>>> Hi Jean,
>>>
>>> [...]
@@ -3168,6 +3260,13 @@ static int arm_smmu_device_probe(struct
platform_device *pdev)
if
Hi Jean,
On 2018/3/21 21:24, Jean-Philippe Brucker wrote:
> Hi Yisheng,
>
> On 19/03/18 11:03, Yisheng Xie wrote:
>> Hi Jean,
>>
>> [...]
>>> @@ -3168,6 +3260,13 @@ static int arm_smmu_device_probe(struct
>>> platform_device *pdev)
>>> if (ret)
>>> return ret;
>>>
>>> + if
Hi Yisheng,
On 19/03/18 11:03, Yisheng Xie wrote:
> Hi Jean,
>
> [...]
>> @@ -3168,6 +3260,13 @@ static int arm_smmu_device_probe(struct
>> platform_device *pdev)
>> if (ret)
>> return ret;
>>
>> +if (smmu->features & (ARM_SMMU_FEAT_STALLS | ARM_SMMU_FEAT_PRI)) {
>> +
Hi Jean,
[...]
> @@ -3168,6 +3260,13 @@ static int arm_smmu_device_probe(struct
> platform_device *pdev)
> if (ret)
> return ret;
>
> + if (smmu->features & (ARM_SMMU_FEAT_STALLS | ARM_SMMU_FEAT_PRI)) {
> + smmu->faultq_nb.notifier_call =
On 08/03/18 17:44, Jonathan Cameron wrote:
>> @@ -3168,6 +3260,13 @@ static int arm_smmu_device_probe(struct
>> platform_device *pdev)
>> if (ret)
>> return ret;
>>
>> +if (smmu->features & (ARM_SMMU_FEAT_STALLS | ARM_SMMU_FEAT_PRI)) {
>> +
On Mon, 12 Feb 2018 18:33:42 +
Jean-Philippe Brucker wrote:
> When using PRI or Stall, the PRI or event handler enqueues faults into the
> core fault queue. Register it based on the SMMU features.
>
> When the core stops using a PASID, it notifies the SMMU to
When using PRI or Stall, the PRI or event handler enqueues faults into the
core fault queue. Register it based on the SMMU features.
When the core stops using a PASID, it notifies the SMMU to flush all
instances of this PASID from the PRI queue. Add a way to flush the PRI and
event queue. PRI and