[GIT PULL] x86/cache for v6.3-rc1

From: Borislav Petkov
Date: Mon Feb 20 2023 - 11:06:36 EST


Hi Linus,

please pull the new pile of x86 resource control updates for 6.3.

Thx.

---

The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65:

Linux 6.2-rc5 (2023-01-21 16:27:01 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cache_for_v6.3_rc1

for you to fetch changes up to 793207bad71c5339c614d12ac21d627da7bf771d:

x86/resctrl: Fix a silly -Wunused-but-set-variable warning (2023-01-26 11:15:20 +0100)

----------------------------------------------------------------
- Add support for a new AMD feature called slow memory bandwidth
allocation. Its goal is to control resource allocation in external slow
memory which is connected to the machine like for example through CXL devices,
accelerators etc

----------------------------------------------------------------
Babu Moger (13):
x86/resctrl: Replace smp_call_function_many() with on_each_cpu_mask()
x86/cpufeatures: Add Slow Memory Bandwidth Allocation feature flag
x86/resctrl: Add a new resource type RDT_RESOURCE_SMBA
x86/cpufeatures: Add Bandwidth Monitoring Event Configuration feature flag
x86/resctrl: Include new features in command line options
x86/resctrl: Detect and configure Slow Memory Bandwidth Allocation
x86/resctrl: Add __init attribute to rdt_get_mon_l3_config()
x86/resctrl: Support monitor configuration
x86/resctrl: Add interface to read mbm_total_bytes_config
x86/resctrl: Add interface to read mbm_local_bytes_config
x86/resctrl: Add interface to write mbm_total_bytes_config
x86/resctrl: Add interface to write mbm_local_bytes_config
Documentation/x86: Update resctrl.rst for new features

Borislav Petkov (AMD) (1):
x86/resctrl: Fix a silly -Wunused-but-set-variable warning

Documentation/admin-guide/kernel-parameters.txt | 2 +-
Documentation/x86/resctrl.rst | 147 +++++++++++-
arch/x86/include/asm/cpufeatures.h | 2 +
arch/x86/include/asm/msr-index.h | 2 +
arch/x86/kernel/cpu/cpuid-deps.c | 2 +
arch/x86/kernel/cpu/resctrl/core.c | 54 ++++-
arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 13 +-
arch/x86/kernel/cpu/resctrl/internal.h | 28 +++
arch/x86/kernel/cpu/resctrl/monitor.c | 30 ++-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 307 ++++++++++++++++++++++--
arch/x86/kernel/cpu/scattered.c | 2 +
include/linux/resctrl.h | 11 +
12 files changed, 559 insertions(+), 41 deletions(-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette