[GIT PULL] x86/urgent for v6.5-rc6

From: Borislav Petkov
Date: Sat Aug 12 2023 - 05:50:33 EST


Hi Linus,

please pull a couple x86 urgent fixes for 6.5. There will be more next
week.

Thx.

---

The following changes since commit 52a93d39b17dc7eb98b6aa3edb93943248e03b2f:

Linux 6.5-rc5 (2023-08-06 15:07:51 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.5_rc6

for you to fetch changes up to 6dbef74aeb090d6bee7d64ef3fa82ae6fa53f271:

x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405 (2023-08-11 22:52:29 +0200)

----------------------------------------------------------------
- Do not parse the confidential computing blob on non-AMD hardware as it
leads to an EFI config table ending up unmapped

- Use the correct segment selector in the 32-bit version of getcpu() in
the vDSO

- Make sure vDSO and VVAR regions are placed in the 47-bit VA range even
on 5-level paging systems

- Add models 0x90-0x91 to the range of AMD Zenbleed-affected CPUs

----------------------------------------------------------------
Borislav Petkov (AMD) (1):
x86/sev: Do not try to parse for the CC blob on non-AMD hardware

Cristian Ciocaltea (1):
x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405

Jinghao Jia (1):
x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h

Kirill A. Shutemov (1):
x86/mm: Fix VDSO and VVAR placement on 5-level paging machines

Xin Li (1):
x86/vdso: Choose the right GDT_ENTRY_CPUNODE for 32-bit getcpu() on 64-bit kernel

arch/x86/boot/compressed/idt_64.c | 9 ++++++++-
arch/x86/boot/compressed/sev.c | 37 +++++++++++++++++++++++++++++++++++--
arch/x86/entry/vdso/vma.c | 4 ++--
arch/x86/include/asm/linkage.h | 2 +-
arch/x86/include/asm/segment.h | 2 +-
arch/x86/kernel/cpu/amd.c | 1 +
6 files changed, 48 insertions(+), 7 deletions(-)

--
Regards/Gruss,
Boris.

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