# git rev-parse -q --verify 210453542946c37317478591cc9ca4a53c062aeb^{commit} 210453542946c37317478591cc9ca4a53c062aeb already have revision, skipping fetch # git checkout -q -f -B kisskb 210453542946c37317478591cc9ca4a53c062aeb # git clean -qxdf # < git log -1 # commit 210453542946c37317478591cc9ca4a53c062aeb # Author: Alexey Kardashevskiy # Date: Fri Jun 1 18:06:16 2018 +1000 # # powerpc/powernv/ioda2: Reduce upper limit for DMA window size # # We use PHB in mode1 which uses bit 59 to select a correct DMA window. # However there is mode2 which uses bits 59:55 and allows up to 32 DMA # windows per a PE. # # Even though documentation does not clearly specify that, it seems that # the actual hardware does not support bits 59:55 even in mode1, in other # words we can create a window as big as 1<<58 but DMA simply won't work. # # This reduces the upper limit from 59 to 55 bits to let the userspace know # about the hardware limits. # # Fixes: 7aafac11e3 "powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested" # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < git log --format=%s --max-count=1 210453542946c37317478591cc9ca4a53c062aeb # < make -s -j 120 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/kernel/signal.c: In function 'handle_signal': /kisskb/src/arch/mips/kernel/signal.c:804:22: error: passing argument 1 of 'rseq_signal_deliver' from incompatible pointer type [-Werror=incompatible-pointer-types] rseq_signal_deliver(regs); ^ In file included from /kisskb/src/include/linux/context_tracking.h:5:0, from /kisskb/src/arch/mips/kernel/signal.c:12: /kisskb/src/include/linux/sched.h:1811:20: note: expected 'struct ksignal *' but argument is of type 'struct pt_regs *' static inline void rseq_signal_deliver(struct ksignal *ksig, ^ /kisskb/src/arch/mips/kernel/signal.c:804:2: error: too few arguments to function 'rseq_signal_deliver' rseq_signal_deliver(regs); ^ In file included from /kisskb/src/include/linux/context_tracking.h:5:0, from /kisskb/src/arch/mips/kernel/signal.c:12: /kisskb/src/include/linux/sched.h:1811:20: note: declared here static inline void rseq_signal_deliver(struct ksignal *ksig, ^ /kisskb/src/arch/mips/kernel/signal.c: In function 'do_notify_resume': /kisskb/src/arch/mips/kernel/signal.c:873:29: error: passing argument 1 of 'rseq_handle_notify_resume' from incompatible pointer type [-Werror=incompatible-pointer-types] rseq_handle_notify_resume(regs); ^ In file included from /kisskb/src/include/linux/context_tracking.h:5:0, from /kisskb/src/arch/mips/kernel/signal.c:12: /kisskb/src/include/linux/sched.h:1804:20: note: expected 'struct ksignal *' but argument is of type 'struct pt_regs *' static inline void rseq_handle_notify_resume(struct ksignal *ksig, ^ /kisskb/src/arch/mips/kernel/signal.c:873:3: error: too few arguments to function 'rseq_handle_notify_resume' rseq_handle_notify_resume(regs); ^ In file included from /kisskb/src/include/linux/context_tracking.h:5:0, from /kisskb/src/arch/mips/kernel/signal.c:12: /kisskb/src/include/linux/sched.h:1804:20: note: declared here static inline void rseq_handle_notify_resume(struct ksignal *ksig, ^ cc1: all warnings being treated as errors /kisskb/src/scripts/Makefile.build:317: recipe for target 'arch/mips/kernel/signal.o' failed make[3]: *** [arch/mips/kernel/signal.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/scripts/Makefile.build:558: recipe for target 'arch/mips/kernel' failed make[2]: *** [arch/mips/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1034: recipe for target 'arch/mips' failed make[1]: *** [arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 120 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel # Build took: 0:00:28.849332