]> Gentwo Git Trees - linux/.git/commit
iommu/amd: Enhance "Completion-wait Time-out" error message
authorDheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
Wed, 12 Nov 2025 21:13:50 +0000 (02:43 +0530)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 13 Nov 2025 15:13:26 +0000 (16:13 +0100)
commitd1e281f832fcadad3c3f6c8c5f998aadd7cb33a5
tree5d68307de18173346b46c958d36917f46ffdff5b
parenta0c7005333f9a968abb058b1d77bbcd7fb7fd1e7
iommu/amd: Enhance "Completion-wait Time-out" error message

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@amd.com>
Reviewed-by: Ankit Soni <Ankit.Soni@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd/amd_iommu_types.h
drivers/iommu/amd/iommu.c