Re: [PATCH v1 3/3] iommu/vt-d: Fix a bug for PDP check in prq_event_thread

Yi Sun
2020-10-28T06:11:27Z

On 20-10-28 13:05:05, Lu Baolu wrote:
> Hi Yi,
>
> On 10/28/20 9:36 AM, Yi Sun wrote:
> >From: "Liu, Yi L" <yi.l.liu@intel.com>
>
> Can you please add some description here? How far should this patch back
> ported? A Fixes tag?
>
Sure. Will add description and Fixes tag.

> Best regards,
> baolu
>
> >
> >Signed-off-by: Liu, Yi L <yi.l.liu@intel.com>
> >Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
> >---
> > drivers/iommu/intel/svm.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/drivers/iommu/intel/svm.c b/drivers/iommu/intel/svm.c
> >index 75d9dc9..1870248 100644
> >--- a/drivers/iommu/intel/svm.c
> >+++ b/drivers/iommu/intel/svm.c
> >@@ -1032,7 +1032,7 @@ static irqreturn_t prq_event_thread(int irq, void *d)
> > resp.qw0 = QI_PGRP_PASID(req->pasid) |
> > QI_PGRP_DID(req->rid) |
> > QI_PGRP_PASID_P(req->pasid_present) |
> >- QI_PGRP_PDP(req->pasid_present) |
> >+ QI_PGRP_PDP(req->priv_data_present) |
> > QI_PGRP_RESP_CODE(result) |
> > QI_PGRP_RESP_TYPE;
> > resp.qw1 = QI_PGRP_IDX(req->prg_index) |
> >