[GIT PULL] x86/cache for v5.15

From: Borislav Petkov
Date: Mon Aug 30 2021 - 06:01:38 EST


Hi Linus,

please pull the x86/resctrl changes for v5.15.

Thx.

---

The following changes since commit 36a21d51725af2ce0700c6ebcb6b9594aac658a6:

Linux 5.14-rc5 (2021-08-08 13:49:31 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cache_for_v5.15

for you to fetch changes up to 111136e69c9df50c3ca7d4e3977344b8a2d0d947:

x86/resctrl: Make resctrl_arch_get_config() return its value (2021-08-11 18:42:53 +0200)

----------------------------------------------------------------
- A first round of changes towards splitting the arch-specific bits from
the filesystem bits of resctrl, the ultimate goal being to support ARM's
equivalent technology MPAM, with the same fs interface (James Morse)

----------------------------------------------------------------
James Morse (25):
x86/resctrl: Split struct rdt_resource
x86/resctrl: Split struct rdt_domain
x86/resctrl: Add a separate schema list for resctrl
x86/resctrl: Pass the schema in info dir's private pointer
x86/resctrl: Label the resources with their configuration type
x86/resctrl: Walk the resctrl schema list instead of an arch list
x86/resctrl: Store the effective num_closid in the schema
x86/resctrl: Add resctrl_arch_get_num_closid()
x86/resctrl: Pass the schema to resctrl filesystem functions
x86/resctrl: Swizzle rdt_resource and resctrl_schema in pseudo_lock_region
x86/resctrl: Add a helper to read/set the CDP configuration
x86/resctrl: Move the schemata names into struct resctrl_schema
x86/resctrl: Group staged configuration into a separate struct
x86/resctrl: Allow different CODE/DATA configurations to be staged
x86/resctrl: Rename update_domains() to resctrl_arch_update_domains()
x86/resctrl: Add a helper to read a closid's configuration
x86/resctrl: Pass configuration type to resctrl_arch_get_config()
x86/resctrl: Make ctrlval arrays the same size
x86/resctrl: Apply offset correction when config is staged
x86/resctrl: Calculate the index from the configuration type
x86/resctrl: Merge the ctrl_val arrays
x86/resctrl: Remove rdt_cdp_peer_get()
x86/resctrl: Expand resctrl_arch_update_domains()'s msr_param range
x86/resctrl: Merge the CDP resources
x86/resctrl: Make resctrl_arch_get_config() return its value

arch/x86/kernel/cpu/resctrl/core.c | 276 +++++++-----------
arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 163 ++++++++---
arch/x86/kernel/cpu/resctrl/internal.h | 231 +++++----------
arch/x86/kernel/cpu/resctrl/monitor.c | 44 +--
arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 12 +-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 461 +++++++++++++++++-------------
include/linux/resctrl.h | 184 ++++++++++++
7 files changed, 776 insertions(+), 595 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg