The patch titled Subject: net: thunderx: add 64-bit dependency has been added to the -mm tree. Its filename is net-thunderx-add-64-bit-dependency.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/net-thunderx-add-64-bit-dependency.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/net-thunderx-add-64-bit-dependency.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Arnd Bergmann <arnd@xxxxxxxx> Subject: net: thunderx: add 64-bit dependency The thunderx ethernet driver fails to build on architectures that do not have an atomic readq() and writeq() function for 64-bit PCI bus access: drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function 'bgx_reg_read': include/asm-generic/io.h:195:23: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration] It seems impossible to get this driver to work on most 32-bit hardware, so it's better to add an explicit dependency, in order to let us keep building 'allmodconfig' kernels on all architectures. As the driver is meant for the internal hardware on an arm64 SoC, this is not a problem for usability. Allowing the build on all 64-bit architectures rather than just CONFIG_ARM64 on the other hand means that we get the benefit of build testing on x86. Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/ethernet/cavium/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/net/ethernet/cavium/Kconfig~net-thunderx-add-64-bit-dependency drivers/net/ethernet/cavium/Kconfig --- a/drivers/net/ethernet/cavium/Kconfig~net-thunderx-add-64-bit-dependency +++ a/drivers/net/ethernet/cavium/Kconfig @@ -4,7 +4,7 @@ config NET_VENDOR_CAVIUM tristate "Cavium ethernet drivers" - depends on PCI + depends on PCI && 64BIT ---help--- Enable support for the Cavium ThunderX Network Interface Controller (NIC). The NIC provides the controller and DMA _ Patches currently in -mm which might be from arnd@xxxxxxxx are ocfs2-use-64bit-variables-to-track-heartbeat-time.patch scsi-resolve-sg-buffer-const-ness-issue.patch scsi-resolve-sg-buffer-const-ness-issue-fix.patch linux-next.patch net-thunderx-add-64-bit-dependency.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html