Skip to content

ACPI, PCI, irq: remove interrupt limitations

Sinan Kaya linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest2 patches 12 repliesIn review

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI, PCI, irq: remove interrupt count restrictiondrivers/acpi/pci_link.c+102 -3411 replies
2/2ACPI, PCI, irq: remove interrupt number restrictiondrivers/acpi/pci_link.c+2 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH V9 0/2] ACPI, PCI, irq: remove interrupt limitations

Code currently supports 256 maximum interrupts at this moment. The patch is reconfiguring the penalty array as a dynamic list to remove this limitation.

The ACPI compiler uses the extended format when used interrupt numbers are greater than 15. The extended IRQ is 32 bits according to the ACPI spec. The code supports parsing the extended interrupt numbers. However, due to used data structure type; the code silently truncates interrupt numbers greater than 256.

Changes from V8: (https://lkml.org/lkml/2015/12/3/579)
* split the patch into two as
** ACPI, PCI, irq: remove interrupt count restriction ** ACPI, PCI, irq: remove interrupt number restriction
* add acpi_irq_add_penalty API to simplify code

Sinan Kaya (2):
ACPI, PCI, irq: remove interrupt count restriction ACPI, PCI, irq: remove interrupt number restriction

 drivers/acpi/pci_link.c | 140 +++++++++++++++++++++++++++++++++++-------------
 1 file changed, 104 insertions(+), 36 deletions(-)
Signature · 2 lines
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project