From: Fenghua Yu <fenghua.yu@intel.com>
To: "Borislav Petkov" <bp@alien8.de>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Ingo Molnar" <mingo@redhat.com>,
"Tony Luck" <tony.luck@intel.com>,
"Reinette Chatre" <reinette.chatre@intel.com>,
"Ravi V Shankar" <ravi.v.shankar@intel.com>,
"Babu Moger" <babu.moger@amd.com>
Cc: "x86" <x86@kernel.org>,
"linux-kernel" <linux-kernel@vger.kernel.org>,
Fenghua Yu <fenghua.yu@intel.com>
Subject: [PATCH v3 0/2] x86/resctrl: Enable user to view thread or core throttling mode
Date: Mon, 24 Aug 2020 12:11:19 -0700 [thread overview]
Message-ID: <1598296281-127595-1-git-send-email-fenghua.yu@intel.com> (raw)
This series enumerates Memory Bandwidth Allocation (MBA) per-thread
feature and introduces a new resctrl file "thread_throttle_mode".
The file shows either "per-thread" on newer systems that implement the MBA
per-thread feature or "max" on other systems that allocate maximum
throttling per-core.
Details about the feature can be found in the commit description and
in Chapter 9 of the most recent Intel ISE available from
https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf
This series replaces the original MBA thread throttling patch series
found at
https://lore.kernel.org/lkml/cover.1592841671.git.reinette.chatre@intel.com/
This is a simplified version of the previous series that skips the
min/max mode and just provides the per-core vs. per-thread indicator.
Change Log:
v3:
- Rename "get_rdtgroup_rftype_get_by_name()" to
"rdtgroup_get_rftype_by_name()" (Boris).
- Re-base the patch set to tip:x86/cache (Boris).
v2:
- Rename "arch_throttle_mode" to "throttle_mode" and
"rdtgroup_rftype_by_name()" to "rdtgroup_rftype_get_by_name()" (Boris).
Fenghua Yu (2):
x86/resctrl: Enumerate per-thread MBA
x86/resctrl: Enable user to view thread or core throttling mode
Documentation/x86/resctrl_ui.rst | 18 ++++++++-
arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/kernel/cpu/cpuid-deps.c | 1 +
arch/x86/kernel/cpu/resctrl/core.c | 11 ++++++
arch/x86/kernel/cpu/resctrl/internal.h | 30 ++++++++++++---
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 53 +++++++++++++++++++++++++-
arch/x86/kernel/cpu/scattered.c | 1 +
7 files changed, 106 insertions(+), 9 deletions(-)
--
2.19.1
next reply other threads:[~2020-08-24 19:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-24 19:11 Fenghua Yu [this message]
2020-08-24 19:11 ` [PATCH v3 1/2] x86/resctrl: Enumerate per-thread MBA Fenghua Yu
2020-08-26 16:08 ` [tip: x86/cache] x86/resctrl: Enumerate per-thread MBA controls tip-bot2 for Fenghua Yu
2020-08-24 19:11 ` [PATCH v3 2/2] x86/resctrl: Enable user to view thread or core throttling mode Fenghua Yu
2020-08-26 16:08 ` [tip: x86/cache] " tip-bot2 for Fenghua Yu
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=1598296281-127595-1-git-send-email-fenghua.yu@intel.com \
--to=fenghua.yu@intel.com \
--cc=babu.moger@amd.com \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=ravi.v.shankar@intel.com \
--cc=reinette.chatre@intel.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
/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
all inboxes | Powered by JetHome®