AMD-Vi Failed to allocate IRTE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-hwe-5.15 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
A partner report below error which seems a fixed issue from upstream and it affect NVME performance, hope to backport it.
Oct 27 06:05:17 quanta kernel: [ 1238.707245] AMD-Vi: Failed to allocate IRTE
The related patch and discussion is below:
https:/
Certain device drivers allocate IO queues on a per-cpu basis.
On AMD EPYC platform, which can support up-to 256 cpu threads,
this can exceed the current MAX_IRQ_PER_TABLE limit of 256,
and result in the error message:
AMD-Vi: Failed to allocate IRTE
This has been observed with certain NVME devices.
AMD IOMMU hardware can actually support upto 512 interrupt
remapping table entries. Therefore, update the driver to
match the hardware limit.
Please note that this also increases the size of interrupt remapping
table to 8KB per device when using the 128-bit IRTE format.