]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/mce/AMD: Carve out SMCA bank configuration
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 19 May 2017 09:39:15 +0000 (11:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 21 May 2017 19:55:13 +0000 (21:55 +0200)
commit84bcc1d57f634ba8a55eda9a910c159467af0aac
tree74a7a7491a60c30d9919cdf020d6e49e79d1f13d
parent37d43acfd79f9c53289e9990c344cbd5b4db4bd4
x86/mce/AMD: Carve out SMCA bank configuration

Scalable MCA systems have a new MCA_CONFIG register that we use to
configure each bank. We currently use this when we set up thresholding.
However, this is logically separate.

Group all SMCA-related initialization into a single function.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1493147772-2721-2-git-send-email-Yazen.Ghannam@amd.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/mcheck/mce_amd.c