Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\nmi_selftest.c Create Date:2022-07-28 08:44:00
Last Modify:2020-03-16 21:34:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_nmi_ipi

Proto:static void __init test_nmi_ipi(struct cpumask *mask)

Type:void

Parameter:

TypeParameterName
struct cpumask *mask
69  If register_nmi_handler(NMI_LOCAL, test_nmi_ipi_callback, NMI_FLAG_FIRST, "nmi_selftest", __initdata) Then
71  nmi_fail = FAILURE
72  Return
76  wmb()
78  send_IPI_mask(mask, Linux IRQ vector layout)
81  timeout = USEC_PER_SEC
82  When Not pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. && --timeout cycle
83  0x10c7 is 2**32 / 1000000 (rounded up) (1)
86  unregister_nmi_handler(NMI_LOCAL, "nmi_selftest")
88  If Not timeout Then nmi_fail = TIMEOUT
90  Return
Caller
NameDescribe
remote_ipi
local_ipi