genirq: Another round of tree wide cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 42 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | powerpc: irq: Use generic_handle_irqarch/ | +2 | 0 replies | |
| 2/26 | powerpc:evh_pic: Kill irq_desc abusearch/ | +2 | 0 replies | |
| 3/26 | powerpc: eeh: Kill another abuse of irq_descarch/ | +21 | 3 replies | |
| 4/26 | xtensa: Use irq_set_affinity instead of homebrewn codearch/ | +3 | 1 reply | |
| 5/26 | sh: Use irq_set_affinity instead of homebrewn codearch/ | +1 | 0 replies | |
| 6/26 | metag: Use irq_set_affinity instead of homebrewn codearch/ | +3 | 5 replies | |
| 7/26 | pci: pcie-designware: Remove irq_desc abusedrivers/ | +1 | 0 replies | |
| 8/26 | arm: Replace various irq_desc accessesarch/ arch/ | +5 | 3 replies | |
| 9/26 | arm: mmp: Remove pointless fiddling with irq internalsarch/ arch/ | +5 | 8 replies | |
| 10/26 | blackfin:Use generic /proc/interrupts implementationarch/ arch/ | +8 | 1 reply | |
| 11/26 | genirq: Add a kstat helper to increment irq statsinclude/ kernel/ | +12 | 0 replies | |
| 12/26 | mips: Use the core irq stats functionarch/ arch/ arch/ +2 more | +5 | 0 replies | |
| 13/26 | sparc: Use the core irq stats functionarch/ | +1 | 1 reply | |
| 14/26 | mn10300: Use the core irq stats functionarch/ | +1 | 0 replies | |
| 15/26 | x86: xen: Use the core irq stats functionarch/ | +1 | 2 replies | |
| 16/26 | s390: cio: Use the core irq stats functiondrivers/ | +1 | 0 replies | |
| 17/26 | ia64: Use the core irq stats functionarch/ | +4 | 0 replies | |
| 18/26 | xen: Use the proper irq functionsdrivers/ drivers/ drivers/ | +8 | 4 replies | |
| 19/26 | genirq: Provide irqd_irq_has_actions()include/ kernel/ | +12 | 0 replies | |
| 20/26 | genirq: Provide irq_is_allocated()kernel/ | +11 | 0 replies | |
| 21/26 | xen: Get rid of the last irq_desc abusedrivers/ | +5 | 6 replies | |
| 22/26 | x86: Add proper vector accounting for HyperVarch/ arch/ | +9 | 2 replies | |
| 23/26 | xen: Add proper irq accounting for HYPERCALL vectordrivers/ | +1 | 2 replies | |
| 24/26 | genirq: Provide handle_percpu_simple_irq()include/ kernel/ | +16 | 1 reply | |
| 25/26 | x86: hyperv: Cleanup the irq messarch/ arch/ drivers/ | +66 | 3 replies | |
| 26/26 | genirq: Move kstats_inc_irqs_this_cpu() to coreinclude/ kernel/ | +7 | 0 replies |
Reviews trailers per patch
8 of 26 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Gleixner | Max Filippov | Shawn Guo | David Vrabel | Tony Lindgren | K. Y. Srinivasan | David S. Miller |
|---|---|---|---|---|---|---|---|
| 1/26 | |||||||
| 2/26 | |||||||
| 3/26 | |||||||
| 4/26 | A-b | ||||||
| 5/26 | |||||||
| 6/26 | |||||||
| 7/26 | |||||||
| 8/26 | A-b | A-b | |||||
| 9/26 | |||||||
| 10/26 | |||||||
| 11/26 | |||||||
| 12/26 | |||||||
| 13/26 | A-b | ||||||
| 14/26 | |||||||
| 15/26 | R-b R-b | ||||||
| 16/26 | |||||||
| 17/26 | |||||||
| 18/26 | R-b R-b | ||||||
| 19/26 | Not-Yet-Signed-off-by | ||||||
| 20/26 | Not-Yet-Signed-off-by | ||||||
| 21/26 | R-b R-b | ||||||
| 22/26 | |||||||
| 23/26 | R-b R-b | ||||||
| 24/26 | Not-Yet-Signed-off-by | ||||||
| 25/26 | A-b | ||||||
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.
Cover letter [patch 00/26] genirq: Another round of tree wide cleanups
Since the last tree wide sweep a serious amount of braindamage, blatant abuse and serious trainwrecks of the generic irq subsystem has found its way into mainline.
The top score on the shitlist definitely gets this gem:
#include "../../../kernel/irq/settings.h"
tightly followed by the HYpedPERVersity irq handling.
The series contains the following cleanups:
- Rewrite abusive code written by incomptetent ...
- Replace open coded constructs by the proper core functions.
- Replace common patterns by a core implementation
This adds a few functions to the core code, which might be not necessary at all, but I'm not masochistic enough to try to dechipher the undocumented mess of Xen and HyperV.
The releavant patches have a Not-Yet-SOB tag and might be dropped if the maintainers of the code in question can't come up with reasonable explanations why they are necessary at all.
Thanks,
tglx
--- arch/arm/mach-imx/pm-imx6q.c | 7 +- arch/arm/mach-mmp/pm-mmp2.c | 16 ----- arch/arm/mach-mmp/pm-pxa910.c | 20 +----- arch/arm/mach-omap1/ams-delta-fiq.c | 7 -- arch/blackfin/Kconfig | 1 arch/blackfin/kernel/irqchip.c | 36 ++---------- arch/ia64/kernel/irq_ia64.c | 10 +-- arch/metag/kernel/irq.c | 20 +----- arch/mips/kernel/smtc.c | 2 arch/mips/sgi-ip22/ip22-int.c | 2 arch/mips/sgi-ip22/ip22-time.c | 2 arch/mips/sibyte/bcm1480/smp.c | 2 arch/mips/sibyte/sb1250/smp.c | 2 arch/mn10300/kernel/mn10300-watchdog.c | 2 arch/powerpc/kernel/eeh_driver.c | 26 +++++++- arch/powerpc/kernel/irq.c | 8 -- arch/powerpc/sysdev/ehv_pic.c | 10 --- arch/sh/kernel/irq.c | 16 ----- arch/sparc/kernel/time_64.c | 2 arch/x86/include/asm/hardirq.h | 3 + arch/x86/include/asm/mshyperv.h | 4 + arch/x86/kernel/cpu/mshyperv.c | 97 ++++++++++++++++++++------------- arch/x86/kernel/irq.c | 6 ++ arch/x86/xen/spinlock.c | 2 arch/xtensa/kernel/irq.c | 20 +----- drivers/hv/vmbus_drv.c | 39 +------------ drivers/pci/host/pcie-designware.c | 4 - drivers/s390/cio/cio.c | 5 - drivers/xen/events/events_2l.c | 15 +---- drivers/xen/events/events_base.c | 27 ++------- drivers/xen/events/events_fifo.c | 8 -- include/linux/irq.h | 8 ++ include/linux/kernel_stat.h | 12 ++-- kernel/irq/chip.c | 15 +++++ kernel/irq/irqdesc.c | 16 +++++ kernel/irq/manage.c | 6 +- 36 files changed, 204 insertions(+), 274 deletions(-)