# git rev-parse -q --verify 416b2bfbaccf8fd50c8e77778bd47f95f12f13d9^{commit} 416b2bfbaccf8fd50c8e77778bd47f95f12f13d9 already have revision, skipping fetch # git checkout -q -f -B kisskb 416b2bfbaccf8fd50c8e77778bd47f95f12f13d9 # git clean -qxdf # < git log -1 # commit 416b2bfbaccf8fd50c8e77778bd47f95f12f13d9 # Author: Ram Pai # Date: Mon Dec 3 12:43:22 2018 -0800 # # powerpc/pkeys: Copy pkey-tracking-information at fork() # # At fork(), the pkey tracking information is not copied over to the # mm_struct of the child. This can cause the child to erroneously # allocate keys that were already allocated. Any allocated execute-only # key is lost as well. # # Add code; called by dup_mmap(), to copy the pkey state from parent to # child explicitly. # # This problem was originally found by Dave Hansen on x86, which turns # out to be a problem on powerpc as well. # # Fixes: cf43d3b26452 ("powerpc: Enable pkey subsystem") # Cc: stable@vger.kernel.org # v4.16+ # Signed-off-by: Ram Pai # Reviewed-by: Thiago Jung Bauermann # [mpe: Return early if pkey_disabled is true] # Signed-off-by: Michael Ellerman # < /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 416b2bfbaccf8fd50c8e77778bd47f95f12f13d9 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xabd870) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaad158) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaad158) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5169739 Bytes = 5048.57 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5168836 Bytes = 5047.69 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5169071 Bytes = 5047.92 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5138351 Bytes = 5017.92 KiB = 4.90 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5168745 Bytes = 5047.60 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5169597 Bytes = 5048.43 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5169431 Bytes = 5048.27 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5168866 Bytes = 5047.72 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-4.20.0-rc2+ Created: Fri Dec 21 03:57:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5168935 Bytes = 5047.79 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:03:22.629911