# git rev-parse -q --verify e13e7cd4c0c1cc9984d9b6a8663e10d76b53f2aa^{commit} e13e7cd4c0c1cc9984d9b6a8663e10d76b53f2aa already have revision, skipping fetch # git checkout -q -f -B kisskb e13e7cd4c0c1cc9984d9b6a8663e10d76b53f2aa # git clean -qxdf # < git log -1 # commit e13e7cd4c0c1cc9984d9b6a8663e10d76b53f2aa # Author: Nicholas Piggin # Date: Sat Jun 22 08:55:54 2019 +1000 # # powerpc/64s/exception: Fix machine check early corrupting AMR # # The early machine check runs in real mode, so locking is unnecessary. # Worse, the windup does not restore AMR, so this can result in a false # KUAP fault after a recoverable machine check hits inside a user copy # operation. # # Fix this similarly to HMI by just avoiding the kuap lock in the # early machine check handler (it will be set by the late handler that # runs in virtual mode if that runs). If the virtual mode handler is # reached, it will lock and restore the AMR. # # Fixes: 890274c2dc4c0 ("powerpc/64s: Implement KUAP for Radix MMU") # Cc: Russell Currey # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 e13e7cd4c0c1cc9984d9b6a8663e10d76b53f2aa # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc6xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2589:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1850:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2077:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.28': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1578:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1535:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1851:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1764:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xad96f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac9014) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac9014) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5183544 Bytes = 5062.05 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5183900 Bytes = 5062.40 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5153578 Bytes = 5032.79 KiB = 4.91 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5184903 Bytes = 5063.38 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00888 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5184161 Bytes = 5062.66 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5183520 Bytes = 5062.03 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5184254 Bytes = 5062.75 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5183676 Bytes = 5062.18 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.2.0-rc2+ Created: Tue Jun 25 23:43:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5184435 Bytes = 5062.92 KiB = 4.94 MiB Load Address: 00b00000 Entry Point: 00b00888 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:47.177393