# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_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/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/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:220:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:635:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_fence': /kisskb/src/drivers/dma-buf/reservation.c:225:6: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] /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 /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1350:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1307:6: note: 'pwr_level_cisco' was declared here /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2043:9: warning: 'str' 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] arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /qe@e0100000/mdio@3120/ethernet-phy@0 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /qe@e0100000/mdio@3120/ethernet-phy@4 INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:11 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4835834 Bytes = 4722.49 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 INFO: Uncompressed kernel (size 0xa1ac90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa2b3b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa1ac90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:25 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4812765 Bytes = 4699.97 kB = 4.59 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4837131 Bytes = 4723.76 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4837625 Bytes = 4724.24 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836728 Bytes = 4723.37 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836944 Bytes = 4723.58 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4837589 Bytes = 4724.21 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836010 Bytes = 4722.67 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 02:31:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4836892 Bytes = 4723.53 kB = 4.61 MB Load Address: 00b00000 Entry Point: 00b00230 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc # Build took: 0:03:12.336091