x86/mce: Get rid of msr_ops
stable inclusion from stable-v5.10.163 commit ec75bc43681bb1fc0695168123004a50b12aa9b3 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7PJ9N Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ec75bc43681bb1fc0695168123004a50b12aa9b3 ---------------------------------------------------- [ Upstream commit 8121b8f9 ] Avoid having indirect calls and use a normal function which returns the proper MSR address based on ->smca setting. No functional changes. Signed-off-by:Borislav Petkov <bp@suse.de> Reviewed-by:
Tony Luck <tony.luck@intel.com> Link: https://lkml.kernel.org/r/20210922165101.18951-4-bp@alien8.de Stable-dep-of: bc1b705b ("x86/MCE/AMD: Clear DFR errors found in THR handler") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment