# git rev-parse -q --verify 393144fdab45bfe2dbcde8fc91164f5c732c3590^{commit} 393144fdab45bfe2dbcde8fc91164f5c732c3590 already have revision, skipping fetch # git checkout -q -f -B kisskb 393144fdab45bfe2dbcde8fc91164f5c732c3590 # git clean -qxdf # < git log -1 # commit 393144fdab45bfe2dbcde8fc91164f5c732c3590 # Author: Christophe Leroy # Date: Wed Feb 13 16:06:21 2019 +0000 # # powerpc/8xx: Map 32Mb of RAM at init. # # At the time being, initial MMU setup allows 24 Mbytes # of DATA and 8 Mbytes of code. # # Some debug setup like CONFIG_KASAN generate huge # kernels with text size over the 8M limit and data over the # 24 Mbytes limit. # # Here is an 8xx kernel compiled with CONFIG_KASAN_INLINE for # one of my boards: # # [root@po16846vm linux-powerpc]# size -x vmlinux # text data bss dec hex filename # 0x111019c 0x41b0d4 0x490de0 26984528 19bc050 vmlinux # # This patch maps up to 32 Mbytes code based on _einittext symbol # and allows 32 Mbytes of memory instead of 24. # # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 393144fdab45bfe2dbcde8fc91164f5c732c3590 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:25, 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; ^~~~~~~~~~~ INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb774bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb66da4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb66da4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5507450 Bytes = 5378.37 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5507196 Bytes = 5378.12 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5508059 Bytes = 5378.96 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5507594 Bytes = 5378.51 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5507391 Bytes = 5378.31 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5507541 Bytes = 5378.46 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:52:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5471746 Bytes = 5343.50 KiB = 5.22 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:53:00 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5507707 Bytes = 5378.62 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.0.0-rc2+ Created: Fri Feb 22 03:53:00 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5506809 Bytes = 5377.74 KiB = 5.25 MiB Load Address: 00c00000 Entry Point: 00c002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:03:50.260092