]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iommu/intel-svm.c
atp870u: Add channel parameter to is870() and is880()
[karo-tx-linux.git] / drivers / iommu / intel-svm.c
index 48a3d4a3d6c03d3003032b5b79d7260bd25b6e3a..c69e3f9ec9586bca0cd2ef712a3cf9fc25f4689f 100644 (file)
@@ -564,7 +564,7 @@ static irqreturn_t prq_event_thread(int irq, void *d)
 
                if (sdev && sdev->ops && sdev->ops->fault_cb) {
                        int rwxp = (req->rd_req << 3) | (req->wr_req << 2) |
-                               (req->wr_req << 1) | (req->exe_req);
+                               (req->exe_req << 1) | (req->priv_req);
                        sdev->ops->fault_cb(sdev->dev, req->pasid, req->addr, req->private, rwxp, result);
                }
                /* We get here in the error case where the PASID lookup failed,