# git rev-parse -q --verify d9101bfa6adc831bda8836c4d774820553c14942^{commit} d9101bfa6adc831bda8836c4d774820553c14942 already have revision, skipping fetch # git checkout -q -f -B kisskb d9101bfa6adc831bda8836c4d774820553c14942 # git clean -qxdf # < git log -1 # commit d9101bfa6adc831bda8836c4d774820553c14942 # Author: Aneesh Kumar K.V # Date: Wed Sep 18 20:23:28 2019 +0530 # # powerpc/mm/mce: Keep irqs disabled during lockless page table walk # # __find_linux_mm_pte() returns a page table entry pointer after walking # the page table without holding locks. To make it safe against a THP # split and/or collapse, we disable interrupts around the lockless page # table walk. However we need to keep interrupts disabled as long as we # use the page table entry pointer that is returned. # # Fix addr_to_pfn() to do that. # # Fixes: ba41e1e1ccb9 ("powerpc/mce: Hookup derror (load/store) UE errors") # Signed-off-by: Aneesh Kumar K.V # [mpe: Rearrange code slightly and tweak change log wording] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190918145328.28602-1-aneesh.kumar@linux.ibm.com # < /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 d9101bfa6adc831bda8836c4d774820553c14942 # < make -s -j 10 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 10 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/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/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/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/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/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/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/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/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 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc18fa8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892843 Bytes = 5754.73 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892844 Bytes = 5754.73 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894883 Bytes = 5756.72 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892534 Bytes = 5754.43 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894906 Bytes = 5756.74 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894526 Bytes = 5756.37 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892586 Bytes = 5754.48 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5862098 Bytes = 5724.71 KiB = 5.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894312 Bytes = 5756.16 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29770) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:17:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892866 Bytes = 5754.75 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:18:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892530 Bytes = 5754.42 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:18:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892863 Bytes = 5754.75 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:18:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892581 Bytes = 5754.47 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:18:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893033 Bytes = 5754.92 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:18:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892532 Bytes = 5754.43 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:18:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892977 Bytes = 5754.86 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:02.567398