函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-27 09:26:59
Last Modify:2020-03-16 21:21:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This interrupt should _never_ happen with our APIC/SMP architecture

函数原型:__visible void __irq_entry smp_spurious_interrupt(struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
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  如果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.
2179  打印信息("Spurious APIC interrupt (vector 0xFF) on CPU#%d, should never happen.\n", 当前cpu ID())
2181  转到:out
2188  v等于apic_read(APIC_ISR + ((vector & ~0x1f) >> 1))
2189  如果v按位与1左移vector按位与0x1f的值位则
2190  打印信息("Spurious interrupt (vector 0x%02x) on CPU#%d. Acked\n", vector, 当前cpu ID())
2192  ack_APIC_irq()
2193  否则
2194  打印信息("Spurious interrupt (vector 0x%02x) on CPU#%d. Not pending!\n", vector, 当前cpu ID())
2197  out :
2198  trace_spurious_apic_exit(vector)
2199  exiting_irq()