]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/cpu: Add a helper function x86_read_arch_cap_msr()
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>
Wed, 23 Oct 2019 08:52:35 +0000 (10:52 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 15 Nov 2019 00:56:48 +0000 (00:56 +0000)
commit490421fb060b7487fc6e4fe2efb27820b0b535eb
treea1bb78296058b16e6a74b09848989955e3099ef3
parent6608a10cecfd899b4e8650aa9149ca5a6171fc43
x86/cpu: Add a helper function x86_read_arch_cap_msr()

commit 286836a70433fb64131d2590f4bf512097c255e1 upstream.

Add a helper function to read the IA32_ARCH_CAPABILITIES MSR.

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Neelima Krishnan <neelima.krishnan@intel.com>
Reviewed-by: Mark Gross <mgross@linux.intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/cpu.h