All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Vasant Hegde <vasant.hegde@amd.com>
Cc: iommu@lists.linux-foundation.org
Subject: Re: [PATCH v1 0/7] iommu/amd: Add Generic IO Page Table Framework Support for v2 Page Table
Date: Wed, 6 Jul 2022 11:14:23 +0200	[thread overview]
Message-ID: <YsVSb2LssZINNsOm@8bytes.org> (raw)
In-Reply-To: <5ad3770b-16a5-9148-54dc-5dcb93efcc81@amd.com>

On Tue, Jun 28, 2022 at 02:35:51PM +0530, Vasant Hegde wrote:
> Sorry. I didn't get last statement ("device identity maps DMA requests without PASID").
> Can you please elaborate?

When using v1 page-tables, each device supporting ATS/PRI/PASID needs to
be direct-mapped, because the v1 page-tables basically act as a stage-2
page table for the PASID ones.

But when the non-pasid case moves to the pasid==0 page-table, then there
is not stage-2 anymore and a device can be used with ATS/PRI/PASID while
non-PASID requests are translated too, no?

I didn't get how this is handled in the current patch-set.

Regards,

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

  reply	other threads:[~2022-07-06  9:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03 11:21 [PATCH v1 0/7] iommu/amd: Add Generic IO Page Table Framework Support for v2 Page Table Vasant Hegde via iommu
2022-06-03 11:21 ` [PATCH v1 1/7] iommu/amd: Refactor amd_iommu_domain_enable_v2 Vasant Hegde via iommu
2022-06-03 11:21 ` [PATCH v1 2/7] iommu/amd: Update sanity check when enable PRI/ATS Vasant Hegde via iommu
2022-06-03 11:21 ` [PATCH v1 3/7] iommu/amd: Fix sparse warning Vasant Hegde via iommu
2022-06-23  8:03   ` Joerg Roedel
2022-06-23  9:42     ` Robin Murphy
2022-06-23 11:30       ` Joerg Roedel
2022-06-27 10:29       ` Vasant Hegde via iommu
2022-07-13  4:07         ` Vasant Hegde
2022-07-15 11:32           ` Robin Murphy
2022-06-03 11:21 ` [PATCH v1 4/7] iommu/amd: Initial support for AMD IOMMU v2 page table Vasant Hegde via iommu
2022-06-23  8:09   ` Joerg Roedel
2022-06-03 11:21 ` [PATCH v1 5/7] iommu/amd: Add support for Guest IO protection Vasant Hegde via iommu
2022-06-03 11:21 ` [PATCH v1 6/7] iommu/amd: Add support for using AMD IOMMU v2 page table for DMA-API Vasant Hegde via iommu
2022-06-03 11:21 ` [PATCH v1 7/7] iommu/amd: Introduce amd_iommu_pgtable command-line option Vasant Hegde via iommu
2022-06-23  8:12   ` Joerg Roedel
2022-06-28  7:53     ` Vasant Hegde via iommu
2022-07-06  9:11       ` Joerg Roedel
2022-06-23  8:15 ` [PATCH v1 0/7] iommu/amd: Add Generic IO Page Table Framework Support for v2 Page Table Joerg Roedel
2022-06-28  9:05   ` Vasant Hegde via iommu
2022-07-06  9:14     ` Joerg Roedel [this message]
2022-07-13  3:07       ` Suthikulpanit, Suravee

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=YsVSb2LssZINNsOm@8bytes.org \
    --to=joro@8bytes.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=vasant.hegde@amd.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.