Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\cacheinfo.c Create Date:2022-07-28 07:53:57
Last Modify:2020-03-16 20:07:28 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_amd_cacheinfo

Proto:void init_amd_cacheinfo(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
706  If boot_cpu_has(Topology extensions CPUID leafs ) Then
707  num_cache_leaves = find_num_cache_leaves(c)
708  Else if Max extended CPUID function supported: >= 0x80000006 Then
709  If cpuid_edx(0x80000006) & 0xf000 Then num_cache_leaves = 4
711  Else num_cache_leaves = 3
Caller
NameDescribe
init_amd