Discussion:
PCIe PASID (Process Address Space ID) and iommu code
Bjorn Helgaas
2014-10-16 03:50:58 UTC
Permalink
[+cc Joerg, Suravee, Jay, iommu list, linux-pci]
Resending, as message got bounced for html content.
--------------------------------------------
Hi,
PCIe has introduced PASID TLP Prefix. There are two ECNs on this.
It seems that AMD iommu code makes use of PASID. Is there a device that
utilizes this TLP prefix?
PASID allocation and management within a device is not clear to me. How
does device know which PASID to issue for which virtual address? Who makes
the association? Must be software/OS, but how? There is no table for this
like MSI-X table.
Any pointer/documentation will be appreciated.
Regards,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Joerg Roedel
2014-10-16 09:14:33 UTC
Permalink
Post by Bjorn Helgaas
[+cc Joerg, Suravee, Jay, iommu list, linux-pci]
Resending, as message got bounced for html content.
--------------------------------------------
Hi,
PCIe has introduced PASID TLP Prefix. There are two ECNs on this.
It seems that AMD iommu code makes use of PASID. Is there a device that
utilizes this TLP prefix?
Yes, recent radeon GPUs can make use of the TLP prefix.
Post by Bjorn Helgaas
PASID allocation and management within a device is not clear to me. How
does device know which PASID to issue for which virtual address? Who makes
the association? Must be software/OS, but how? There is no table for this
like MSI-X table.
The setup of the PASIDs is device specific, so there is no standard for
setting up PASID address spaces on devices.


HTH,

Joerg

Loading...