]> www.infradead.org Git - users/dwmw2/linux.git/commit
misc: Kconfig: exclude mrvl-cn10k-dpi compilation for 32-bit systems
authorVamsi Attunuru <vattunuru@marvell.com>
Wed, 17 Jul 2024 16:37:39 +0000 (09:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jul 2024 07:02:37 +0000 (09:02 +0200)
commit5418e6dfc905b3ccc1e01bdad97d948697b20100
tree68ac0237e0a451efef696e357f5017ca056375b4
parentff14bfb7bc0480c343356b82c126290a4774bcbe
misc: Kconfig: exclude mrvl-cn10k-dpi compilation for 32-bit systems

Upon adding CONFIG_ARCH_THUNDER & CONFIG_COMPILE_TEST dependency,
compilation errors arise on 32-bit ARM with writeq() & readq() calls
which are used for accessing 64-bit values.

Since DPI hardware only works with 64-bit register accesses, using
CONFIG_64BIT dependency to skip compilation on 32-bit systems.

Fixes: a5e43e2d202d ("misc: Kconfig: add a new dependency for MARVELL_CN10K_DPI")
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240717163739.181236-1-vattunuru@marvell.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig