Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__get_mem_config_intel

Proto:static bool __get_mem_config_intel(struct rdt_resource *r)

Type:bool

Parameter:

TypeParameterName
struct rdt_resource *r
259  cpuid_count(0x00000010, 3, & full, & ebx, & ecx, & full)
260  num_closid = cos_max + 1
261  max_delay = max_delay + 1
262  default_ctrl = MAX_MBA_BW
263  If ecx & MBA_IS_LINEAR Then
264  delay_linear = true
265  min_bw = MAX_MBA_BW - max_delay
266  bw_gran = MAX_MBA_BW - max_delay
267  Else
268  If Not dt_get_mb_table() - get a mapping of bandwidth(b/w) percentage values* exposed to user interface and the h/w understandable delay values Then Return false
271  data_width = 3
273  alloc_capable = true
274  alloc_enabled = true
276  Return true
Caller
NameDescribe
get_mem_config