Skip to content

PCI: vmd: Fix possible >= MAX_ORDER allocation

Jon Derrick linux-pci 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "x86/PCI: VMD: Eliminate index member from IRQ list"drivers/pci/controller/vmd.c+5 -110 replies
2/2PCI: vmd: Add indirection layer to vmd irq listsdrivers/pci/controller/vmd.c+20 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] PCI: vmd: Fix possible >= MAX_ORDER allocation

Hi Lorenzo,

This set covers a condition where, with many debug options enabled, the allocation of the vmd irq lists can exceed the max order of the allocator.

The first patch reverts a very old optimization which is no longer valid. The second patch adds a layer of indirection to the vmd irq lists to significantly reduce the size per allocation.

Please consider these for v5.5

Jon Derrick (2):
Revert "x86/PCI: VMD: Eliminate index member from IRQ list"
PCI: vmd: Add indirection layer to vmd irq lists

 drivers/pci/controller/vmd.c | 47 ++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 23 deletions(-)
Signature · 1 line
1.8.3.1