]> git.itanic.dy.fi Git - linux-stable/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:43:00 +0000 (16:43 +0200)
commita706b8ecbeafc8d7e613083df6734642e57227ce
treec67c4649a2898e428766a32941910e4f23c54162
parent22ce3bd338368f227c4ca588e9e337da1e040c5c
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