# 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_ppc44x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /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/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/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/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:647:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1823:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1733:46: warning: 'linear' 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/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5456c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2684338 Bytes = 2621.42 KiB = 2.56 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715870 Bytes = 2652.22 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006000d4 INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715612 Bytes = 2651.96 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715960 Bytes = 2652.30 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e4 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715467 Bytes = 2651.82 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006001c8 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715950 Bytes = 2652.29 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715547 Bytes = 2651.90 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715971 Bytes = 2652.32 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014cc Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715592 Bytes = 2651.95 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014f8 Image Name: Linux-4.20.0-rc4-gef78e5ec9214 Created: Tue Nov 27 15:15:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2715554 Bytes = 2651.91 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014d8 Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc # Build took: 0:00:52.864327