diff options
author | Tony Luck <tony.luck@intel.com> | 2016-04-14 19:22:02 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-04-22 10:10:01 +0200 |
commit | ea5dfb5fae81939f777ca569d8cfb599252da2e8 (patch) | |
tree | ad877f65ffb0a4090d17a78069212c8d75662730 /arch | |
parent | x86 EDAC, sb_edac.c: Repair damage introduced when "fixing" channel address (diff) | |
download | linux-ea5dfb5fae81939f777ca569d8cfb599252da2e8.tar.xz linux-ea5dfb5fae81939f777ca569d8cfb599252da2e8.zip |
x86 EDAC, sb_edac.c: Take account of channel hashing when needed
Haswell and Broadwell can be configured to hash the channel
interleave function using bits [27:12] of the physical address.
On those processor models we must check to see if hashing is
enabled (bit21 of the HASWELL_HASYSDEFEATURE2 register) and
act accordingly.
Based on a patch by patrickg <patrickg@supermicro.com>
Tested-by: Patrick Geary <patrickg@supermicro.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Aristeu Rozanski <arozansk@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-edac@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions