[PATCH 00/28 V2] Cqm3 patch series(along with MBM support)
From: Vikas Shivappa
Date: Tue Jul 25 2017 - 17:13:05 EST
Sending the V2 series to address all the feedback that was received in
V1. Apart from that this series adds a patch from Reinette to fix a
global declaration in existing RDT and also fixes some issues where the
prq MSR was not updated when masks or tasks were moved in some cases and
some cleanups.
Acknowledgements:
- Thanks to Thomas for all the feedback on the requirements and
design.
- Thanks to Stephane Eranian <eranian@xxxxxxxxxx> and David
Carrillo-Cisneros <davidcc@xxxxxxxxxx> for going through all the
churning during requirements and design phase and code reviews.
Patches are based on 4.12
Changes in V2 as per the feedback:
Thanks to Thomas and PeterZ for all the feedback and suggest a lot of
improvements that can be done.
- Improved the RMID limbo list handling to not spend too much time in
the IPIs.
- Fixed a lot of coding convention issues and added comments to better
explain the code.
- Changed naming of the globals to better indicate the enabling and
detecting of features and better organize init code.
- Changed closid to u32 instead of int.
- Made new patches to split the existing ones to make it more readable
- Added functions to contain the reuse code.
- Separated the monitor only related bits from the control and monitor
structure to make it clear in the code that the monitor rdtgroup and
the control groups are different.
Reinette Chatre (1):
x86/intel_rdt: Mark rdt_root and closid_alloc as static
Tony Luck (2):
x86/intel_rdt: Simplify info and base file lists
x86/intel_rdt/mbm: Basic counting of MBM events (total and local)
Vikas Shivappa (25):
x86/perf/cqm: Wipe out perf based cqm
x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring
x86/intel_rdt: Introduce a common compile option for RDT
x86/intel_rdt: Change file names to accommodate RDT monitor code
x86/intel_rdt: Cleanup namespace to support RDT monitoring
x86/intel_rdt: make rdt_resources_all more readable
x86/intel_rdt/cqm: Add RDT monitoring initialization
x86/intel_rdt/cqm: Add RMID(Resource monitoring ID) management
x86/intel_rdt/cqm: Add info files for RDT monitoring
x86/intel_rdt: Prepare for RDT monitoring mkdir support
x86/intel_rdt/cqm: Add mkdir support for RDT monitoring
x86/intel_rdt: Change closid type from int to u32
x86/intel_rdt/cqm: Add tasks file support
x86/intel_rdt: Prepare to add RDT monitor cpus file support
x86/intel_rdt/cqm: Add cpus file support
x86/intel_rdt: Prepare for RDT monitor data support
x86/intel_rdt/cqm: Add mon_data
x86/intel_rdt: Separate the ctrl bits from rmdir
x86/intel_rdt/cqm: Add rmdir support
x86/intel_rdt/cqm: Add mount,umount support
x86/intel_rdt: Introduce rdt_enable_key for scheduling
x86/intel_rdt/cqm: Add sched_in support
x86/intel_rdt/cqm: Add hotcpu support
x86/intel_rdt/mbm: Add mbm counter initialization
x86/intel_rdt/mbm: Handle counter overflow
Documentation/x86/intel_rdt_ui.txt | 316 ++++-
MAINTAINERS | 2 +-
arch/x86/Kconfig | 12 +-
arch/x86/events/intel/Makefile | 2 +-
arch/x86/events/intel/cqm.c | 1766 ---------------------------
arch/x86/include/asm/intel_rdt.h | 286 -----
arch/x86/include/asm/intel_rdt_common.h | 27 -
arch/x86/include/asm/intel_rdt_sched.h | 88 ++
arch/x86/kernel/cpu/Makefile | 2 +-
arch/x86/kernel/cpu/intel_rdt.c | 217 +++-
arch/x86/kernel/cpu/intel_rdt.h | 425 +++++++
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 341 ++++++
arch/x86/kernel/cpu/intel_rdt_monitor.c | 523 ++++++++
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 1116 +++++++++++++----
arch/x86/kernel/cpu/intel_rdt_schemata.c | 286 -----
arch/x86/kernel/process_32.c | 2 +-
arch/x86/kernel/process_64.c | 2 +-
include/linux/perf_event.h | 18 -
include/linux/sched.h | 5 +-
kernel/events/core.c | 11 +-
kernel/trace/bpf_trace.c | 2 +-
21 files changed, 2765 insertions(+), 2684 deletions(-)
delete mode 100644 arch/x86/events/intel/cqm.c
delete mode 100644 arch/x86/include/asm/intel_rdt.h
delete mode 100644 arch/x86/include/asm/intel_rdt_common.h
create mode 100644 arch/x86/include/asm/intel_rdt_sched.h
create mode 100644 arch/x86/kernel/cpu/intel_rdt.h
create mode 100644 arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
create mode 100644 arch/x86/kernel/cpu/intel_rdt_monitor.c
delete mode 100644 arch/x86/kernel/cpu/intel_rdt_schemata.c
--
1.9.1