Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_nb.c Create Date:2022-07-28 08:43:49
Last Modify:2020-03-16 21:36:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:amd_get_subcaches

Proto:int amd_get_subcaches(int cpu)

Type:int

Parameter:

TypeParameterName
intcpu
381  link = link
384  If Not amd_nb_has_feature(AMD_NB_L3_PARTITIONING) Then Return 0
387  pci_read_config_dword(link, 0x1d4, & mask)
389  Return mask >> 4 * cpu_core_id & 0xf