Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_cqm

Proto:static void init_cqm(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
878  If Not cpu_has(c, LLC QoS if 1 ) Then
879  max index = -1
880  scale to bytes = -1
881  Return
885  max index = cpuid_ebx(0xf)
887  If cpu_has(c, LLC occupancy monitoring ) || cpu_has(c, LLC Total MBM monitoring ) || cpu_has(c, LLC Local MBM monitoring ) Then
893  cpuid_count(0xf, 1, & eax, & ebx, & ecx, & edx)
895  max index = ecx
896  scale to bytes = ebx
Caller
NameDescribe
get_cpu_cap