Re: [PATCH 1/1] Revert "iommu/vt-d: Remove unused function"

From: Jason Gunthorpe
Date: Wed Oct 25 2023 - 09:34:47 EST


On Wed, Oct 25, 2023 at 09:18:54PM +0800, Lu Baolu wrote:
> This reverts commit c61c255e114c52682546447ed44d3470b5708134.
>
> The pasid_set_wpe() helper, which was removed by the reverted commit,
> is still used by the nesting translation support in the iommufd tree.
> To avoid a merge conflict, revert the commit.
>
> Link: https://lore.kernel.org/linux-kernel/20231025153455.283c5b12@xxxxxxxxxxxxxxxx/
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> ---
> drivers/iommu/intel/pasid.c | 9 +++++++++
> 1 file changed, 9 insertions(+)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Needed to avoid ugly conflicts with iommufd, Joerg please take it

Jason