summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorXin Li <xin3.li@intel.com>2023-12-05 02:49:57 -0800
committerBorislav Petkov (AMD) <bp@alien8.de>2024-01-30 18:19:20 +0100
commit3810da12710aaa05c6101418675c923642a80c0c (patch)
treed1f3d28989faee9e2d89826851476080f9f5a4b1 /arch/x86/kernel/cpu/common.c
parente554a8ca49d6d6d782f546ae4d7f036946e7dd87 (diff)
x86/fred: Add a fred= cmdline param
Let command line option "fred" accept multiple options to make it easier to tweak its behavior. Currently, two options 'on' and 'off' are allowed, and the default behavior is to disable FRED. To enable FRED, append "fred=on" to the kernel command line. [ bp: Use cpu_feature_enabled(), touch ups. ] Signed-off-by: Xin Li <xin3.li@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Tested-by: Shan Kang <shan.kang@intel.com> Link: https://lore.kernel.org/r/20231205105030.8698-9-xin3.li@intel.com
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
0 files changed, 0 insertions, 0 deletions