iommufd: Avoid PRI Response Failure
Status from this message: Applied to iommufd for-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iommufd: Remove IOMMUFD_PAGE_RESP_FAILUREinclude/ | +0 | 1 reply | |
| 2/3 | iommufd: Add check on user response codedrivers/ | +6 | 4 replies | |
| 3/3 | iommu: Convert response code from failure to invaliddrivers/ | +1 | 3 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Kevin Tian |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] iommufd: Avoid PRI Response Failure
This series is a follow-up for the discussion that happened here.
https://lore.kernel.org/linux-iommu/[email protected]/
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
include/uapi/linux/iommufd.h | 4 ---- drivers/iommu/io-pgfault.c | 2 +- drivers/iommu/iommufd/fault.c | 6 ++++++ 3 files changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1