[PATCH v5 11/15] iommu/arm-smmu-v3: Discard partial PRI faults on PRIQ overflow
Jason Gunthorpe
jgg at nvidia.com
Wed Sep 23 11:37:05 PDT 2026
On Tue, 15 Sep 2026 09:38:23 -0700, Nicolin Chen <nicolinc at nvidia.com> wrote:
> On PRIQ overflow, partial requests stored via report_partial_fault() whose
> LAST-page entry was lost stay in iopf_param->partial. Drop them by calling
> iopf_queue_discard_partial(), matching intel-iommu's handling.
>
> Do it only after the queue is fully drained, since the visible entries all
> precede the loss point: a group whose LAST-page entry is still in the queue
> gets assembled before the discard, rather than losing its stored partials
> to it.
>
> [...]
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
--
Jason
More information about the linux-arm-kernel
mailing list