[IA64] Add mapping table between irq and vector
Add mapping tables between irqs and vectors, and its management code. This is necessary for supporting multiple vector domain because 1:1 mapping between irq and vector will be changed to n:1. The irq == vector relationship between irqs and vectors is explicitly remained for percpu interrupts, platform interrupts, isa IRQs and vectors assigned using assign_irq_vector() because some programs might depend on it. And I should consider the following problem. When pci drivers enabled/disabled devices dynamically, its irq number is changed to the different one. Therefore, suspend/resume code may happen problem. To fix this problem, I bound gsi to irq. Signed-off-by:Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by:
Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Signed-off-by:
Tony Luck <tony.luck@intel.com>
Showing
- arch/ia64/kernel/iosapic.c 35 additions, 26 deletionsarch/ia64/kernel/iosapic.c
- arch/ia64/kernel/irq.c 1 addition, 1 deletionarch/ia64/kernel/irq.c
- arch/ia64/kernel/irq_ia64.c 166 additions, 35 deletionsarch/ia64/kernel/irq_ia64.c
- arch/ia64/kernel/smpboot.c 4 additions, 0 deletionsarch/ia64/kernel/smpboot.c
- include/asm-ia64/hw_irq.h 13 additions, 2 deletionsinclude/asm-ia64/hw_irq.h
Loading
Please register or sign in to comment