diff options
author | Yazen Ghannam <Yazen.Ghannam@amd.com> | 2016-05-11 14:58:27 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-05-12 09:08:22 +0200 |
commit | 14cddfd5308b0880abd6e58b6660f5cc8e8020f9 (patch) | |
tree | f0613c3deac871a3351497244c1f88f459881b2c /drivers/edac | |
parent | x86/cpu: Add detection of AMD RAS Capabilities (diff) | |
download | linux-14cddfd5308b0880abd6e58b6660f5cc8e8020f9.tar.xz linux-14cddfd5308b0880abd6e58b6660f5cc8e8020f9.zip |
x86/mce: Update AMD mcheck init to use cpu_has() facilities
Use cpu_has() facilities to find available RAS features rather than
directly reading CPUID 0x80000007_EBX.
Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
[ Use the struct cpuinfo_x86 ptr instead. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1462971509-3856-6-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions