# git rev-parse -q --verify f57141101212633fa30c9f1914df5a2c5d994712^{commit} f57141101212633fa30c9f1914df5a2c5d994712 already have revision, skipping fetch # git checkout -q -f -B kisskb f57141101212633fa30c9f1914df5a2c5d994712 # git clean -qxdf # < git log -1 # commit f57141101212633fa30c9f1914df5a2c5d994712 # Author: Christophe Leroy # Date: Mon Mar 11 08:30:27 2019 +0000 # # powerpc/6xx: fix setup and use of SPRN_SPRG_PGDIR for hash32 # # Not only the 603 but all 6xx need SPRN_SPRG_PGDIR to be initialised at # startup. This patch move it from __setup_cpu_603() to start_here() # and __secondary_start(), close to the initialisation of SPRN_THREAD. # # Previously, virt addr of PGDIR was retrieved from thread struct. # Now that it is the phys addr which is stored in SPRN_SPRG_PGDIR, # hash_page() shall not convert it to phys anymore. # This patch removes the conversion. # # Fixes: 93c4a162b014("powerpc/6xx: Store PGDIR physical address in a SPRG") # Reported-by: Guenter Roeck # Tested-by: Guenter Roeck # Signed-off-by: Christophe Leroy # 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 f57141101212633fa30c9f1914df5a2c5d994712 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_rainier_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 44x/rainier_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_rainier_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register 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/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:337:21: note: 'pdeo' was declared here /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'read' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:498:15: note: 'read' was declared here /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/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/fs/fs_parser.c:413:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat] INFO: Uncompressed kernel (size 0x49763c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.1.0-rc1-gf57141101212 Created: Mon Mar 18 23:07:47 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2333206 Bytes = 2278.52 KiB = 2.23 MiB Load Address: 00500000 Entry Point: 005014e0 Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_rainier_defconfig_powerpc-gcc4.6 # Build took: 0:00:35.283618