Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\amd.c Create Date:2022-07-28 07:58:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Fix up cpu_core_id for pre-F17h systems to be in the* [0 .. cores_per_node - 1] range. Not really needed but* kept so as not to break existing setups.

Proto:static void legacy_fixup_core_id(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
316  If CPU family >= 0x17 Then Return
319  cus_per_node = cpuid returned max cores value: / des_per_socket: Stores the number of nodes per socket.* Refer to Fam15h Models 00-0fh BKDG - CPUID Fn8000_001E_ECX* Node Identifiers[10:8]
320  Core id: %= cus_per_node
Caller
NameDescribe
amd_get_topologyFixup core topology information for* (1) AMD multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) AMD processors supporting compute units