# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 f74fc58f295a45c29b565a898d869034099ca9a1 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1465:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:613:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29698) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc18ed0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5860996 Bytes = 5723.63 KiB = 5.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893570 Bytes = 5755.44 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892118 Bytes = 5754.02 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892712 Bytes = 5754.60 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892311 Bytes = 5754.21 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892405 Bytes = 5754.30 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892116 Bytes = 5754.02 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892311 Bytes = 5754.21 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892128 Bytes = 5754.03 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893680 Bytes = 5755.55 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892336 Bytes = 5754.23 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892131 Bytes = 5754.03 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892115 Bytes = 5754.02 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5892311 Bytes = 5754.21 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893196 Bytes = 5755.07 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc2-gf74fc58f295a Created: Fri Aug 16 00:19:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893593 Bytes = 5755.46 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:43.668771