# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 0fa6831811f62cfc10415d731bcf9fde2647ad81 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_gamecube_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- gamecube_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_gamecube_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_gamecube_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_gamecube_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_gamecube_defconfig_powerpc-gcc5 # Build took: 0:01:12.108215