Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Caller must hold the lock on cmci_discover_lock

Proto:static void __cmci_disable_bank(int bank)

Type:void

Parameter:

TypeParameterName
intbank
359  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return
361  rdmsrl(MSR_IA32_MCx_CTL2(bank), val)
362  val &= ~CTL2 register defines
363  wrmsrl(MSR_IA32_MCx_CTL2(bank), val)
364  __clear_bit - Clears a bit in memory*@nr: the bit to clear*@addr: the address to start counting from* Unlike clear_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation
Caller
NameDescribe
cmci_clearDisable CMCI on this CPU for all banks it owns when it goes down.* This allows other CPUs to claim the banks on rediscovery.
cmci_disable_bank