# 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/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 d9101bfa6adc831bda8836c4d774820553c14942 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /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 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xcbbbbc) 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 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbbbc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcab388) 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 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283485 Bytes = 6136.22 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283855 Bytes = 6136.58 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283490 Bytes = 6136.22 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284258 Bytes = 6136.97 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283167 Bytes = 6135.91 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283387 Bytes = 6136.12 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6253235 Bytes = 6106.67 KiB = 5.96 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283242 Bytes = 6135.98 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283238 Bytes = 6135.97 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283244 Bytes = 6135.98 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284336 Bytes = 6137.05 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283860 Bytes = 6136.58 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283374 Bytes = 6136.11 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283404 Bytes = 6136.14 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283663 Bytes = 6136.39 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd9101bfa6adc Created: Fri Sep 20 18:17:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283240 Bytes = 6135.98 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:21.692055