Public bug reported:

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://lkml.org/lkml/2020/10/14/1153  

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.

** Affects: linux-hwe-5.15 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-5.15 in Ubuntu.
https://bugs.launchpad.net/bugs/2054860

Title:
   AMD-Vi Failed to allocate IRTE

Status in linux-hwe-5.15 package in Ubuntu:
  New

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://lkml.org/lkml/2020/10/14/1153  

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.15/+bug/2054860/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to