public inbox for iommu@lists.linux-foundation.org
 help / color / mirror / Atom feed
From: Lu Baolu <baolu.lu@linux.intel.com>
To: 周光迪 <zhouguangdi@cambricon.com>, iommu@lists.linux-foundation.org
Subject: Re: intel iommu pasid question
Date: Sun, 19 Jan 2020 09:53:09 +0800	[thread overview]
Message-ID: <b1495d7f-e15a-780d-8ef5-2838a7bf2ef1@linux.intel.com> (raw)
In-Reply-To: <2419db41.2662.16fb6dfed52.Coremail.zhouguangdi@cambricon.com>

Hi Guangdi,

On 1/18/20 12:18 PM, 周光迪 wrote:
> 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.

Intel IOMMU driver currently supports SVA through APIs defined in
include/linux/intel-svm.h. We are switching to use the APIs defined
in driver/iommu/iommu.c, but it should last for some while.

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

      parent reply	other threads:[~2020-01-19  1:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1495d7f-e15a-780d-8ef5-2838a7bf2ef1@linux.intel.com \
    --to=baolu.lu@linux.intel.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=zhouguangdi@cambricon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox