Commit 5418e6df authored by Vamsi Attunuru's avatar Vamsi Attunuru Committed by Greg Kroah-Hartman
Browse files

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: a5e43e2d ("misc: Kconfig: add a new dependency for MARVELL_CN10K_DPI")
Signed-off-by: default avatarVamsi Attunuru <vattunuru@marvell.com>
Tested-by: default avatarNathan Chancellor <nathan@kernel.org>
Tested-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240717163739.181236-1-vattunuru@marvell.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ff14bfb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -588,7 +588,7 @@ config NSM
config MARVELL_CN10K_DPI
	tristate "Octeon CN10K DPI driver"
	depends on PCI
	depends on ARCH_THUNDER || COMPILE_TEST
	depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
	help
	  Enables Octeon CN10K DMA packet interface (DPI) driver which
	  intializes DPI hardware's physical function (PF) device's