# git rev-parse -q --verify 8251677ee8cdf2e8796f4271a5b443448a232247^{commit} 8251677ee8cdf2e8796f4271a5b443448a232247 already have revision, skipping fetch # git checkout -q -f -B kisskb 8251677ee8cdf2e8796f4271a5b443448a232247 # git clean -qxdf # < git log -1 # commit 8251677ee8cdf2e8796f4271a5b443448a232247 # Author: Christophe Leroy # Date: Wed Aug 21 10:20:11 2019 +0000 # # powerpc/mm: Fix an Oops in kasan_mmu_init() # # Uncompressing Kernel Image ... OK # Loading Device Tree to 01ff7000, end 01fff74f ... OK # [ 0.000000] printk: bootconsole [udbg0] enabled # [ 0.000000] BUG: Unable to handle kernel data access at 0xf818c000 # [ 0.000000] Faulting instruction address: 0xc0013c7c # [ 0.000000] Thread overran stack, or stack corrupted # [ 0.000000] Oops: Kernel access of bad area, sig: 11 [#1] # [ 0.000000] BE PAGE_SIZE=16K PREEMPT # [ 0.000000] Modules linked in: # [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.3.0-rc4-s3k-dev-00743-g5abe4a3e8fd3-dirty #2080 # [ 0.000000] NIP: c0013c7c LR: c0013310 CTR: 00000000 # [ 0.000000] REGS: c0c5ff38 TRAP: 0300 Not tainted (5.3.0-rc4-s3k-dev-00743-g5abe4a3e8fd3-dirty) # [ 0.000000] MSR: 00001032 CR: 99033955 XER: 80002100 # [ 0.000000] DAR: f818c000 DSISR: 82000000 # [ 0.000000] GPR00: c0013310 c0c5fff0 c0ad6ac0 c0c600c0 f818c031 82000000 00000000 ffffffff # [ 0.000000] GPR08: 00000000 f1f1f1f1 c0013c2c c0013304 99033955 00400008 00000000 07ff9598 # [ 0.000000] GPR16: 00000000 07ffb94c 00000000 00000000 00000000 00000000 00000000 f818cfb2 # [ 0.000000] GPR24: 00000000 00000000 00001000 ffffffff 00000000 c07dbf80 00000000 f818c000 # [ 0.000000] NIP [c0013c7c] do_page_fault+0x50/0x904 # [ 0.000000] LR [c0013310] handle_page_fault+0xc/0x38 # [ 0.000000] Call Trace: # [ 0.000000] Instruction dump: # [ 0.000000] be010080 91410014 553fe8fe 3d40c001 3d20f1f1 7d800026 394a3c2c 3fffe000 # [ 0.000000] 6129f1f1 900100c4 9181007c 91410018 <913f0000> 3d2001f4 6129f4f4 913f0004 # # Don't map the early shadow page read-only yet when creating the new # page tables for the real shadow memory, otherwise the memblock # allocations that immediately follows to create the real shadow pages # that are about to replace the early shadow page trigger a page fault # if they fall into the region being worked on at the moment. # # Signed-off-by: Christophe Leroy # Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support") # Cc: stable@vger.kernel.org # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/fe86886fb8db44360417cee0dc515ad47ca6ef72.1566382750.git.christophe.leroy@c-s.fr # < /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 8251677ee8cdf2e8796f4271a5b443448a232247 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x545568) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752475 Bytes = 2687.96 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 0060152c Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2720097 Bytes = 2656.34 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752534 Bytes = 2688.02 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752387 Bytes = 2687.88 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601544 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752354 Bytes = 2687.85 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752318 Bytes = 2687.81 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752322 Bytes = 2687.81 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752420 Bytes = 2687.91 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752500 Bytes = 2687.99 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.3.0-rc2-g8251677ee8cd Created: Fri Sep 20 23:36:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2752389 Bytes = 2687.88 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:51.642572