android_kernel_xiaomi_sm8350/include
Ashok Raj 54d5d42404 [PATCH] x86/x86_64: deferred handling of writes to /proc/irqxx/smp_affinity
When handling writes to /proc/irq, current code is re-programming rte
entries directly. This is not recommended and could potentially cause
chipset's to lockup, or cause missing interrupts.

CONFIG_IRQ_BALANCE does this correctly, where it re-programs only when the
interrupt is pending. The same needs to be done for /proc/irq handling as well.
Otherwise user space irq balancers are really not doing the right thing.

- Changed pending_irq_balance_cpumask to pending_irq_migrate_cpumask for
  lack of a generic name.
- added move_irq out of IRQ_BALANCE, and added this same to X86_64
- Added new proc handler for write, so we can do deferred write at irq
  handling time.
- Display of /proc/irq/XX/smp_affinity used to display CPU_MASKALL, instead
  it now shows only active cpu masks, or exactly what was set.
- Provided a common move_irq implementation, instead of duplicating
  when using generic irq framework.

Tested on i386/x86_64 and ia64 with CONFIG_PCI_MSI turned on and off.
Tested UP builds as well.

MSI testing: tbd: I have cards, need to look for a x-over cable, although I
did test an earlier version of this patch.  Will test in a couple days.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Acked-by: Zwane Mwaikambo <zwane@holomorphy.com>
Grudgingly-acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Coywolf Qi Hunt <coywolf@lovecn.org>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-07 16:57:15 -07:00
..
acpi
asm-alpha [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2005-09-06 00:45:34 -07:00
asm-arm26 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-cris [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-frv [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-generic Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-06 00:35:51 -07:00
asm-h8300 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-i386 [PATCH] UML Support - Ptrace: adds the host SYSEMU support, for UML and general usage 2005-09-05 00:06:20 -07:00
asm-ia64 [PATCH] x86/x86_64: deferred handling of writes to /proc/irqxx/smp_affinity 2005-09-07 16:57:15 -07:00
asm-m32r [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-m68k [PATCH] m68k: cleanup inline mem functions 2005-09-05 00:06:19 -07:00
asm-m68knommu [PATCH] mm: consolidate get_order 2005-09-05 00:05:39 -07:00
asm-mips [PATCH] mips: remove timex.h for vr41xx 2005-09-05 00:06:08 -07:00
asm-parisc [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-powerpc [PATCH] ppc/ppc64: Merge more include files 2005-09-06 16:07:53 +10:00
asm-ppc [PATCH] ppc32: add missing sysfs node for ocp_func_emac_data.phy_feat_exc 2005-09-07 16:57:15 -07:00
asm-ppc64 [PATCH] Invert sense of SLB class bit 2005-09-06 16:57:46 +10:00
asm-s390 [PATCH] s390: spinlock corner case 2005-09-05 00:06:29 -07:00
asm-sh [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-sh64 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-sparc Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2005-09-05 00:12:58 -07:00
asm-sparc64 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2005-09-05 00:12:58 -07:00
asm-um [PATCH] uml: fix x86_64 page leak 2005-09-05 00:06:24 -07:00
asm-v850 [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
asm-x86_64 [PATCH] i386: cleanup serialize msr 2005-09-05 00:06:11 -07:00
asm-xtensa [PATCH] xtensa: delete accidental file 2005-09-05 00:06:25 -07:00
linux [PATCH] x86/x86_64: deferred handling of writes to /proc/irqxx/smp_affinity 2005-09-07 16:57:15 -07:00
math-emu
media [PATCH] I2C: Kill i2c_algorithm.id (6/7) 2005-09-05 09:14:32 -07:00
mtd
net [NET]: Do not protect sysctl_optmem_max with CONFIG_SYSCTL 2005-09-05 18:14:11 -07:00
pcmcia
rdma
rxrpc
scsi
sound [ALSA] version 1.0.10rc1 2005-08-30 08:48:35 +02:00
video [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00