public inbox for iommu@lists.linux-foundation.org
 help / color / mirror / Atom feed
* intel iommu pasid question
@ 2020-01-18  4:18 周光迪
  2020-01-18  4:20 ` 周光迪
  2020-01-19  1:53 ` Lu Baolu
  0 siblings, 2 replies; 4+ messages in thread
From: 周光迪 @ 2020-01-18  4:18 UTC (permalink / raw)
  To: iommu


[-- Attachment #1.1: Type: text/plain, Size: 771 bytes --]

Hi all,  


I am currently developing a pcie device driver on Linux kernel 4.4 or later. I want to use pasid to directly access user-mode memory. But I found that the iommu of my development machine does not support pasid.pasid_enabled(iommu) or pasid_supported(iommu) return false.


I want to know how to enable the pasid function of intel iommu,Is there a separate switch to enable the iommu pasid function or the iommu hardware implementation has decided whether to support PASID and the software cannot configure it?


How can I check which version of intel vt-d is implemented by iommu on my platform?Does the value of iommu's Version Register represent the vt-d version? 
the iommu version register of my intel xeon gold 5118 platform server is 1.0










[-- Attachment #1.2: Type: text/html, Size: 1334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-19  3:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-18  4:18 intel iommu pasid question 周光迪
2020-01-18  4:20 ` 周光迪
2020-01-19  3:18   ` Liu, Yi L
2020-01-19  1:53 ` Lu Baolu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox