Re: [PATCH 0/3] iommufd: Avoid PRI Response Failure
From: Jason Gunthorpe
Date: Thu Jul 11 2024 - 19:46:02 EST
On Wed, Jul 10, 2024 at 04:33:38PM +0800, Lu Baolu wrote:
> This series is a follow-up for the discussion that happened here.
>
> https://lore.kernel.org/linux-iommu/20240709173643.GI14050@xxxxxxxx/
>
> It prevents user space from responding to a group of page faults with a
> response code other than IOMMUFD_PAGE_RESP_SUCCESS and
> IOMMUFD_PAGE_RESP_INVALID, which will be treated by the device as
> Response Failure according to the PCI spec.
>
> Please help review and comment.
>
> Lu Baolu (3):
> iommufd: Remove IOMMUFD_PAGE_RESP_FAILURE
> iommufd: Add check on user response code
> iommu: Convert response code from failure to invalid
Applied to iommufd for-next
Thanks,
Jason