[GIT PULL] x86/mtrr for v6.9-rc1

From: Borislav Petkov
Date: Mon Mar 11 2024 - 05:00:33 EST


Hi Linus,

please pull a single improvement of PAT MSR programming for v6.9-rc1.

Thx.

---

The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:

Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mtrr_for_v6.9_rc1

for you to fetch changes up to ffc92cf3db62443c626469ef160f9276f296f6c6:

x86/pat: Simplify the PAT programming protocol (2024-02-20 14:40:51 +0100)

----------------------------------------------------------------
- Relax the PAT MSR programming which was unnecessarily using the MTRR
programming protocol of disabling the cache around the changes. The
reason behind this is the current algorithm triggering a #VE
exception for TDX guests and unnecessarily complicating things

----------------------------------------------------------------
Kirill A. Shutemov (1):
x86/pat: Simplify the PAT programming protocol

arch/x86/kernel/cpu/cacheinfo.c | 7 ++++---
arch/x86/mm/pat/memtype.c | 9 +++------
2 files changed, 7 insertions(+), 9 deletions(-)


--
Regards/Gruss,
Boris.

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