android_kernel_xiaomi_sm8350/kernel/irq
Thomas Gleixner f6d87f4bd2 genirq: keep affinities set from userspace across free/request_irq()
Impact: preserve user-modified affinities on interrupts

Kumar Galak noticed that commit
1840475676 (genirq: Expose default irq
affinity mask (take 3))

overrides an already set affinity setting across a free /
request_irq(). Happens e.g. with ifdown/ifup of a network device.

Change the logic to mark the affinities as set and keep them
intact. This also fixes the unlocked access to irq_desc in
irq_select_affinity() when called from irq_affinity_proc_write()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-09 22:23:49 +01:00
..
autoprobe.c genirq: fix name space collision of nr_irqs in autoprobe.c 2008-10-16 16:53:30 +02:00
chip.c genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup() 2008-10-21 15:59:21 +02:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c genirq: use iterators for irq_desc loops 2008-10-16 16:53:30 +02:00
internals.h genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
Makefile
manage.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
migration.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
proc.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c genirq: cleanup the sparseirq modifications 2008-10-16 16:53:29 +02:00