[PATCH 1/1] x86/apic: add apic_irqs bitmap to identify irqs from apic

2014-04-24 Thread Jason Chen
apic kind of irq try to assign_irq_vector, and clear when __clear_irq_vector. By checking apic_irqs bitmap, irq_force_complete_move() can avoid being called when input irq does not belong to apic kind of irq_chip. Signed-off-by: Jason Chen --- arch/x86/kernel/apic/io_apic.c | 21

[PATCH 1/1] x86/apic: add apic_irqs bitmap to identify irqs from apic

2014-04-24 Thread Jason Chen
apic kind of irq try to assign_irq_vector, and clear when __clear_irq_vector. By checking apic_irqs bitmap, irq_force_complete_move() can avoid being called when input irq does not belong to apic kind of irq_chip. Signed-off-by: Jason Chen jason.cj.c...@intel.com --- arch/x86/kernel/apic/io_apic.c

[RFC PATCH 0/1] add apic_irqs bitmap to identify irqs from apic

2014-04-20 Thread Jason Chen
During irq migration, irq_force_complete_move() will consider all irqs coming from apic kind of irq chip, but they may also coming from other irq chip, such kind of irqs should be filtered out. Jason Chen (1): x86/apic: add apic_irqs bitmap to identify irqs from apic arch/x86/kernel/apic

[RFC PATCH 1/1] x86/apic: add apic_irqs bitmap to identify irqs from apic

2014-04-20 Thread Jason Chen
from apic, and filter out all other irq_chips by checking this bitmap. Signed-off-by: Jason Chen --- arch/x86/kernel/apic/io_apic.c | 21 - include/linux/irqdesc.h| 6 ++ kernel/irq/internals.h | 6 -- 3 files changed, 26 insertions(+), 7 deletions

[RFC PATCH 0/1] add apic_irqs bitmap to identify irqs from apic

2014-04-20 Thread Jason Chen
During irq migration, irq_force_complete_move() will consider all irqs coming from apic kind of irq chip, but they may also coming from other irq chip, such kind of irqs should be filtered out. Jason Chen (1): x86/apic: add apic_irqs bitmap to identify irqs from apic arch/x86/kernel/apic

[RFC PATCH 1/1] x86/apic: add apic_irqs bitmap to identify irqs from apic

2014-04-20 Thread Jason Chen
from apic, and filter out all other irq_chips by checking this bitmap. Signed-off-by: Jason Chen jason.cj.c...@intel.com --- arch/x86/kernel/apic/io_apic.c | 21 - include/linux/irqdesc.h| 6 ++ kernel/irq/internals.h | 6 -- 3 files changed, 26