# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 52xx/cm5200_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_cm5200_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/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] INFO: Uncompressed kernel (size 0x50d138) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 17:24:55 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2576911 Bytes = 2516.51 KiB = 2.46 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_cm5200_defconfig_powerpc-gcc4.6 # Build took: 0:00:55.721068