Messages in this thread Patch in this message | | | From | Chen Yu <> | Subject | [PATCH 1/2][v2] resctrl: Add CPU_RESCTRL | Date | Fri, 15 Nov 2019 13:24:20 +0800 |
| |
Introduce a generic option called CPU_RESCTRL which is selected by the arch-specific ones CONFIG_X86_RESCTRL or CONFIG_ARM64_RESCTRL in the future. The generic one will cover the resctrl filesystem and other generic and shared bits of functionality.
Suggested-by: Borislav Petkov <bp@suse.de> Signed-off-by: Chen Yu <yu.c.chen@intel.com> --- arch/Kconfig | 4 ++++ arch/x86/Kconfig | 1 + 2 files changed, 5 insertions(+)
diff --git a/arch/Kconfig b/arch/Kconfig index 5f8a5d84dbbe..3886cf0052a8 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -960,6 +960,10 @@ config RELR config ARCH_HAS_MEM_ENCRYPT bool +config CPU_RESCTRL + bool + def_bool n + source "kernel/gcov/Kconfig" source "scripts/gcc-plugins/Kconfig" diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 8ef85139553f..a8a12493e8c2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -455,6 +455,7 @@ config X86_CPU_RESCTRL bool "x86 CPU resource control support" depends on X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) select KERNFS + select CPU_RESCTRL help Enable x86 CPU resource control support. -- 2.17.1
| |