Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-28 08:27:17
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This interrupt should _never_ happen with our APIC/SMP architecture

Proto:__visible void __irq_entry smp_spurious_interrupt(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
2166  vector = ~orig_ax
2169  entering_irq()
2170  trace_spurious_apic_entry(vector)
2172  inc_irq_stat(irq_spurious_count)
2177  If vector == Special IRQ vectors used by the SMP architecture, 0xf0-0xff* some of the following vectors are 'rare', they are merged* into a single vector (CALL_FUNCTION_VECTOR) to save vector space.* TLB, reschedule and local APIC vectors are performance-critical. Then
2179  pr_info("Spurious APIC interrupt (vector 0xFF) on CPU#%d, should never happen.\n", smp_processor_id())
2181  Go to out
2188  v = apic_read(APIC_ISR + ((vector & ~0x1f) >> 1))
2189  If v & 1 << (vector & 0x1f) Then
2190  pr_info("Spurious interrupt (vector 0x%02x) on CPU#%d. Acked\n", vector, smp_processor_id())
2192  ack_APIC_irq()
2193  Else
2194  pr_info("Spurious interrupt (vector 0x%02x) on CPU#%d. Not pending!\n", vector, smp_processor_id())
2197  out :
2198  trace_spurious_apic_exit(vector)
2199  exiting_irq()