android_kernel_xiaomi_sm8350/kernel/irq
Eric W. Biederman 2a786b452e [PATCH] genirq: Mask irqs when migrating them.
move_native_irqs tries to do the right thing when migrating irqs
by disabling them.  However disabling them is a software logical
thing, not a hardware thing.  This has always been a little flaky
and after Ingo's latest round of changes it is guaranteed to not
mask the apic.

So this patch fixes move_native_irq to directly call the mask and
unmask chip methods to guarantee that we mask the irq when we
are migrating it.  We must do this as it is required by
all code that call into the path.

Since we don't know the masked status when IRQ_DISABLED is
set so we will not be able to restore it.   The patch makes the code
just give up and trying again the next time this routing is called.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-26 10:34:08 -08:00
..
autoprobe.c
chip.c [PATCH] small irq management simplification 2007-02-16 08:14:00 -08:00
devres.c [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
handle.c [PATCH] lockdep: name some old style locks 2006-12-07 08:39:36 -08:00
internals.h
Makefile [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
manage.c [PATCH] Add a function to handle interrupt affinity setting 2007-02-16 08:13:56 -08:00
migration.c [PATCH] genirq: Mask irqs when migrating them. 2007-02-26 10:34:08 -08:00
proc.c [PATCH] Add a function to handle interrupt affinity setting 2007-02-16 08:13:56 -08:00
resend.c [PATCH] ixp4xxdefconfig arm fixes 2006-10-06 12:11:08 -07:00
spurious.c [PATCH] x86-64: Make noirqdebug_setup function non init to fix modpost warning 2007-01-11 01:52:44 +01:00