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:18
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_error_interrupt(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
2207  static const char * const error_interrupt_reason[] = {"Send CS error", "Receive CS error", "Send accept error", "Receive accept error", "Redirectable IPI", "Send illegal vector", "Received illegal vector", "Illegal register address", }
2217  i = 0
2219  entering_irq()
2220  trace_error_apic_entry(ERROR_APIC_VECTOR)
2223  If lapic_get_maxlvt - get the maximum number of local vector table entries > 3 Then apic_write(APIC_ESR, 0)
2225  v = apic_read(APIC_ESR)
2226  ack_APIC_irq()
2227  atomic_inc( & irq_err_count)
2229  Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_DEBUG, debug-level messages "APIC error on CPU%d: %02x", smp_processor_id(), v)
2232  v &= 0xff
2233  When v cycle
2234  If v & 0x1 Then Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_DEBUG, Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)." : %s", error_interrupt_reason[i])
2236  i++
2237  v >>= 1
2240  Define the default level of output to be very little* This can be turned up by using apic=verbose for more* information and apic=debug for _lots_ of information.* apic_verbosity is defined in apic.c(APIC_DEBUG, Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)."\n")
2242  trace_error_apic_exit(ERROR_APIC_VECTOR)
2243  exiting_irq()