From: Vikas Shivappa <vikas.shivappa@linux.intel.com>
To: linux-kernel@vger.kernel.org
Cc: vikas.shivappa@intel.com, vikas.shivappa@linux.intel.com,
hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org,
tj@kernel.org, peterz@infradead.org, matt.fleming@intel.com,
will.auld@intel.com
Subject: [PATCH V3 0/6] x86: Intel Cache Allocation Support
Date: Tue, 27 Jan 2015 16:00:03 -0800 [thread overview]
Message-ID: <1422403209-15533-1-git-send-email-vikas.shivappa@linux.intel.com> (raw)
This patch adds a new cgroup subsystem to support the new Cache Allocation
Technology (CAT) feature found in future Intel Xeon processors.
Cache Allocation Technology(CAT) provides a way for the Software
(OS/VMM) to restrict cache allocation to a defined 'subset' of cache
which may be overlapping with other 'subsets'. This feature is used
when allocating a line in cache ie when pulling new data into the cache.
This patch series is dependent on the patches for Intel Cache QOS Monitoring
from Matt since the series also implements a common software cache for the
IA32_PQR_MSR :
https://lkml.kernel.org/r/1422038748-21397-1-git-send-email-matt@codeblueprint.co.uk
Changes in V3:
- Implements a common software cache for IA32_PQR_MSR
- Implements support for hsw CAT enumeration. This does not use the brand
strings like earlier version but does a probe test. The probe test is done only
on hsw family of processors
- Made a few coding convention, name changes and minor fixes
Changes in V2:
- Removed HSW specific enumeration changes. Plan to include it later as a
seperate patch.
- Fixed the code in prep_arch_switch to be specific for x86 and removed
x86 defines.
- Fixed cbm_write to not write all 1s when a cgroup is freed.
- Fixed one possible memory leak in init.
- Changed some of manual bitmap
manipulation to use the predefined bitmap APIs to make code more readable
- Changed name in sources from cqe to cat
- Global cat enable flag changed to static_key and disabled cgroup early_init
Vikas Shivappa (6):
x86/intel_cat: Intel Cache Allocation Technology detection
x86/intel_cat: Adds support for Class of service management
x86/intel_cat: Support cache bit mask for Intel CAT
x86/intel_cat: Implement scheduling support for Intel CAT
x86/intel_rdt: Software Cache for IA32_PQR_MSR
x86/intel_cat: Intel haswell CAT enumeration
arch/x86/include/asm/cpufeature.h | 6 +-
arch/x86/include/asm/intel_cat.h | 99 ++++++++
arch/x86/include/asm/processor.h | 3 +
arch/x86/include/asm/rdt.h | 13 +
arch/x86/include/asm/switch_to.h | 3 +
arch/x86/kernel/cpu/Makefile | 1 +
arch/x86/kernel/cpu/common.c | 16 ++
arch/x86/kernel/cpu/intel_cat.c | 367 +++++++++++++++++++++++++++++
arch/x86/kernel/cpu/perf_event_intel_cqm.c | 20 +-
include/linux/cgroup_subsys.h | 4 +
init/Kconfig | 11 +
kernel/sched/core.c | 1 +
kernel/sched/sched.h | 3 +
13 files changed, 533 insertions(+), 14 deletions(-)
create mode 100644 arch/x86/include/asm/intel_cat.h
create mode 100644 arch/x86/include/asm/rdt.h
create mode 100644 arch/x86/kernel/cpu/intel_cat.c
--
1.9.1
next reply other threads:[~2015-01-28 0:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 0:00 Vikas Shivappa [this message]
2015-01-28 0:00 ` [PATCH 1/6] x86/intel_cat: Intel Cache Allocation Technology detection Vikas Shivappa
2015-01-28 22:11 ` Paul Bolle
2015-01-28 23:17 ` Vikas Shivappa
2015-02-09 19:50 ` [PATCH 1/6] x86/intel_cat: Intel Cache Allocation Technology Vikas Shivappa
2015-02-03 10:57 ` [PATCH 1/6] x86/intel_cat: Intel Cache Allocation Technology detection Matt Fleming
2015-01-28 0:00 ` [PATCH 2/6] x86/intel_cat: Adds support for Class of service management Vikas Shivappa
2015-01-28 0:00 ` [PATCH 3/6] x86/intel_cat: Support cache bit mask for Intel CAT Vikas Shivappa
2015-01-28 0:00 ` [PATCH 4/6] x86/intel_cat: Implement scheduling support " Vikas Shivappa
2015-01-28 0:00 ` [PATCH 5/6] x86/intel_rdt: Software Cache for IA32_PQR_MSR Vikas Shivappa
2015-01-28 0:00 ` [PATCH 6/6] x86/intel_cat: Intel haswell CAT enumeration Vikas Shivappa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422403209-15533-1-git-send-email-vikas.shivappa@linux.intel.com \
--to=vikas.shivappa@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=vikas.shivappa@intel.com \
--cc=will.auld@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome