Convert x86 to hierarchy irqdomain and stacked irqchip
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest37 patches 4 repliesIn review
- v738 patches 1 replySuperseded
- v4 posting 2/238 patches 14 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 27 patches | 5 replies | Superseded | |
| v3 posting 2/2 | 38 patches | 2 replies | Superseded | |
| v5 | 31 patches | 4 replies | Superseded | |
| v4 posting 1/2 | 31 patches | 33 replies | Superseded | |
| v3 posting 1/2 | 24 patches | 13 replies | Superseded | |
| v2 | 24 patches | 12 replies | Superseded | |
| v1 | 1 patch | 4 replies | Superseded |
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/37 | x86/irq: Save destination CPU ID in irq_cfgarch/ arch/ | +7 | 0 replies | |
| 2/37 | x86/irq: Use hierarchy irqdomain to manage CPU interrupt vectorsarch/ arch/ arch/ +1 more | +161 | 0 replies | |
| 3/37 | x86/hpet: Use new irqdomain interfaces to allocate/free IRQarch/ | +5 | 0 replies | |
| 4/37 | x86/MSI: Use new irqdomain interfaces to allocate/free IRQarch/ | +6 | 0 replies | |
| 5/37 | x86/uv: Use new irqdomain interfaces to allocate/free IRQarch/ | +11 | 0 replies | |
| 6/37 | x86/htirq: Use new irqdomain interfaces to allocate/free IRQarch/ drivers/ include/ | +18 | 0 replies | |
| 7/37 | x86/dmar: Use new irqdomain interfaces to allocate/free IRQarch/ arch/ drivers/ | +27 | 0 replies | |
| 8/37 | irq_remapping: Introduce new interfaces to support hierarchy irqdomainarch/ arch/ drivers/ +1 more | +132 | 0 replies | |
| 9/37 | irq_remapping/vt-d: Change prototypes to prepare for enabling hierarchy irqdomaindrivers/ | +11 | 0 replies | |
| 10/37 | irq_remapping/vt-d: Enhance Intel IR driver to support hierarchy irqdomaindrivers/ include/ | +333 | 0 replies | |
| 11/37 | irq_remapping/amd: Enhance AMD IR driver to support hierarchy irqdomaindrivers/ drivers/ drivers/ +1 more | +341 | 0 replies | |
| 12/37 | x86/hpet: Enhance HPET IRQ to support hierarchy irqdomainarch/ arch/ arch/ | +167 | 0 replies | |
| 13/37 | x86/MSI: Use hierarchy irqdomain to manage MSI interruptsarch/ arch/ arch/ +4 more | +94 | 0 replies | |
| 14/37 | x86/irq: Directly call native_compose_msi_msg() for DMAR IRQarch/ | +2 | 0 replies | |
| 15/37 | irq_remapping/vt-d: Clean up unused MSI related codedrivers/ | +0 | 0 replies | |
| 16/37 | irq_remapping/amd: Clean up unused MSI related codedrivers/ | +2 | 0 replies | |
| 17/37 | irq_remapping: Clean up unused MSI related codearch/ arch/ arch/ +2 more | +0 | 0 replies | |
| 18/37 | x86/MSI: Clean up unused MSI related code and interfacesarch/ arch/ arch/ | +4 | 0 replies | |
| 19/37 | iommu/vt-d: Refine the interfaces to create IRQ for DMAR unitarch/ arch/ arch/ +3 more | +39 | 0 replies | |
| 20/37 | x86/irq: Use hierarchy irqdomain to manage DMAR interruptsarch/ arch/ | +103 | 0 replies | |
| 21/37 | x86/htirq: Use hierarchy irqdomain to manage Hypertransport interruptsarch/ arch/ arch/ +2 more | +158 | 0 replies | |
| 22/37 | x86/uv: Use hierarchy irqdomain to manage UV interruptsarch/ arch/ | +119 | 0 replies | |
| 23/37 | x86/irq: Normalize x86 irq_chip namearch/ | +2 | 0 replies | |
| 24/37 | x86/MSI: Simplify the way to deal with remapped MSI interruptsarch/ | +24 | 0 replies | |
| 25/37 | x86/MSI: Replace msi_update_msg() with irq_chip_compose_msi_msg()arch/ | +2 | 0 replies | |
| 26/37 | x86/irq: Implement irq_chip.irq_write_msi_msg for MSI/DMAR/HPET irq_chipsarch/ | +12 | 0 replies | |
| 27/37 | x86/irq: Simplify MSI/DMAR/HPET implementation by using common codearch/ | +54 | 0 replies | |
| 28/37 | irq_remapping: Kill unused function irq_remapping_print_chip()arch/ drivers/ | +0 | 0 replies | |
| 29/37 | x86/intel-mid: Delay initialization of APB timerarch/ arch/ arch/ | +13 | 0 replies | |
| 30/37 | x86/intel-mid, trivial: Refine code syntax for sfi_parse_mtmr()arch/ | +10 | 0 replies | |
| 31/37 | x86/irq: Kill unused pre_init_apic_IRQ0()arch/ arch/ | +0 | 0 replies | |
| 32/37 | x86/irq: Prepare IOAPIC interfaces to support hierarchy irqdomainarch/ arch/ arch/ +3 more | +54 | 0 replies | |
| 33/37 | x86/irq: Implement callbacks to enable hierarchy irqdomain on IOAPICsarch/ arch/ | +166 | 0 replies | |
| 34/37 | x86/irq: Refine the way to allocate irq_cfg for legacy IRQsarch/ arch/ | +42 | 0 replies | |
| 35/37 | x86/irq: Simplify the way to print IOAPIC entryarch/ | +28 | 0 replies | |
| 36/37 | x86/irq: Introduce helper functions to support hierarchy irqdomain for IOAPICarch/ | +61 | 0 replies | |
| 37/37 | x86/irq: Convert IOAPIC to use hierarchy irqdomain interfacesarch/ arch/ arch/ +5 more | +240 | 0 replies |
Reviews trailers per patch
6 of 37 patches have a Reviewed-by or Acked-by.
| Patch | Joerg Roedel | Andy Shevchenko |
|---|---|---|
| 1/37 | ||
| 2/37 | ||
| 3/37 | ||
| 4/37 | ||
| 5/37 | ||
| 6/37 | ||
| 7/37 | ||
| 8/37 | A-b | |
| 9/37 | A-b | |
| 10/37 | A-b | |
| 11/37 | A-b | |
| 12/37 | ||
| 13/37 | ||
| 14/37 | ||
| 15/37 | A-b | |
| 16/37 | A-b | |
| 17/37 | ||
| 18/37 | ||
| 19/37 | ||
| 20/37 | ||
| 21/37 | ||
| 22/37 | ||
| 23/37 | ||
| 24/37 | ||
| 25/37 | ||
| 26/37 | ||
| 27/37 | ||
| 28/37 | ||
| 29/37 | T-b | |
| 30/37 | T-b | |
| 31/37 | T-b | |
| 32/37 | T-b | |
| 33/37 | T-b | |
| 34/37 | T-b | |
| 35/37 | T-b | |
| 36/37 | T-b | |
| 37/37 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch Part1 v8 00/37] Convert x86 to hierarchy irqdomain and stacked irqchip
Hi all,
The generic hierarchy irqdomain and stacked irqchip implementation
has been merged into v3.19, so this patch set converts x86 interupt management to hierarchy irqdomain and stacked irqchip. You may access it at:
https://github.com/jiangliu/linux.git irqdomain/x86_p1_v8
This patch set has been reviewed several times and it missed v3.19
merging because several bugs got fixed just before the merging window. The main changes since last review are:
1) Rebased the patch set onto v4.0-rc6.
2) Merged bugfixes into the patch introducing the bug so they don't break bisecting.
I will send out another following-on patch set to clean up code and interfaces obseleted by this patch set.
Jiang Liu (36):
x86/irq: Save destination CPU ID in irq_cfg
x86/irq: Use hierarchy irqdomain to manage CPU interrupt vectors x86/hpet: Use new irqdomain interfaces to allocate/free IRQ x86/MSI: Use new irqdomain interfaces to allocate/free IRQ x86/uv: Use new irqdomain interfaces to allocate/free IRQ x86/htirq: Use new irqdomain interfaces to allocate/free IRQ x86/dmar: Use new irqdomain interfaces to allocate/free IRQ
irq_remapping: Introduce new interfaces to support hierarchy
irqdomain
irq_remapping/vt-d: Change prototypes to prepare for enabling
hierarchy irqdomain
irq_remapping/vt-d: Enhance Intel IR driver to support hierarchy
irqdomain
irq_remapping/amd: Enhance AMD IR driver to support hierarchy
irqdomain
x86/hpet: Enhance HPET IRQ to support hierarchy irqdomain x86/MSI: Use hierarchy irqdomain to manage MSI interrupts x86/irq: Directly call native_compose_msi_msg() for DMAR IRQ irq_remapping/vt-d: Clean up unused MSI related code irq_remapping/amd: Clean up unused MSI related code
irq_remapping: Clean up unused MSI related code
x86/MSI: Clean up unused MSI related code and interfaces iommu/vt-d: Refine the interfaces to create IRQ for DMAR unit x86/irq: Use hierarchy irqdomain to manage DMAR interrupts x86/htirq: Use hierarchy irqdomain to manage Hypertransport
interrupts
x86/uv: Use hierarchy irqdomain to manage UV interrupts x86/irq: Normalize x86 irq_chip name
x86/MSI: Simplify the way to deal with remapped MSI interrupts x86/MSI: Replace msi_update_msg() with irq_chip_compose_msi_msg() x86/irq: Implement irq_chip.irq_write_msi_msg for MSI/DMAR/HPET
irq_chips
x86/irq: Simplify MSI/DMAR/HPET implementation by using common code
irq_remapping: Kill unused function irq_remapping_print_chip() x86/intel-mid, trivial: Refine code syntax for sfi_parse_mtmr() x86/irq: Kill unused pre_init_apic_IRQ0()
x86/irq: Prepare IOAPIC interfaces to support hierarchy irqdomain x86/irq: Implement callbacks to enable hierarchy irqdomain on IOAPICs x86/irq: Refine the way to allocate irq_cfg for legacy IRQs x86/irq: Simplify the way to print IOAPIC entry
x86/irq: Introduce helper functions to support hierarchy irqdomain
for IOAPIC
x86/irq: Convert IOAPIC to use hierarchy irqdomain interfaces
Thomas Gleixner (1):
x86/intel-mid: Delay initialization of APB timer
arch/ia64/include/asm/irq_remapping.h | 2 - arch/ia64/kernel/msi_ia64.c | 30 +- arch/x86/Kconfig | 4 +- arch/x86/include/asm/hpet.h | 16 +- arch/x86/include/asm/hw_irq.h | 91 +++ arch/x86/include/asm/io_apic.h | 25 +- arch/x86/include/asm/irq_remapping.h | 45 +- arch/x86/include/asm/msi.h | 7 + arch/x86/include/asm/pci.h | 5 - arch/x86/include/asm/x86_init.h | 4 - arch/x86/kernel/acpi/boot.c | 17 +- arch/x86/kernel/apb_timer.c | 4 - arch/x86/kernel/apic/htirq.c | 173 ++++-- arch/x86/kernel/apic/io_apic.c | 602 +++++++++++++++----- arch/x86/kernel/apic/msi.c | 416 ++++++++------ arch/x86/kernel/apic/vector.c | 205 ++++++- arch/x86/kernel/devicetree.c | 37 +- arch/x86/kernel/hpet.c | 57 +- arch/x86/kernel/mpparse.c | 6 +- arch/x86/kernel/x86_init.c | 2 - arch/x86/pci/intel_mid_pci.c | 6 +- .../platform/intel-mid/device_libs/platform_wdt.c | 5 +- arch/x86/platform/intel-mid/intel-mid.c | 18 +- arch/x86/platform/intel-mid/sfi.c | 30 +- arch/x86/platform/sfi/sfi.c | 5 +- arch/x86/platform/uv/uv_irq.c | 299 ++++------ drivers/iommu/amd_iommu.c | 376 +++++++++--- drivers/iommu/amd_iommu_init.c | 4 + drivers/iommu/amd_iommu_proto.h | 9 + drivers/iommu/amd_iommu_types.h | 5 + drivers/iommu/dmar.c | 19 +- drivers/iommu/intel_irq_remapping.c | 451 ++++++++++----- drivers/iommu/irq_remapping.c | 178 ++---- drivers/iommu/irq_remapping.h | 20 +- drivers/pci/htirq.c | 48 +- include/linux/dmar.h | 3 +- include/linux/htirq.h | 22 +- include/linux/intel-iommu.h | 4 + 38 files changed, 2100 insertions(+), 1150 deletions(-) create mode 100644 arch/x86/include/asm/msi.h
Signature · 1 line
1.7.10.4