# git rev-parse -q --verify 941c06d58503b9f2718b20bc45ee7f1d701a1e1e^{commit} 941c06d58503b9f2718b20bc45ee7f1d701a1e1e already have revision, skipping fetch # git checkout -q -f -B kisskb 941c06d58503b9f2718b20bc45ee7f1d701a1e1e # git clean -qxdf # < git log -1 # commit 941c06d58503b9f2718b20bc45ee7f1d701a1e1e # Author: Aneesh Kumar K.V # Date: Mon Jun 25 13:45:09 2018 +0530 # # powerpc/mm/32: Fix pgtable_page_dtor call # # Commit 667416f38554 ("powerpc/mm: Fix kernel crash on page table free") # added a call for pgtable_page_dtor in the rcu page table free routine. We missed # the fact that for 32 bit platforms we did call the 'dtor' early. Drop the extra # call for pgtable_page_dtor. We remove the call from __pte_free_tlb so that we # do the page table free and 'dtor' call together. This should help when we # switch these platforms to pte fragments. # # Fixes: 667416f38554 ("powerpc/mm: Fix kernel crash on page table free") # Reported-by: Christophe Leroy # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 941c06d58503b9f2718b20bc45ee7f1d701a1e1e # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. In file included from /kisskb/src/include/linux/kernel.h:10: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:77: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)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8555cds.dtb: 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 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf56e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe4f2c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5872711 Bytes = 5735.07 kB = 5.60 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894509 Bytes = 5756.36 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894545 Bytes = 5756.39 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894528 Bytes = 5756.38 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895584 Bytes = 5757.41 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895592 Bytes = 5757.41 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895583 Bytes = 5757.41 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5896000 Bytes = 5757.81 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894142 Bytes = 5756.00 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895606 Bytes = 5757.43 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894431 Bytes = 5756.28 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895605 Bytes = 5757.43 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894798 Bytes = 5756.64 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894147 Bytes = 5756.00 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895904 Bytes = 5757.72 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:32:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894187 Bytes = 5756.04 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:01:47.649223