Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1399598
| From | David Carrillo-Cisneros <davidcc@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 03/32] x86/intel,cqm: add CONFIG_INTEL_RDT configuration flag |
| Date | 2016-05-12 01:20 +0200 |
| Message-ID | <rxLA5-1qt-7@gated-at.bofh.it> (permalink) |
| References | <rxLqq-1mv-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add Intel's PQR as its own build target with no build dependency on CQM. Add CONFIG_INTEL_RDT as a configuration flag that builds PQR and related drivers (currently CQM, future: MBM, CAT, CDP). Reviewed-by: Stephane Eranian <eranian@google.com> Signed-off-by: David Carrillo-Cisneros <davidcc@google.com> --- arch/x86/Kconfig | 7 +++++++ arch/x86/events/intel/Makefile | 3 ++- arch/x86/kernel/cpu/Makefile | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index a494fa3..52a7edc 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -160,6 +160,13 @@ config X86 select ARCH_USES_HIGH_VMA_FLAGS if X86_INTEL_MEMORY_PROTECTION_KEYS select ARCH_HAS_PKEYS if X86_INTEL_MEMORY_PROTECTION_KEYS +config INTEL_RDT + def_bool y + depends on PERF_EVENTS && CPU_SUP_INTEL + ---help--- + Enable Resource Director Technology (RDT) for Intel Xeon Microprocessors. + RDT includes Cache Monitoring Technology (CMT aka CQM). + config INSTRUCTION_DECODER def_bool y depends on KPROBES || PERF_EVENTS || UPROBES diff --git a/arch/x86/events/intel/Makefile b/arch/x86/events/intel/Makefile index 3660b2c..7e610bf 100644 --- a/arch/x86/events/intel/Makefile +++ b/arch/x86/events/intel/Makefile @@ -1,4 +1,4 @@ -obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o cqm.o +obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o obj-$(CONFIG_CPU_SUP_INTEL) += ds.o knc.o obj-$(CONFIG_CPU_SUP_INTEL) += lbr.o p4.o p6.o pt.o obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL) += intel-rapl.o @@ -7,3 +7,4 @@ obj-$(CONFIG_PERF_EVENTS_INTEL_UNCORE) += intel-uncore.o intel-uncore-objs := uncore.o uncore_nhmex.o uncore_snb.o uncore_snbep.o obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o intel-cstate-objs := cstate.o +obj-$(CONFIG_INTEL_RDT) += cqm.o diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile index 4a8697f..87e6279 100644 --- a/arch/x86/kernel/cpu/Makefile +++ b/arch/x86/kernel/cpu/Makefile @@ -34,6 +34,10 @@ obj-$(CONFIG_CPU_SUP_CENTAUR) += centaur.o obj-$(CONFIG_CPU_SUP_TRANSMETA_32) += transmeta.o obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o +ifdef CONFIG_CPU_SUP_INTEL +obj-$(CONFIG_INTEL_RDT) += pqr_common.o +endif + obj-$(CONFIG_X86_MCE) += mcheck/ obj-$(CONFIG_MTRR) += mtrr/ obj-$(CONFIG_MICROCODE) += microcode/ -- 2.8.0.rc3.226.g39d4020
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 00/32] 2nd Iteration of Cache QoS Monitoring support. David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:10 +0200
[PATCH v2 16/32] perf/x86/intel/cqm: add cgroup support David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:10 +0200
[PATCH v2 11/32] perf/x86/intel/cqm: add per-package RMID rotation David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:10 +0200
Re: [PATCH v2 11/32] perf/x86/intel/cqm: add per-package RMID rotation Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 23:40 +0200
Re: [PATCH v2 11/32] perf/x86/intel/cqm: add per-package RMID rotation David Carrillo-Cisneros <davidcc@google.com> - 2016-05-24 23:10 +0200
[PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package locking David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:20 +0200
Re: [PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package locking Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 19:40 +0200
Re: [PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package locking Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 21:20 +0200
[PATCH v2 04/32] perf/x86/intel/cqm: add constants for CQM David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:20 +0200
[PATCH v2 02/32] perf/x86/intel/cqm: software cache for MSR_IA32_PQR_ASSOC David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:20 +0200
[PATCH v2 03/32] x86/intel,cqm: add CONFIG_INTEL_RDT configuration flag David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:20 +0200
Re: [PATCH v2 03/32] x86/intel,cqm: add CONFIG_INTEL_RDT configuration flag Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 19:40 +0200
[PATCH v2 06/32] perf/x86/intel/cqm: add per-package RMIDs, data and locks David Carrillo-Cisneros <davidcc@google.com> - 2016-05-12 01:20 +0200
Re: [PATCH v2 06/32] perf/x86/intel/cqm: add per-package RMIDs, data and locks Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 18:20 +0200
csiph-web