# 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/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 f57141101212633fa30c9f1914df5a2c5d994712 # < make -s -j 80 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- defconfig # make -s -j 80 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:40: LSE atomics not supported by binutils /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_read_stream_request.constprop': /kisskb/src/net/sunrpc/xprtsock.c:529:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret < 0 ? ret : read; ^ /kisskb/src/net/sunrpc/xprtsock.c:525:10: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] return read; ^ In file included from /kisskb/src/include/linux/rwsem.h:16:0, from /kisskb/src/include/linux/notifier.h:15, from /kisskb/src/include/linux/clk.h:17, from /kisskb/src/drivers/tty/serial/sh-sci.c:24: /kisskb/src/drivers/tty/serial/sh-sci.c: In function 'sci_dma_rx_submit': /kisskb/src/include/linux/spinlock.h:279:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/tty/serial/sh-sci.c:1363:16: note: 'flags' was declared here unsigned long flags; ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 # Build took: 0:04:06.056058