Merge tag 'x86-urgent-2022-04-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Thomas Gleixner: "A set of x86 fixes and updates: - Make the prctl() for enabling dynamic XSTATE components correct so it adds the newly requested feature to the permission bitmap instead of overwriting it. Add a selftest which validates that. - Unroll string MMIO for encrypted SEV guests as the hypervisor cannot emulate it. - Handle supervisor states correctly in the FPU/XSTATE code so it takes the feature set of the fpstate buffer into account. The feature sets can differ between host and guest buffers. Guest buffers do not contain supervisor states. So far this was not an issue, but with enabling PASID it needs to be handled in the buffer offset calculation and in the permission bitmaps. - Avoid a gazillion of repeated CPUID invocations in by caching the values early in the FPU/XSTATE code. - Enable CONFIG_WERROR in x86 defconfi...
Showing
- arch/x86/configs/i386_defconfig 35 additions, 15 deletionsarch/x86/configs/i386_defconfig
- arch/x86/configs/x86_64_defconfig 28 additions, 9 deletionsarch/x86/configs/x86_64_defconfig
- arch/x86/kernel/fpu/core.c 0 additions, 3 deletionsarch/x86/kernel/fpu/core.c
- arch/x86/kernel/fpu/xstate.c 66 additions, 150 deletionsarch/x86/kernel/fpu/xstate.c
- arch/x86/lib/iomem.c 57 additions, 8 deletionsarch/x86/lib/iomem.c
- tools/testing/selftests/x86/amx.c 14 additions, 2 deletionstools/testing/selftests/x86/amx.c
Please register or sign in to comment