# git rev-parse -q --verify d02d2129641d6cd22492ddc85e11d112eb0d5a6f^{commit} d02d2129641d6cd22492ddc85e11d112eb0d5a6f already have revision, skipping fetch # git checkout -q -f -B kisskb d02d2129641d6cd22492ddc85e11d112eb0d5a6f # git clean -qxdf # < git log -1 # commit d02d2129641d6cd22492ddc85e11d112eb0d5a6f # Author: Russell Currey # Date: Fri Mar 1 01:49:17 2019 +1100 # # powerpc/64s: Implement KUAP for Radix MMU # # Kernel Userspace Access Prevention utilises a feature of the Radix MMU # which disallows read and write access to userspace addresses. By # utilising this, the kernel is prevented from accessing user data from # outside of trusted paths that perform proper safety checks, such as # copy_{to/from}_user() and friends. # # Userspace access is disabled from early boot and is only enabled when # performing an operation like copy_{to/from}_user(). The register that # controls this (AMR) does not prevent userspace from accessing itself, # so there is no need to save and restore when entering and exiting # userspace. # # This feature has a slight performance impact which I roughly measured # to be 3% slower in the worst case (performing 1GB of 1 byte # read()/write() syscalls), and is gated behind the CONFIG_PPC_KUAP # option for performance-critical builds. # # This feature can be tested by using the lkdtm driver (CONFIG_LKDTM=y) # and performing the following: # # # (echo ACCESS_USERSPACE) > [debugfs]/provoke-crash/DIRECT # # If enabled, this should send SIGSEGV to the thread. # # mpe: Drop the unused paca flags. Zero the UAMOR to be safe. Save the # AMR when we enter the kernel from the kernel and then lock it again. # Restore on the way back to the kernel. This means we handle nesting of # interrupts properly, ie. we are protected inside the page fault # handler caused by a user access. Add paranoid checking of AMR in # switch and syscall return. Add an isync() to prevent_user_access() # # Signed-off-by: Russell Currey # 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 d02d2129641d6cd22492ddc85e11d112eb0d5a6f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_ALTIVEC_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc64_defconfig # Added to kconfig CONFIG_ALTIVEC=n # Added to kconfig CONFIG_PPC_TRANSACTIONAL_MEM=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_ALTIVEC_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_ALTIVEC_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1263:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1659:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1634:6: note: 'oldval' was declared here /kisskb/src/kernel/trace/trace_dynevent.c: In function 'create_dyn_event': /kisskb/src/kernel/trace/trace_dynevent.c:89:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1434:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.28': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' 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:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594: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:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /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/arch/powerpc/kernel/exceptions-64s.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:183: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:183: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:183: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:183: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:313: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:313: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:313: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:313: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:367: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:367: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:367: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:367: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:618: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:618: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:618: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:618: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:657: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:657: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:657: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:657: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:681: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:681: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:681: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:681: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:707: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:707: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:707: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:707: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:749: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:749: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:749: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:749: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:776: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:776: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:776: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:776: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:814: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:814: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:814: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:814: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:826: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:826: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:826: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:826: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:858: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:858: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:858: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:858: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:864: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:864: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:864: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:864: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:871: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:871: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:871: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:871: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:880: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:880: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:880: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:880: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1046: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1046: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1046: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1046: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1056: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1056: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1056: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1056: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1076: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1076: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1076: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1076: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1082: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1082: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1082: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1082: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1102: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1102: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1102: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1102: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1147: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1147: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1147: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1147: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1154: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1154: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1154: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1154: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1163: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1163: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1163: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1163: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1175: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1175: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1175: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1175: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1182: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1182: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1182: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1182: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1219: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1219: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1219: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1219: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1254: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1254: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1254: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1254: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1260: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1260: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1260: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1260: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1279: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1279: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1279: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1279: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1289: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1289: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1289: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1289: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1385: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1385: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1385: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1385: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1392: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1392: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1392: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1392: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1405: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1405: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1405: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1405: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1413: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1413: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1413: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1413: Error: junk at end of line: `UL)@highest' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1443: Error: missing ')' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1443: Error: operand out of range (0xc000000000000000 is not between 0xffffffffffff8000 and 0x0000000000007fff) /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1443: Error: syntax error; found `U', expected `,' /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1443: Error: junk at end of line: `UL)@highest' make[3]: *** [/kisskb/src/scripts/Makefile.build:367: arch/powerpc/kernel/head_64.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:492: arch/powerpc/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1042: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1843:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1753:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /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 make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig+NO_ALTIVEC_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc64_defconfig+NO_ALTIVEC_powerpc-gcc4.6 # Build took: 0:02:34.961775