[PATCH v5 09/13] arch/x86: Introduce new config parameter AMD_QOS
From: Moger, Babu
Date: Thu Oct 18 2018 - 18:52:58 EST
Introduces the new config parameter AMD_QOS. This parameter will be
used to enable cache and memory bandwidth allocation and monitoring
features on AMD processors. This will enable common config parameter
RESCTRL if selected.
Signed-off-by: Babu Moger <babu.moger@xxxxxxx>
---
arch/x86/Kconfig | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 91a703ebdc04..9cd21e536b65 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -458,9 +458,24 @@ config INTEL_RDT
Say N if unsure.
+config AMD_QOS
+ bool "AMD Quality of Service support"
+ default n
+ depends on CPU_SUP_AMD
+ select KERNFS
+ help
+ Select to enable cache and memory bandwidth enforcement and monitoring
+ features of AMD processors. These features are intended to provide
+ support for the monitoring of the usage of certain system resources
+ by one or more processors and for the separate allocation and
+ enforcement of limits on the use of certain system resources by one or
+ more processors.
+
+ Say N if unsure.
+
config RESCTRL
def_bool y
- depends on X86 && INTEL_RDT
+ depends on X86 && (INTEL_RDT || AMD_QOS)
if X86_32
config X86_BIGSMP
--
2.17.1