Buildresult: chleroy/mpc8272_ads_defconfig/powerpc-gcc5 built on Mar 6 2019, 12:20
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 6 2019, 12:20
Duration:
0:01:09.324044
Builder:
ka1
Revision:
powerpc/book3s32: Implement Kernel Userspace Access Protection (
cc0bb290a0dabcdbc422fd4721e000ea115a5beb)
Target:
chleroy/mpc8272_ads_defconfig/powerpc-gcc5
Branch:
chleroy
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
mpc8272_ads_defconfig
(
download
)
Log:
Download original
Possible warnings (2)
arch/powerpc/kernel/head_32.S:995: Warning: invalid register expression kernel/futex.c:1662:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized]
Full Log
# git rev-parse -q --verify cc0bb290a0dabcdbc422fd4721e000ea115a5beb^{commit} cc0bb290a0dabcdbc422fd4721e000ea115a5beb already have revision, skipping fetch # git checkout -q -f -B kisskb cc0bb290a0dabcdbc422fd4721e000ea115a5beb # git clean -qxdf # < git log -1 # commit cc0bb290a0dabcdbc422fd4721e000ea115a5beb # Author: Christophe Leroy <christophe.leroy@c-s.fr> # Date: Sun Nov 25 11:48:22 2018 +0000 # # powerpc/book3s32: Implement Kernel Userspace Access Protection # # This patch implements Kernel Userspace Access Protection for # book3s/32. # # Due to limitations of the processor page protection capabilities, # the protection is only against writing. read protection cannot be # achieved using page protection. # # The previous patch modifies the page protection so that RW user # pages are RW for Key 0 and RO for Key 1, and it sets Key 0 for # both user and kernel. # # This patch changes userspace segment registers are set to Ku 0 # and Ks 1. When kernel needs to write to RW pages, the associated # segment register is then changed to Ks 0 in order to allow write # access to the kernel. # # In order to avoid having the read all segment registers when # locking/unlocking the access, some data is kept in the thread_struct # and saved on stack on exceptions. The field identifies both the # first unlocked segment and the first segment following the last # unlocked one. When no segment is unlocked, it contains value 0. # # Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 cc0bb290a0dabcdbc422fd4721e000ea115a5beb # < make -s -j 8 ARCH=powerpc O=/kisskb/build/chleroy_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc8272_ads_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/chleroy_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:995: Warning: invalid register expression /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1662:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1637:6: note: 'oldval' was declared here int oldval, ret; ^ INFO: Uncompressed kernel (size 0x56f460) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55ee1c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-gcc0bb290a0da Created: Wed Mar 6 12:21:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2795492 Bytes = 2729.97 KiB = 2.67 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-gcc0bb290a0da Created: Wed Mar 6 12:21:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2825721 Bytes = 2759.49 KiB = 2.69 MiB Load Address: 00600000 Entry Point: 00600894 Completed OK # rm -rf /kisskb/build/chleroy_mpc8272_ads_defconfig_powerpc-gcc5 # Build took: 0:01:09.324044
© Michael Ellerman 2006-2018.