# git rev-parse -q --verify 6457f42eb3f6e9552366631bd5aeb096ae5f599a^{commit} 6457f42eb3f6e9552366631bd5aeb096ae5f599a already have revision, skipping fetch # git checkout -q -f -B kisskb 6457f42eb3f6e9552366631bd5aeb096ae5f599a # git clean -qxdf # < git log -1 # commit 6457f42eb3f6e9552366631bd5aeb096ae5f599a # Author: Aneesh Kumar K.V # Date: Wed May 15 15:15:23 2019 +0530 # # powerpc/mm: Drop VM_BUG_ON in get_region_id() # # We call get_region_id() without validating the ea value. That means # with a wrong ea value we hit the BUG as below. # # kernel BUG at arch/powerpc/include/asm/book3s/64/hash.h:129! # Oops: Exception in kernel mode, sig: 5 [#1] # LE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries # CPU: 0 PID: 3937 Comm: access_tests Not tainted 5.1.0 # .... # NIP [c00000000007ba20] do_slb_fault+0x70/0x320 # LR [c00000000000896c] data_access_slb_common+0x15c/0x1a0 # # Fix this by removing the VM_BUG_ON. All callers make sure the returned # region id is valid and error out otherwise. # # Fixes: 0034d395f89d ("powerpc/mm/hash64: Map all the kernel regions in the same 0xc range") # Reported-by: Andrew Donnellan # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 6457f42eb3f6e9552366631bd5aeb096ae5f599a # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] :1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] :1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] :1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] :1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] :1403:2: warning: #warning syscall fspick not implemented [-Wcpp] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2589:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1850:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1435:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.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:334.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 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xbd717c) 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 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc69b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5705817 Bytes = 5572.09 KiB = 5.44 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5740084 Bytes = 5605.55 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:38 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737199 Bytes = 5602.73 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5738545 Bytes = 5604.05 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737193 Bytes = 5602.73 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737451 Bytes = 5602.98 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737421 Bytes = 5602.95 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737455 Bytes = 5602.98 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5739158 Bytes = 5604.65 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737469 Bytes = 5603.00 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5738075 Bytes = 5603.59 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737417 Bytes = 5602.95 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737194 Bytes = 5602.73 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737273 Bytes = 5602.81 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737289 Bytes = 5602.82 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-g6457f42eb3f6 Created: Fri May 17 02:49:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5740242 Bytes = 5605.71 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:35.562508