Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smca_get_block_address

Proto:static unsigned int smca_get_block_address(unsigned int bank, unsigned int block, unsigned int cpu)

Type:unsigned int

Parameter:

TypeParameterName
unsigned intbank
unsigned intblock
unsigned intcpu
481  If Not block Then Return MSR_AMD64_SMCA_MCx_MISC(bank)
484  If Not (per_cpu(Map of banks that have more than MCA_MISC0 available. , cpu) & BIT(bank)) Then Return 0
487  Return MSR_AMD64_SMCA_MCx_MISCy(bank, block - 1)
Caller
NameDescribe
get_block_address