# 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 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_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 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb65724) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb54f6c) 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:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5586373 Bytes = 5455.44 kB = 5.33 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610549 Bytes = 5479.05 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610038 Bytes = 5478.55 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609961 Bytes = 5478.48 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610912 Bytes = 5479.41 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610126 Bytes = 5478.64 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5612056 Bytes = 5480.52 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610610 Bytes = 5479.11 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609988 Bytes = 5478.50 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5612504 Bytes = 5480.96 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610706 Bytes = 5479.21 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5609990 Bytes = 5478.51 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610624 Bytes = 5479.12 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5610550 Bytes = 5479.05 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5612007 Bytes = 5480.48 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc1-g941c06d Created: Wed Jun 27 00:23:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5611829 Bytes = 5480.30 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:48.880593