]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 4 Dec 2019 09:29:26 +0000 (10:29 +0100)
commit8465456ff3e3b29512b52e4c2edb1d41d5f7fe19
treeedac4f588b7559e486b9dba6a6dcdc204db94771
parent811e20a2f2c02ef67862299f2a09016a37dc879b
x86/cpu: Add a helper function x86_read_arch_cap_msr()

BugLink: https://bugs.launchpad.net/bugs/1852338
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/cpu.h