Re: [PATCH v5] iommu/amd: Enhance "Completion-wait Time-out" error message

From: Vasant Hegde

Date: Thu Nov 13 2025 - 06:34:46 EST




On 11/13/2025 2:43 AM, Dheeraj Kumar Srivastava wrote:
> Current IOMMU driver prints "Completion-wait Time-out" error message with
> insufficient information to further debug the issue.
>
> Enhancing the error message as following:
> 1. Log IOMMU PCI device ID in the error message.
> 2. With "amd_iommu_dump=1" kernel command line option, dump entire
> command buffer entries including Head and Tail offset.
>
> Dump the entire command buffer only on the first 'Completion-wait Time-out'
> to avoid dmesg spam.
>
> Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@xxxxxxx>
> Reviewed-by: Ankit Soni <Ankit.Soni@xxxxxxx>

Reviewed-by: Vasant Hegde <vasant.hegde@xxxxxxx>

-Vasant