]> Gentwo Git Trees - linux/.git/commit
x86/mce/intel: Use MCG_BANKCNT_MASK instead of 0xff
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Fri, 25 Oct 2024 02:45:54 +0000 (10:45 +0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 28 Oct 2024 13:27:34 +0000 (14:27 +0100)
commit754269ccf03d68da15b9e5cdd26a6464b81cec67
tree077cf5e4bd4e8bcc57bf88635724fd7dde70913f
parent325c3376afad838eec8b9342e9e5eef270c5b184
x86/mce/intel: Use MCG_BANKCNT_MASK instead of 0xff

Use the predefined MCG_BANKCNT_MASK macro instead of the hardcoded
0xff to mask the bank number bits.

No functional changes intended.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20241025024602.24318-3-qiuxu.zhuo@intel.com
arch/x86/kernel/cpu/mce/intel.c