]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC/skx: Use the mcmtr register to retrieve close_pg/bank_xor_enable
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Fri, 15 May 2020 12:34:06 +0000 (20:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2020 14:42:03 +0000 (16:42 +0200)
commit4fd40e3290ecdffc067304014722c56df2516a88
tree70c719e3e6bb0c45796cf15da42726df893b52db
parentc2990d21da7ab53f491b9773e3cf8d84ed992e07
EDAC/skx: Use the mcmtr register to retrieve close_pg/bank_xor_enable

commit 1032095053b34d474aa20f2625d97dd306e0991b upstream.

The skx_edac driver wrongly uses the mtr register to retrieve two fields
close_pg and bank_xor_enable. Fix it by using the correct mcmtr register
to get the two fields.

Cc: <stable@vger.kernel.org>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Reported-by: Matthew Riley <mattdr@google.com>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20200515210146.1337-1-tony.luck@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/i10nm_base.c
drivers/edac/skx_base.c
drivers/edac/skx_common.c
drivers/edac/skx_common.h