Linux IOMMU Development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Vasant Hegde <vasant.hegde@amd.com>
Cc: iommu@lists.linux.dev, joro@8bytes.org,
	suravee.suthikulpanit@amd.com, wei.huang2@amd.com,
	jsnitsel@redhat.com
Subject: Re: [PATCH 0/4] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module
Date: Tue, 15 Aug 2023 11:41:01 -0300	[thread overview]
Message-ID: <ZNuOfZIm6itzNkbu@ziepe.ca> (raw)
In-Reply-To: <20230815103255.565295-1-vasant.hegde@amd.com>

On Tue, Aug 15, 2023 at 10:32:51AM +0000, Vasant Hegde wrote:
> This is part 2 of the 4-part series to introduce Share Virtual Address
> (SVA) support. This series removes iommu_v2 module support.
> 
> AMD GPU driver which was the only in-kernel user of iommu_v2 module is
> removing dependency on iommu_v2 module [1].
> 
> [1] https://patchwork.freedesktop.org/series/122124/
> 
> Also subsequent series will add SVA spuport in AMD IOMMU driver. Device
> drivers are expected to use common SVA framework to enable device
> PASID/PRI features.
> 
> Hence this series removes iommu_v2 module and the functions used to support
> iommu_v2 modue. Note that there are certain functions (ex: PPR interrupt
> handling code) which will be used in subsequent series for SVA support.
> Hence not removed those functions.
> 
> This patch series is based on top of SVA Part 1 [1] :
>   https://lore.kernel.org/linux-iommu/20230815102202.565012-1-vasant.hegde@amd.com/T/#t
> 
>   Also to build kernel with this series either we need above AMD GPU
>   related changes [1] -OR- compile with kernel config 'CONFIG_HSA_AMD=n'.

Why did you order it this way? Wouldn't part 1 be nicer if it doesn't
have to worry about this code? Especially since part 1 is now not
changing this code?

Jason

  parent reply	other threads:[~2023-08-15 14:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15 10:32 [PATCH 0/4] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Vasant Hegde
2023-08-15 10:32 ` [PATCH 1/4] iommu/amd: Remove " Vasant Hegde
2023-08-15 14:43   ` Jason Gunthorpe
2023-08-16  9:52     ` Vasant Hegde
2023-08-15 10:32 ` [PATCH 2/4] iommu/amd: Remove PPR support Vasant Hegde
2023-08-15 10:32 ` [PATCH 3/4] iommu/amd: Remove amd_iommu_device_info() Vasant Hegde
2023-08-15 10:32 ` [PATCH 4/4] iommu/amd: Remove unused EXPORT_SYMBOLS Vasant Hegde
2023-08-15 14:41 ` Jason Gunthorpe [this message]
2023-08-16  7:31   ` [PATCH 0/4] iommu/amd: SVA Support (part 2) - deprecate iommu_v2 module Vasant Hegde

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=ZNuOfZIm6itzNkbu@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=jsnitsel@redhat.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=vasant.hegde@amd.com \
    --cc=wei.huang2@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox