[GIT PULL] x86/cache for 6.1
From: Borislav Petkov
Date: Tue Oct 04 2022 - 10:26:14 EST
Hi Linus,
the x86/cache branch saw a lot more action this time around. Please
pull.
Thx.
---
The following changes since commit b90cb1053190353cc30f0fef0ef1f378ccc063c5:
Linux 6.0-rc3 (2022-08-28 15:05:29 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cache_for_v6.1_rc1
for you to fetch changes up to f7b1843eca6fe295ba0c71fc02a3291954078f2b:
x86/resctrl: Make resctrl_arch_rmid_read() return values in bytes (2022-09-23 14:25:05 +0200)
----------------------------------------------------------------
- More work by James Morse to disentangle the resctrl filesystem generic
code from the architectural one with the endgoal of plugging ARM's MPAM
implementation into it too so that the user interface remains the same
- Properly restore the MSR_MISC_FEATURE_CONTROL value instead of blindly
overwriting it to 0
----------------------------------------------------------------
James Morse (21):
x86/resctrl: Kill off alloc_enabled
x86/resctrl: Merge mon_capable and mon_enabled
x86/resctrl: Add domain online callback for resctrl work
x86/resctrl: Group struct rdt_hw_domain cleanup
x86/resctrl: Add domain offline callback for resctrl work
x86/resctrl: Remove set_mba_sc()s control array re-initialisation
x86/resctrl: Abstract and use supports_mba_mbps()
x86/resctrl: Create mba_sc configuration in the rdt_domain
x86/resctrl: Switch over to the resctrl mbps_val list
x86/resctrl: Remove architecture copy of mbps_val
x86/resctrl: Allow update_mba_bw() to update controls directly
x86/resctrl: Calculate bandwidth from the previous __mon_event_count() chunks
x86/resctrl: Add per-rmid arch private storage for overflow and chunks
x86/resctrl: Allow per-rmid arch private storage to be reset
x86/resctrl: Abstract __rmid_read()
x86/resctrl: Pass the required parameters into resctrl_arch_rmid_read()
x86/resctrl: Move mbm_overflow_count() into resctrl_arch_rmid_read()
x86/resctrl: Move get_corrected_mbm_count() into resctrl_arch_rmid_read()
x86/resctrl: Rename and change the units of resctrl_cqm_threshold
x86/resctrl: Add resctrl_rmid_realloc_limit to abstract x86's boot_cpu_data
x86/resctrl: Make resctrl_arch_rmid_read() return values in bytes
Kohei Tarumizu (1):
x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
arch/x86/include/asm/resctrl.h | 9 ++
arch/x86/kernel/cpu/resctrl/core.c | 117 +++++----------
arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 75 +++++++---
arch/x86/kernel/cpu/resctrl/internal.h | 61 ++++----
arch/x86/kernel/cpu/resctrl/monitor.c | 232 +++++++++++++++++++-----------
arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 14 +-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 216 +++++++++++++++++++++++-----
include/linux/resctrl.h | 64 ++++++++-
8 files changed, 523 insertions(+), 265 deletions(-)
--
Regards/Gruss,
Boris.
SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)