# git rev-parse -q --verify e3a36ba92d97c153c65c3866ec0e83e4e7de7c86^{commit} e3a36ba92d97c153c65c3866ec0e83e4e7de7c86 already have revision, skipping fetch # git checkout -q -f -B kisskb e3a36ba92d97c153c65c3866ec0e83e4e7de7c86 # git clean -qxdf # < git log -1 # commit e3a36ba92d97c153c65c3866ec0e83e4e7de7c86 # Author: Aneesh Kumar K.V # Date: Wed May 30 18:02:25 2018 +0530 # # powerpc/mm: Fix kernel crash on page table free # # Fix the below crash on Book3E 64. pgtable_page_dtor expects struct # page *arg. # # Also call the destructor on non book3s platforms correctly. This frees # up the split PTL locks correctly if we had allocated them before. # # Call Trace: # .kmem_cache_free+0x9c/0x44c (unreliable) # .ptlock_free+0x1c/0x30 # .tlb_remove_table+0xdc/0x224 # .free_pgd_range+0x298/0x500 # .shift_arg_pages+0x10c/0x1e0 # .setup_arg_pages+0x200/0x25c # .load_elf_binary+0x450/0x16c8 # .search_binary_handler.part.11+0x9c/0x248 # .do_execveat_common.isra.13+0x868/0xc18 # .run_init_process+0x34/0x4c # .try_to_run_init_process+0x1c/0x68 # .kernel_init+0xdc/0x130 # .ret_from_kernel_thread+0x58/0x7c # # Fixes: 702346768 ("powerpc/mm/nohash: Remove pte fragment dependency from nohash") # 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 e3a36ba92d97c153c65c3866ec0e83e4e7de7c86 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/rainier.dtb: Warning (pci_bridge): /plb/pci@1ec000000: missing bus-range for PCI bridge arch/powerpc/boot/rainier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/sequoia.dtb: Warning (pci_bridge): /plb/pci@1ec000000: missing bus-range for PCI bridge arch/powerpc/boot/sequoia.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/bamboo.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/bamboo.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/ebony.dtb: Warning (pci_bridge): /plb/pci@20ec00000: missing bus-range for PCI bridge arch/powerpc/boot/ebony.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/taishan.dtb: Warning (pci_bridge): /plb/pci@20ec00000: missing bus-range for PCI bridge arch/powerpc/boot/taishan.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/sam440ep.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/sam440ep.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/yosemite.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/yosemite.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5574fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666942 Bytes = 2604.44 kB = 2.54 MB Load Address: 00600000 Entry Point: 006000a8 Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666963 Bytes = 2604.46 kB = 2.54 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2640377 Bytes = 2578.49 kB = 2.52 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666894 Bytes = 2604.39 kB = 2.54 MB Load Address: 00600000 Entry Point: 006010f8 Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666643 Bytes = 2604.14 kB = 2.54 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666992 Bytes = 2604.48 kB = 2.54 MB Load Address: 00600000 Entry Point: 006010ec Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666920 Bytes = 2604.41 kB = 2.54 MB Load Address: 00600000 Entry Point: 00601110 Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666978 Bytes = 2604.47 kB = 2.54 MB Load Address: 00600000 Entry Point: 006010fc Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666554 Bytes = 2604.06 kB = 2.54 MB Load Address: 00600000 Entry Point: 0060018c Image Name: Linux-4.17.0-rc3-ge3a36ba Created: Thu May 31 05:29:49 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2666933 Bytes = 2604.43 kB = 2.54 MB Load Address: 00600000 Entry Point: 00601104 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 # Build took: 0:00:45.928195