Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_uv_x.c Create Date:2022-07-28 08:33:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:uv_wakeup_secondary

Proto:static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)

Type:int

Parameter:

TypeParameterName
intphys_apicid
unsigned longstart_rip
571  pnode = Extract/Convert a PNODE from an APICID (full apicid, not processor subset)
572  phys_apicid |= uv_apicid_hibits
574  val = 1UL << UVH_IPI_INT_SEND_SHFT | phys_apicid << UVH_IPI_INT_APIC_ID_SHFT | start_rip << UVH_IPI_INT_VECTOR_SHFT >> 12 | APIC_DM_INIT
579  uv_write_global_mmr64(pnode, UVH_IPI_INT , val)
581  val = 1UL << UVH_IPI_INT_SEND_SHFT | phys_apicid << UVH_IPI_INT_APIC_ID_SHFT | start_rip << UVH_IPI_INT_VECTOR_SHFT >> 12 | APIC_DM_STARTUP
586  uv_write_global_mmr64(pnode, UVH_IPI_INT , val)
588  Return 0