Re: [PATCH] iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register

2018-07-23 Thread Zhongmiao
Hi, On 24/07/18 12:45, Zhongmiao wrote: > Yeah,I haven't tested smmu eventq overflow , so i'm not sure if there > is any problem with smmu eventq. However, the code shows that there is also > a problem after the smmu eventq overflows. ^_^……. >There really shouldn

Re: [PATCH] iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register

2018-07-23 Thread Zhongmiao
Hi , >"Note: In terms of delivering events, a queue in an unacknowledged overflow >state does not behave any differently to normal queue state. If software were >to consume events and free space but leave overflow unacknowledged, new events >could be recorded." Yeah, I agree with you . But I

Re: [PATCH] iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register

2018-07-23 Thread Zhongmiao
Hi Jean, On 23/07/18 22:24, Miao Zhong wrote: > From: Miao Zhong > > When PRI queue occurs overflow, driver should update the OVACKFLG to > the PRIQ consumer register, otherwise subsequent PRI requests will not > be processed. >Since the upstream driver doesn't enable PRI in endpoints, I'm n