[GIT PULL] x86/cache for v5.12

From: Borislav Petkov
Date: Mon Feb 15 2021 - 07:00:17 EST


Hi Linus,

please pull a couple of resctrl fixes for v5.12.

Thx.

---

The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837:

Linux 5.11-rc3 (2021-01-10 14:34:50 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 6d3b47ddffed70006cf4ba360eef61e9ce097d8f:

x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid} (2021-01-11 11:43:23 +0100)

----------------------------------------------------------------
Avoid IPI-ing a task in certain cases and prevent load/store tearing
when accessing a task's resctrl fields concurrently.

----------------------------------------------------------------
Reinette Chatre (1):
x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI

Tom Rix (1):
x86/resctrl: Add printf attribute to log function

Valentin Schneider (1):
x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}

arch/x86/include/asm/resctrl.h | 11 +++++++----
arch/x86/kernel/cpu/resctrl/internal.h | 1 +
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 24 ++++++++++--------------
3 files changed, 18 insertions(+), 18 deletions(-)



--
Regards/Gruss,
Boris.

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