[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220408172216.GB3637956@nvidia.com>
Date: Fri, 8 Apr 2022 14:22:16 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Robin Murphy <robin.murphy@....com>
Cc: benve@...co.com, neescoba@...co.com, linux-rdma@...r.kernel.org,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/usnic: Stop using iommu_present()
On Tue, Apr 05, 2022 at 01:19:59PM +0100, Robin Murphy wrote:
> Even if an IOMMU might be present for some PCI segment in the system,
> that doesn't necessarily mean it provides translation for the device(s)
> we care about. Replace iommu_present() with a more appropriate check at
> probe time, and garbage-collect the resulting empty init function.
>
> Signed-off-by: Robin Murphy <robin.murphy@....com>
> ---
> drivers/infiniband/hw/usnic/usnic_ib_main.c | 11 +++++------
> drivers/infiniband/hw/usnic/usnic_uiom.c | 10 ----------
> drivers/infiniband/hw/usnic/usnic_uiom.h | 1 -
> 3 files changed, 5 insertions(+), 17 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists