# git rev-parse -q --verify ef78e5ec9214376c5cb989f5da70b02d0c117b66^{commit} ef78e5ec9214376c5cb989f5da70b02d0c117b66 already have revision, skipping fetch # git checkout -q -f -B kisskb ef78e5ec9214376c5cb989f5da70b02d0c117b66 # git clean -qxdf # < git log -1 # commit ef78e5ec9214376c5cb989f5da70b02d0c117b66 # Author: Matias Bjørling # Date: Mon Nov 26 11:27:03 2018 -0800 # # ia64: export node_distance function # # The numa_slit variable used by node_distance is available to a # module as long as it is linked at compile-time. However, it is # not available to loadable modules. Leading to errors such as: # # ERROR: "numa_slit" [drivers/nvme/host/nvme-core.ko] undefined! # # The error above is caused by the nvme multipath code that makes # use of node_distance for its path calculation. When the patch was # added, the lightnvm subsystem would select nvme and always compile # it in, leading to the node_distance call to always succeed. # However, when this requirement was removed, nvme could be compiled # in as a module, which exposed this bug. # # This patch extracts node_distance to a function and exports it. # Since ACPI is depending on node_distance being a simple lookup to # numa_slit, the previous behavior is exposed as slit_distance and its # users updated. # # Fixes: f333444708f82 "nvme: take node locality into account when selecting a path" # Fixes: 73569e11032f "lightnvm: remove dependencies on BLK_DEV_NVME and PCI" # Signed-off-by: Matias Bjøring # Signed-off-by: Tony Luck # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 ef78e5ec9214376c5cb989f5da70b02d0c117b66 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' 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:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1433:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594: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:1855: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:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' 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/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:341:21: note: 'pdeo' was declared here /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/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here arch/powerpc/boot/dts/fsl/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8555cds.dtb: 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 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb8b1ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631994 Bytes = 5499.99 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5632516 Bytes = 5500.50 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5632255 Bytes = 5500.25 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631914 Bytes = 5499.92 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5632483 Bytes = 5500.47 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631916 Bytes = 5499.92 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5632418 Bytes = 5500.41 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631993 Bytes = 5499.99 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631966 Bytes = 5499.97 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002f4 INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9b934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5601844 Bytes = 5470.55 KiB = 5.34 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631911 Bytes = 5499.91 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631909 Bytes = 5499.91 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631793 Bytes = 5499.80 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631907 Bytes = 5499.91 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631684 Bytes = 5499.69 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002f4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:14:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631654 Bytes = 5499.66 KiB = 5.37 MiB Load Address: 00c00000 Entry Point: 00c002b4 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc # Build took: 0:01:57.561084