# git rev-parse -q --verify f74fc58f295a45c29b565a898d869034099ca9a1^{commit} f74fc58f295a45c29b565a898d869034099ca9a1 already have revision, skipping fetch # git checkout -q -f -B kisskb f74fc58f295a45c29b565a898d869034099ca9a1 # git clean -qxdf # < git log -1 # commit f74fc58f295a45c29b565a898d869034099ca9a1 # Author: Alexey Kardashevskiy # Date: Thu Jul 18 15:11:39 2019 +1000 # # powerpc/powernv/ioda2: Create bigger default window with 64k IOMMU pages # # At the moment we create a small window only for 32bit devices, the window # maps 0..2GB of the PCI space only. For other devices we either use # a sketchy bypass or hardware bypass but the former can only work if # the amount of RAM is no bigger than the device's DMA mask and the latter # requires devices to support at least 59bit DMA. # # This extends the default DMA window to the maximum size possible to allow # a wider DMA mask than just 32bit. The default window size is now limited # by the the iommu_table::it_map allocation bitmap which is a contiguous # array, 1 bit per an IOMMU page. # # This increases the default IOMMU page size from hard coded 4K to # the system page size to allow wider DMA masks. # # This increases the level number to not exceed the max order allocation # limit per TCE level. By the same time, this keeps minimal levels number # as 2 in order to save memory. # # As the extended window now overlaps the 32bit MMIO region, this adds # an area reservation to iommu_init_table(). # # After this change the default window size is 0x80000000000==1<<43 so # devices limited to DMA mask smaller than the amount of system RAM can # still use more than just 2GB of memory for DMA. # # This is an optimization and not a bug fix for DMA API usage. # # With the on-demand allocation of indirect TCE table levels enabled and # 2 levels, the first TCE level size is just # 1< # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190718051139.74787-5-aik@ozlabs.ru # < /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 f74fc58f295a45c29b565a898d869034099ca9a1 # < make -s -j 24 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 24 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- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ~~~~~~~^~~~~~~~~ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^~~~~~ /kisskb/src/drivers/crypto/talitos.c: In function 'talitos_remove': /kisskb/src/drivers/crypto/talitos.c:3142:4: warning: this statement may fall through [-Wimplicit-fallthrough=] crypto_unregister_aead(&t_alg->algt.alg.aead); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/talitos.c:3143:3: note: here case CRYPTO_ALG_TYPE_AHASH: ^~~~ In file included from /kisskb/src/sound/ppc/pmac.h:12, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208: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:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^~~~~~~~~~~ INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb35500) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45c18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb35500) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:27 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385551 Bytes = 5259.33 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:27 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385279 Bytes = 5259.06 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:27 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386161 Bytes = 5259.92 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386402 Bytes = 5260.16 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5350149 Bytes = 5224.75 KiB = 5.10 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386020 Bytes = 5259.79 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386629 Bytes = 5260.38 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386210 Bytes = 5259.97 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.3.0-rc2+ Created: Fri Aug 16 01:51:28 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385035 Bytes = 5258.82 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:05:37.577917