# git rev-parse -q --verify e8c42ba3ffd9708cc2fab3fb57deeb1604202e7e^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify e8c42ba3ffd9708cc2fab3fb57deeb1604202e7e^{commit} e8c42ba3ffd9708cc2fab3fb57deeb1604202e7e # git checkout -q -f -B kisskb e8c42ba3ffd9708cc2fab3fb57deeb1604202e7e # git clean -qxdf # < git log -1 # commit e8c42ba3ffd9708cc2fab3fb57deeb1604202e7e # Author: Christophe Leroy # Date: Mon Aug 19 06:40:25 2019 +0000 # # powerpc/603: Fix handling of the DIRTY flag # # If a page is already mapped RW without the DIRTY flag, the DIRTY # flag is never set and a TLB store miss exception is taken forever. # # This is easily reproduced with the following app: # # void main(void) # { # volatile char *ptr = mmap(0, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); # # *ptr = *ptr; # } # # When DIRTY flag is not set, bail out of TLB miss handler and take # a minor page fault which will set the DIRTY flag. # # Fixes: f8b58c64eaef ("powerpc/603: let's handle PAGE_DIRTY directly") # Cc: stable@vger.kernel.org # v5.1+ # Reported-by: Doug Crawford # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/80432f71194d7ee75b2f5043ecf1501cf1cca1f3.1566196646.git.christophe.leroy@c-s.fr # < /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 e8c42ba3ffd9708cc2fab3fb57deeb1604202e7e # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_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/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1465:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' 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:2591: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:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' 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:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:613:23: warning: 'errno' 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/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2974c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc18f84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5861285 Bytes = 5723.91 KiB = 5.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893472 Bytes = 5755.34 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893535 Bytes = 5755.41 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893494 Bytes = 5755.37 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893142 Bytes = 5755.02 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893321 Bytes = 5755.20 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893221 Bytes = 5755.10 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893380 Bytes = 5755.25 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894843 Bytes = 5756.68 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893491 Bytes = 5755.36 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893709 Bytes = 5755.58 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893126 Bytes = 5755.01 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893129 Bytes = 5755.01 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894834 Bytes = 5756.67 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893125 Bytes = 5755.00 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-ge8c42ba3ffd9 Created: Tue Aug 20 19:39:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893309 Bytes = 5755.18 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:02:04.718685