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:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ache_alloc_hsw_probe() - Have to probe for Intel haswell server CPUs* as they do not have CPUID enumeration support for Cache allocation

Proto:static inline void cache_alloc_hsw_probe(void)

Type:void

Parameter:Nothing

201  r = rdt_resources_all[RDT_RESOURCE_L3]
202  max_cbm = BIT_MASK(20) - 1
204  If wrmsr with exception handling Then Return
207  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_L3_CBM_BASE, l, h)
210  If l != max_cbm Then Return
213  num_closid = 4
214  default_ctrl = max_cbm
215  cbm_len = 20
216  shareable_bits = 0xc0000
217  min_cbm_bits = 2
218  alloc_capable = true
219  alloc_enabled = true
221  Global boolean for rdt_alloc which is true if any* resource allocation is enabled. = true
Caller
NameDescribe
__check_quirks_intel