# git rev-parse -q --verify 8cb4a9a82b21623dbb4b3051dd30d98356cf95bc^{commit} 8cb4a9a82b21623dbb4b3051dd30d98356cf95bc already have revision, skipping fetch # git checkout -q -f -B kisskb 8cb4a9a82b21623dbb4b3051dd30d98356cf95bc # git clean -qxdf # < git log -1 # commit 8cb4a9a82b21623dbb4b3051dd30d98356cf95bc # Author: Sean Christopherson # Date: Thu Apr 4 17:16:14 2024 -0700 # # x86/cpufeatures: Add CPUID_LNX_5 to track recently added Linux-defined word # # Add CPUID_LNX_5 to track cpufeatures' word 21, and add the appropriate # compile-time assert in KVM to prevent direct lookups on the features in # CPUID_LNX_5. KVM uses X86_FEATURE_* flags to manage guest CPUID, and so # must translate features that are scattered by Linux from the Linux-defined # bit to the hardware-defined bit, i.e. should never try to directly access # scattered features in guest CPUID. # # Opportunistically add NR_CPUID_WORDS to enum cpuid_leafs, along with a # compile-time assert in KVM's CPUID infrastructure to ensure that future # additions update cpuid_leafs along with NCAPINTS. # # No functional change intended. # # Fixes: 7f274e609f3d ("x86/cpufeatures: Add new word for scattered features") # Cc: Sandipan Das # Signed-off-by: Sean Christopherson # Acked-by: Dave Hansen # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 8cb4a9a82b21623dbb4b3051dd30d98356cf95bc # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus_allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus_allmodconfig_x86_64-gcc8 # Build took: 0:17:07.320983