[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFCerw6zMXkyYKax@google.com>
Date: Mon, 16 Jun 2025 22:46:07 +0000
From: Pranjal Shrivastava <praan@...gle.com>
To: Nicolin Chen <nicolinc@...dia.com>
Cc: jgg@...dia.com, kevin.tian@...el.com, will@...nel.org,
robin.murphy@....com, joro@...tes.org, yi.l.liu@...el.com,
peterz@...radead.org, jsnitsel@...hat.com,
linux-arm-kernel@...ts.infradead.org, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev,
baolu.lu@...ux.intel.com
Subject: Re: [PATCH v2 11/14] iommu: Deprecate viommu_alloc op
On Fri, Jun 13, 2025 at 11:35:23PM -0700, Nicolin Chen wrote:
> To ease the for-driver iommufd APIs, get_viommu_size and viommu_init ops
> are introduced. Now, those existing vIOMMU supported drivers implemented
> these two ops, replacing the viommu_alloc one. So, there is no use of it.
>
> Remove it from the headers and the viommu core.
>
> Suggested-by: Jason Gunthorpe <jgg@...dia.com>
> Reviewed-by: Kevin Tian <kevin.tian@...el.com>
> Signed-off-by: Nicolin Chen <nicolinc@...dia.com>
> ---
> include/linux/iommu.h | 11 -----------
> include/linux/iommufd.h | 18 ------------------
> drivers/iommu/iommufd/viommu.c | 20 +++++---------------
> 3 files changed, 5 insertions(+), 44 deletions(-)
>
Much cleaner now IMO.
Reviewed-by: Pranjal Shrivastava <praan@...gle.com>
Powered by blists - more mailing lists