# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 ef78e5ec9214376c5cb989f5da70b02d0c117b66 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_PPC_SPLPAR=n # yes \n | make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: modpost: Found 3 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Completed OK # rm -rf /kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 # Build took: 0:03:00.689562