Clean up obsoleted x86 interrupt manangement code and interfaces
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest33 patches 0 repliesNew
- v433 patches 1 replySuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | x86/irq: Kill unused old IOAPIC irqdomain interfacesarch/ arch/ | +1 | 0 replies | |
| 2/33 | x86/irq: Kill unused struct mp_pin_infoarch/ | +3 | 0 replies | |
| 3/33 | x86/irq: Kill x86_io_apic_ops.print_entries and related interfacesarch/ arch/ arch/ +2 more | +0 | 0 replies | |
| 4/33 | x86/irq: Kill x86_io_apic_ops.setup_entry and related interfacesarch/ arch/ arch/ +3 more | +0 | 0 replies | |
| 5/33 | x86/irq: Kill x86_io_apic_ops.set_affinity and related interfacesarch/ arch/ arch/ +2 more | +1 | 0 replies | |
| 6/33 | x86/irq: Kill x86_io_apic_ops.eoi_ioapic_pin and related interfacesarch/ arch/ arch/ +2 more | +4 | 0 replies | |
| 7/33 | x86/irq: Kill GENERIC_IRQ_LEGACY_ALLOC_HWIRQarch/ arch/ | +0 | 0 replies | |
| 8/33 | x86/irq: Clean up unused forward declarations in x86_init.harch/ | +0 | 0 replies | |
| 9/33 | irq_remapping: Clean up unsued code to support IOAPICarch/ arch/ drivers/ | +0 | 0 replies | |
| 10/33 | irq_remapping/vt-d: Clean up unsued codedrivers/ | +1 | 0 replies | |
| 11/33 | irq_remapping/amd: Clean up unsued codedrivers/ | +0 | 0 replies | |
| 12/33 | irq_remapping: Clean up unused interfacesdrivers/ | +0 | 0 replies | |
| 13/33 | x86/irq: Kill irq_cfg.irq_remappedarch/ drivers/ drivers/ | +0 | 0 replies | |
| 14/33 | irq_remapping/vt-d: Move struct irq_2_iommu into intel_irq_remapping.carch/ drivers/ | +7 | 0 replies | |
| 15/33 | irq_remapping/amd: Move struct irq_2_irte into amd_iommu.carch/ drivers/ | +5 | 0 replies | |
| 16/33 | x86/irq: Move irq_cfg.irq_2_pin into io_apic.carch/ arch/ arch/ | +77 | 0 replies | |
| 17/33 | x86/irq: Kill struct io_apic_irq_attrarch/ arch/ | +0 | 0 replies | |
| 18/33 | x86/irq: Kill x86_io_apic_ops.write and x86_io_apic_ops.modifyarch/ arch/ arch/ +1 more | +4 | 0 replies | |
| 19/33 | x86/irq: Clean up io_apic.harch/ arch/ | +10 | 0 replies | |
| 20/33 | x86/irq: Use cached IOAPIC entry instead of reading from hardwarearch/ | +21 | 0 replies | |
| 21/33 | x86/irq: Remove sis apic bug workaroundarch/ arch/ drivers/ | +10 | 0 replies | |
| 22/33 | x86/irq: Kill unused alloc_irq_and_cfg_at()arch/ arch/ | +0 | 0 replies | |
| 23/33 | x86/irq: Change functions only used in vector.c as staticarch/ arch/ | +4 | 0 replies | |
| 24/33 | x86/irq: Kill function apic_set_affinity()arch/ arch/ | +3 | 0 replies | |
| 25/33 | x86/irq: Move check of cfg->move_in_progress into send_cleanup_vector()arch/ arch/ drivers/ +1 more | +11 | 0 replies | |
| 26/33 | x86/irq: Move private data in struct irq_cfg into dedicated data structurearch/ arch/ | +119 | 0 replies | |
| 27/33 | x86/irq: Refine the way to calculate NR_IRQSarch/ | +11 | 0 replies | |
| 28/33 | x86/irq, ACPI: Kill private function mp_register_gsi()/ mp_unregister_gsi()arch/ | +18 | 0 replies | |
| 29/33 | x86, ioapic: Use proper defines for the entry fieldsarch/ arch/ | +63 | 0 replies | |
| 30/33 | x86,ioapic: Cleanup irq_trigger/polarity()arch/ | +50 | 0 replies | |
| 31/33 | x86: Cleanup irq_domain opsarch/ arch/ arch/ +4 more | +56 | 0 replies | |
| 32/33 | x86/irq: Move irqdomain specific code into asm/irqdomain.harch/ arch/ arch/ +5 more | +38 | 0 replies | |
| 33/33 | x86/irq: Avoid memory allocation in __assign_irq_vector()arch/ | +17 | 0 replies |
Reviews trailers per patch
None of the 33 patches has a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch Part2 v5 00/33] Clean up obsoleted x86 interrupt manangement code and interfaces
The patch set "[Patch Part1 v8 00/37] Convert x86 to hierarchy irqdomain and stacked irqchip" at http://www.spinics.net/lists/kernel/msg1967024.html
has converted x86 interrupt managment to use hierarchy irqdomain and stacked irqchip. And this is the following-on patch set to clean up code and interfaces obseleted by previous patch set.
With the these two patch sets combined, we have
63 files changed, 2430 insertions(+), 2613 deletions(-)
That's good, the refactor improves code maintanence with less code.
Main changes since last reviewed version:
1) rebased onto v4.0-rc6
2) add patch 33 to avoid memory allocation/free when assigning CPU vector
Regards,
Gerry
Jiang Liu (29):
x86/irq: Kill unused old IOAPIC irqdomain interfaces x86/irq: Kill unused struct mp_pin_info
x86/irq: Kill x86_io_apic_ops.print_entries and related interfaces x86/irq: Kill x86_io_apic_ops.setup_entry and related interfaces x86/irq: Kill x86_io_apic_ops.set_affinity and related interfaces x86/irq: Kill x86_io_apic_ops.eoi_ioapic_pin and related interfaces x86/irq: Kill GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
x86/irq: Clean up unused forward declarations in x86_init.h
irq_remapping: Clean up unsued code to support IOAPIC irq_remapping/vt-d: Clean up unsued code irq_remapping/amd: Clean up unsued code
irq_remapping: Clean up unused interfaces
x86/irq: Kill irq_cfg.irq_remapped
irq_remapping/vt-d: Move struct irq_2_iommu into
intel_irq_remapping.c
irq_remapping/amd: Move struct irq_2_irte into amd_iommu.c x86/irq: Move irq_cfg.irq_2_pin into io_apic.c
x86/irq: Kill struct io_apic_irq_attr
x86/irq: Kill x86_io_apic_ops.write and x86_io_apic_ops.modify x86/irq: Clean up io_apic.h
x86/irq: Use cached IOAPIC entry instead of reading from hardware x86/irq: Kill unused alloc_irq_and_cfg_at()
x86/irq: Change functions only used in vector.c as static x86/irq: Kill function apic_set_affinity()
x86/irq: Move check of cfg->move_in_progress into
send_cleanup_vector()
x86/irq: Move private data in struct irq_cfg into dedicated data
structure
x86/irq: Refine the way to calculate NR_IRQS
x86/irq, ACPI: Kill private function mp_register_gsi()/
mp_unregister_gsi()
x86/irq: Move irqdomain specific code into asm/irqdomain.h x86/irq: Avoid memory allocation in __assign_irq_vector()
Thomas Gleixner (4):
x86/irq: Remove sis apic bug workaround x86, ioapic: Use proper defines for the entry fields x86,ioapic: Cleanup irq_trigger/polarity()
x86: Cleanup irq_domain ops
arch/x86/Kconfig | 1 - arch/x86/include/asm/hw_irq.h | 63 --- arch/x86/include/asm/io_apic.h | 103 +--- arch/x86/include/asm/irq_remapping.h | 38 +- arch/x86/include/asm/irq_vectors.h | 18 +- arch/x86/include/asm/irqdomain.h | 63 +++ arch/x86/include/asm/x86_init.h | 16 - arch/x86/kernel/acpi/boot.c | 70 +-- arch/x86/kernel/apic/htirq.c | 2 +- arch/x86/kernel/apic/io_apic.c | 869 +++++++++------------------------- arch/x86/kernel/apic/msi.c | 2 +- arch/x86/kernel/apic/vector.c | 342 ++++++------- arch/x86/kernel/devicetree.c | 12 +- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/mpparse.c | 9 +- arch/x86/kernel/x86_init.c | 6 - arch/x86/platform/sfi/sfi.c | 10 +- arch/x86/platform/uv/uv_irq.c | 5 +- drivers/iommu/amd_iommu.c | 153 +----- drivers/iommu/intel_irq_remapping.c | 206 +------- drivers/iommu/irq_remapping.c | 80 ---- drivers/iommu/irq_remapping.h | 16 - drivers/pci/quirks.c | 7 - 23 files changed, 491 insertions(+), 1602 deletions(-) create mode 100644 arch/x86/include/asm/irqdomain.h
Signature · 1 line
1.7.10.4