Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'x86-urgent-2023-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Thomas Gleixner:
"A single fix for x86.

Revert the recent change to the MTRR code which aimed to support
SEV-SNP guests on Hyper-V. It caused a regression on XEN Dom0 kernels.

The underlying issue of MTTR (mis)handling in the x86 code needs some
deeper investigation and is definitely not 6.2 material"

* tag 'x86-urgent-2023-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/mtrr: Revert 90b926e68f50 ("x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case")

+1 -2
+1 -2
arch/x86/mm/pat/memtype.c
··· 387 387 u8 mtrr_type, uniform; 388 388 389 389 mtrr_type = mtrr_type_lookup(start, end, &uniform); 390 - if (mtrr_type != MTRR_TYPE_WRBACK && 391 - mtrr_type != MTRR_TYPE_INVALID) 390 + if (mtrr_type != MTRR_TYPE_WRBACK) 392 391 return _PAGE_CACHE_MODE_UC_MINUS; 393 392 394 393 return _PAGE_CACHE_MODE_WB;