# git rev-parse -q --verify 408323581b722c9bd504dd296920f392049a7f52^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 408323581b722c9bd504dd296920f392049a7f52^{commit} 408323581b722c9bd504dd296920f392049a7f52 # git checkout -q -f -B kisskb 408323581b722c9bd504dd296920f392049a7f52 # git clean -qxdf # < git log -1 # commit 408323581b722c9bd504dd296920f392049a7f52 # Merge: b84b3381907a 5fa96c7ab3dc # Author: Linus Torvalds # Date: Tue Jul 16 11:12:25 2024 -0700 # # Merge tag 'x86_sev_for_v6.11_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull x86 SEV updates from Borislav Petkov: # # - Add support for running the kernel in a SEV-SNP guest, over a Secure # VM Service Module (SVSM). # # When running over a SVSM, different services can run at different # protection levels, apart from the guest OS but still within the # secure SNP environment. They can provide services to the guest, like # a vTPM, for example. # # This series adds the required facilities to interface with such a # SVSM module. # # - The usual fixlets, refactoring and cleanups # # [ And as always: "SEV" is AMD's "Secure Encrypted Virtualization". # # I can't be the only one who gets all the newer x86 TLA's confused, # can I? # - Linus ] # # * tag 'x86_sev_for_v6.11_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: # Documentation/ABI/configfs-tsm: Fix an unexpected indentation silly # x86/sev: Do RMP memory coverage check after max_pfn has been set # x86/sev: Move SEV compilation units # virt: sev-guest: Mark driver struct with __refdata to prevent section mismatch # x86/sev: Allow non-VMPL0 execution when an SVSM is present # x86/sev: Extend the config-fs attestation support for an SVSM # x86/sev: Take advantage of configfs visibility support in TSM # fs/configfs: Add a callback to determine attribute visibility # sev-guest: configfs-tsm: Allow the privlevel_floor attribute to be updated # virt: sev-guest: Choose the VMPCK key based on executing VMPL # x86/sev: Provide guest VMPL level to userspace # x86/sev: Provide SVSM discovery support # x86/sev: Use the SVSM to create a vCPU when not in VMPL0 # x86/sev: Perform PVALIDATE using the SVSM when not at VMPL0 # x86/sev: Use kernel provided SVSM Calling Areas # x86/sev: Check for the presence of an SVSM in the SNP secrets page # x86/irqflags: Provide native versions of the local_irq_save()/restore() # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 408323581b722c9bd504dd296920f392049a7f52 # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/arch/sparc/vdso/vclock_gettime.c:254:1: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes] __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) ^ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:282:1: warning: no previous prototype for '__vdso_clock_gettime_stick' [-Wmissing-prototypes] __vdso_clock_gettime_stick(clockid_t clock, struct __kernel_old_timespec *ts) ^ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:307:1: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes] __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) ^ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:343:1: warning: no previous prototype for '__vdso_gettimeofday_stick' [-Wmissing-prototypes] __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' In file included from /kisskb/src/arch/sparc/vdso/vdso32/vclock_gettime.c:22:0: /kisskb/src/arch/sparc/vdso/vdso32/../vclock_gettime.c:254:1: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes] __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) ^ /kisskb/src/arch/sparc/vdso/vdso32/../vclock_gettime.c:282:1: warning: no previous prototype for '__vdso_clock_gettime_stick' [-Wmissing-prototypes] __vdso_clock_gettime_stick(clockid_t clock, struct __kernel_old_timespec *ts) ^ /kisskb/src/arch/sparc/vdso/vdso32/../vclock_gettime.c:307:1: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes] __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) ^ /kisskb/src/arch/sparc/vdso/vdso32/../vclock_gettime.c:343:1: warning: no previous prototype for '__vdso_gettimeofday_stick' [-Wmissing-prototypes] __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/arch/sparc/prom/misc_64.c:165:5: warning: no previous prototype for 'prom_get_mmu_ihandle' [-Wmissing-prototypes] int prom_get_mmu_ihandle(void) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/arch/sparc/prom/p1275.c:52:6: warning: no previous prototype for 'prom_cif_init' [-Wmissing-prototypes] void prom_cif_init(void *cif_handler, void *cif_stack) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in ? Completed OK # rm -rf /kisskb/build/linus_defconfig_sparc64-gcc5 # Build took: 0:01:10.603390