函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\cacheinfo.c Create Date:2022-07-27 08:54:13
Last Modify:2020-03-16 20:07:28 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cacheinfo_hygon_init_llc_id

函数原型:void cacheinfo_hygon_init_llc_id(struct cpuinfo_x86 *c, int cpu, u8 node_id)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
intcpu
u8node_id
693  如果非cpuid_edx(0x80000006)则返回
700  per_cpu(cpu_llc_id, cpu)等于apicid右移3位
调用者
名称描述
hygon_get_topologyFixup core topology information for* (1) Hygon multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) Hygon processors supporting compute units