RE: [PATCH] iommufd/device: Fix hwpt at err_unresv in iommufd_device_do_replace()

From: Tian, Kevin
Date: Thu Jul 18 2024 - 01:13:49 EST


> From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> Sent: Thursday, July 18, 2024 1:02 PM
>
> The rewind routine should remove the reserved iovas added to the new
> hwpt.
>
> Fixes: 89db31635c87 ("iommufd: Derive iommufd_hwpt_paging from
> iommufd_hw_pagetable")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>