Re: [PATCH v2 02/10] iommu: Remove guest pasid related interfaces and definitions

From: Jason Gunthorpe
Date: Wed Feb 09 2022 - 08:30:01 EST


On Tue, Feb 08, 2022 at 09:25:51AM +0800, Lu Baolu wrote:
> The guest pasid related uapi interfaces and definitions are not referenced
> anywhere in the tree. We've also reached a consensus to replace them with
> a new iommufd design. Remove them to avoid dead code.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> ---
> include/linux/iommu.h | 44 --------
> include/uapi/linux/iommu.h | 181 --------------------------------
> drivers/iommu/iommu.c | 210 -------------------------------------
> 3 files changed, 435 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

> diff --git a/include/uapi/linux/iommu.h b/include/uapi/linux/iommu.h
> index 59178fc229ca..65d8b0234f69 100644
> --- a/include/uapi/linux/iommu.h
> +++ b/include/uapi/linux/iommu.h
> @@ -158,185 +158,4 @@ struct iommu_page_response {
> __u32 code;
> };

What is the plan for the rest of the dead code in this file?

Jason