ACPI: PCI: simplify _PRT handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 1 replyIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/20] ACPI: PCI: simplify _PRT handling
This series simplifies the code that handles ACPI _PRTs (PCI routing tables). My goal is to make this look more like the corresponding code in other architectures, especially in terms of swizzling, e.g., the various implementations of common_swizzle() and simple_swizzle(), and the x86 non-ACPI code in pirq_enable_irq().
There should be no functional changes in this series.
Comments welcome.
Bjorn
---
Bjorn Helgaas (20):
ACPI: PCI: add HP copyright
ACPI: PCI: whitespace and useless initialization cleanup
ACPI: PCI: expand acpi_pci_allocate_irq() and acpi_pci_free_irq() inline
ACPI: PCI: simplify struct acpi_prt_entry
ACPI: PCI: simplify list of _PRT entries
ACPI: PCI: combine lookup and derive
ACPI: PCI: follow typical PCI INTx swizzling pattern
ACPI: PCI: use positive logic to simplify code
ACPI: PCI: remove callback from acpi_pci_irq_lookup & acpi_pci_irq_derive
ACPI: PCI: tweak _PRT lookup debug
ACPI: PCI: lookup _PRT entry by PCI dev and pin, not segment/bus/dev/pin
ACPI: PCI: use 1-based encoding for _PRT quirks
ACPI: PCI: always use the PCI INTx pin values, not the _PRT ones
ACPI: PCI: add a helper to convert _PRT INTx pin number to name
ACPI: PCI: move struct acpi_prt_entry declaration out of public header file
ACPI: PCI: fix GSI/IRQ naming confusion
ACPI: PCI: ignore _PRT function information
ACPI: PCI: simplify buffer management for evaluating _PRT
ACPI: PCI: remove unnecessary null pointer checks
ACPI: PCI: use conventional PCI address format
drivers/acpi/pci_bind.c | 12 + drivers/acpi/pci_irq.c | 416 +++++++++++++++-------------------------------- include/linux/acpi.h | 16 -- 3 files changed, 136 insertions(+), 308 deletions(-)