# git rev-parse -q --verify 95edc4da89c32317b6ce22c90cb4793d3646565d^{commit} 95edc4da89c32317b6ce22c90cb4793d3646565d already have revision, skipping fetch # git checkout -q -f -B kisskb 95edc4da89c32317b6ce22c90cb4793d3646565d # git clean -qxdf # < git log -1 # commit 95edc4da89c32317b6ce22c90cb4793d3646565d # Author: Anshuman Khandual # Date: Thu Mar 29 11:53:37 2018 +0530 # # powerpc/fscr: Enable interrupts earlier before calling get_user() # # The function get_user() can sleep while trying to fetch instruction # from user address space and causes the following warning from the # scheduler. # # BUG: sleeping function called from invalid context # # Though interrupts get enabled back but it happens bit later after # get_user() is called. This change moves enabling these interrupts # earlier covering the function get_user(). While at this, lets check # for kernel mode and crash as this interrupt should not have been # triggered from the kernel context. # # Signed-off-by: Anshuman Khandual # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 95edc4da89c32317b6ce22c90cb4793d3646565d # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.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:220: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/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ 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 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa44ee8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa55640) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa44ee8) 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 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4871580 Bytes = 4757.40 kB = 4.65 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4895055 Bytes = 4780.33 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894598 Bytes = 4779.88 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894800 Bytes = 4780.08 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894082 Bytes = 4779.38 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4893968 Bytes = 4779.27 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894567 Bytes = 4779.85 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4895010 Bytes = 4780.28 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc4+ Created: Tue Apr 10 05:08:46 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894942 Bytes = 4780.22 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 # Build took: 0:01:57.179107