# git rev-parse -q --verify 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f^{commit} 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f already have revision, skipping fetch # git checkout -q -f -B kisskb 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f # git clean -qxdf # < git log -1 # commit 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f # Author: Ram Pai # Date: Tue Mar 27 02:09:28 2018 -0700 # # mm, x86, powerpc: display pkey in smaps only if arch supports pkeys # # Currently the architecture specific code is expected to # display the protection keys in smap for a given vma. # This can lead to redundant code and possibly to divergent # formats in which the key gets displayed. # # This patch changes the implementation. It displays the # pkey only if the architecture support pkeys, i.e # arch_pkeys_enabled() returns true. This patch # provides x86 implementation for arch_pkeys_enabled(). # # x86 arch_show_smap() function is not needed anymore. # Deleting it. # # cc: Michael Ellermen # cc: Benjamin Herrenschmidt # cc: Andrew Morton # Reviewed-by: Dave Hansen # Signed-off-by: Thiago Jung Bauermann # (fixed compilation errors for x86 configs) # Acked-by: Michal Hocko # Reviewed-by: Ingo Molnar # Signed-off-by: Ram Pai # [mpe: Don't remove include of asm/mmu_context.h from pkeys.h, to avoid # build errors on some configs.] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc8272_ads_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc 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:183:16: warning: 'old' 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:1816:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1726:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x5394f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:50:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2676142 Bytes = 2613.42 kB = 2.55 MB Load Address: 00600000 Entry Point: 006007a0 INFO: Uncompressed kernel (size 0x528f18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:50:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2652433 Bytes = 2590.27 kB = 2.53 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc # Build took: 0:00:31.315479