# git rev-parse -q --verify 0fa6831811f62cfc10415d731bcf9fde2647ad81^{commit} 0fa6831811f62cfc10415d731bcf9fde2647ad81 already have revision, skipping fetch # git checkout -q -f -B kisskb 0fa6831811f62cfc10415d731bcf9fde2647ad81 # git clean -qxdf # < git log -1 # commit 0fa6831811f62cfc10415d731bcf9fde2647ad81 # Author: Nicholas Piggin # Date: Tue Oct 4 15:11:57 2022 +1000 # # powerpc/64: Fix msr_check_and_set/clear MSR[EE] race # # irq soft-masking means that when Linux irqs are disabled, the MSR[EE] # value can change from 1 to 0 asynchronously: if a masked interrupt of # the PACA_IRQ_MUST_HARD_MASK variety fires while irqs are disabled, # the masked handler will return with MSR[EE]=0. # # This means a sequence like mtmsr(mfmsr() | MSR_FP) is racy if it can # be called with local irqs disabled, unless a hard_irq_disable has been # done. # # Reported-by: Sachin Sant # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20221004051157.308999-2-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 0fa6831811f62cfc10415d731bcf9fde2647ad81 # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 120 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 120 ARCH=sparc64 O=/kisskb/build/powerpc-next_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-next_sparc64-defconfig_sparc64-gcc11 # Build took: 0:01:06.296430