# 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_mpc85xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_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/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1439:5: warning: 'page' 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:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:56: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:54: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb53364) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb42c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5482699 Bytes = 5354.20 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5482722 Bytes = 5354.22 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5482772 Bytes = 5354.27 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5483335 Bytes = 5354.82 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5481787 Bytes = 5353.31 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5481852 Bytes = 5353.37 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5458197 Bytes = 5330.27 kB = 5.21 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5482703 Bytes = 5354.20 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5481901 Bytes = 5353.42 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5482750 Bytes = 5354.25 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5483326 Bytes = 5354.81 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5483166 Bytes = 5354.65 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5483396 Bytes = 5354.88 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5481903 Bytes = 5353.42 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5481853 Bytes = 5353.37 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc4-g3909c5f Created: Tue Apr 10 02:24:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5483929 Bytes = 5355.40 kB = 5.23 MB Load Address: 00c00000 Entry Point: 00c00248 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc # Build took: 0:01:03.027205