On 3/5/2014 4:35 PM, Joerg Roedel wrote:
-               cmd->data[1]  = pasid & PASID_MASK;
>+           cmd->data[1]  = pasid & amd_iommu_max_pasid;
... masking out the other bits is redundant.


        Joerg

Agree. I can take out the masking stuff here, but I think we should be using the amd_iommu_max_pasid instead of hard coded PASID_MASK for the rest.

Suravee


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to