Hi Jean, On 23/07/18 22:24, Miao Zhong wrote: > From: Miao Zhong <[email protected]> > > 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 not sure this >patch makes sense on its own, but it seems correct anyway. I had a similar >patch in my initial SVA RFC, but for some reason dropped it in later versions >(https://patchwork.kernel.org/patch/9594021/) I have verified this patch on HiSilicon platform and it works. >It's worth noting that the event queue doesn't have the same problem, because >the SMMU can record new events even if the overflow hasn't been acknowledged. 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. ^_^……. Thanks, Miao >Thanks, >Jean _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
