Re: [PATCH v1 1/3] iommu/vt-d: Fix prq reporting issues

2020-10-27 Thread Yi Sun
Thanks! Will do the modifications according to your comments in next version. On 20-10-28 12:50:37, Lu Baolu wrote: > Hi Yi, > > On 10/28/20 9:36 AM, Yi Sun wrote: > >From: Liu Yi L > > > >Should get correct sid and set it into sdev. Because we execute > >'sdev->sid != req->rid' in the loop of p

Re: [PATCH v1 1/3] iommu/vt-d: Fix prq reporting issues

2020-10-27 Thread Lu Baolu
Hi Yi, On 10/28/20 9:36 AM, Yi Sun wrote: From: Liu Yi L Should get correct sid and set it into sdev. Because we execute 'sdev->sid != req->rid' in the loop of prq_event_thread(). How about making the title more accurate, how about something like: iommu/vt-d: Fix use before set issue in int

[PATCH v1 1/3] iommu/vt-d: Fix prq reporting issues

2020-10-27 Thread Yi Sun
From: Liu Yi L Should get correct sid and set it into sdev. Because we execute 'sdev->sid != req->rid' in the loop of prq_event_thread(). Signed-off-by: Liu Yi L Signed-off-by: Yi Sun --- drivers/iommu/intel/svm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/iommu/intel/svm.