android_kernel_xiaomi_sm8350/arch/ia64/kernel
Kenji Kaneshige 3b5cc09033 [IA64] assign_irq_vector() should not panic
Current assign_irq_vector() will panic if interrupt vectors is running
out. But I think how to handle the case of lack of interrupt vectors
should be handled by the caller of this function. For example, some
PCI devices can raise the interrupt signal via both MSI and I/O
APIC. So even if the driver for these device fails to allocate a
vector for MSI, the driver still has a chance to use I/O APIC based
interrupt. But currently there is no chance for these driver to use
I/O APIC based interrupt because kernel will panic when
assign_irq_vector() fails to allocate interrupt vector.

The following patch changes assign_irq_vector() for ia64 to return
-ENOSPC on error instead of panic (as i386 and x86_64 versions do).

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-07-11 10:30:07 -07:00
..
acpi-ext.c
acpi.c [IA64] fix generic/up builds 2005-07-06 18:18:10 -07:00
asm-offsets.c
brl_emu.c
cyclone.c
domain.c [PATCH] Dynamic sched domains: ia64 changes 2005-06-25 16:24:45 -07:00
efi_stub.S
efi.c [PATCH] ia64 uncached alloc 2005-06-21 18:46:18 -07:00
entry.h [IA64] Drop spurious paren in entry.h 2005-06-20 09:34:02 -07:00
entry.S [IA64] Fix a typo in arch/ia64/kernel/entry.S 2005-07-08 13:23:49 -07:00
fsys.S Auto merge with /home/aegl/GIT/linus 2005-06-15 14:06:48 -07:00
gate-data.S
gate.lds.S
gate.S
head.S
ia64_ksyms.c
init_task.c
iosapic.c [IA64] assign_irq_vector() should not panic 2005-07-11 10:30:07 -07:00
irq_ia64.c [IA64] assign_irq_vector() should not panic 2005-07-11 10:30:07 -07:00
irq_lsapic.c
irq.c
ivt.S [IA64] Speed up lfetch.fault [NULL] 2005-06-28 09:28:16 -07:00
jprobes.S [PATCH] Kprobes/IA64: architecture specific JProbes support 2005-06-23 09:45:22 -07:00
kprobes.c [PATCH] kprobes: fix namespace problem and sparc64 build 2005-07-05 19:19:00 -07:00
machvec.c
Makefile [IA64] fix generic/up builds 2005-07-06 18:18:10 -07:00
mca_asm.S
mca_drv_asm.S
mca_drv.c
mca_drv.h
mca.c [IA64] Cleanup compile warnings for ski config 2005-06-01 15:20:17 -07:00
minstate.h [IA64] Fix stack placement when INIT hits in kernel mode. 2005-05-06 10:16:07 -07:00
module.c [IA64] Module gp must point to valid memory 2005-06-08 11:41:31 -07:00
numa.c [IA64] fix generic/up builds 2005-07-06 18:18:10 -07:00
pal.S
palinfo.c
patch.c
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
perfmon.c [IA64] remove linux/version.h include from arch/ia64 2005-07-11 09:58:52 -07:00
process.c [PATCH] Return probe redesign: ia64 specific implementation 2005-06-27 15:23:53 -07:00
ptrace.c Auto merge with /home/aegl/GIT/ia64-test 2005-06-28 08:24:49 -07:00
sal.c
salinfo.c
semaphore.c
setup.c [IA64-SGI] pcdp: add PCDP pci interface support 2005-06-28 09:09:06 -07:00
sigframe.h
signal.c [IA64] restore_sigcontext is not preempt safe 2005-07-06 15:31:15 -07:00
smp.c [IA64] Fix another IA64 preemption problem 2005-06-28 10:01:19 -07:00
smpboot.c [IA64] fix generic/up builds 2005-07-06 18:18:10 -07:00
sys_ia64.c [IA64] sys_mmap doesn't follow posix.1 when parameter len=0 2005-05-26 10:19:07 -07:00
time.c
topology.c
traps.c [IA64] Make ia64 die() preempt safe 2005-07-06 15:44:55 -07:00
unaligned.c
uncached.c [PATCH] ia64 uncached alloc 2005-06-21 18:46:18 -07:00
unwind_decoder.c
unwind_i.h
unwind.c
vmlinux.lds.S [PATCH] kprobes/ia64: refuse kprobe on ivt code 2005-06-27 15:23:54 -07:00