]> Git Repo - linux.git/commitdiff
misc: Kconfig: exclude mrvl-cn10k-dpi compilation for 32-bit systems
authorVamsi Attunuru <[email protected]>
Wed, 17 Jul 2024 16:37:39 +0000 (09:37 -0700)
committerGreg Kroah-Hartman <[email protected]>
Thu, 18 Jul 2024 07:02:37 +0000 (09:02 +0200)
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 <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Tested-by: Jeff Johnson <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/misc/Kconfig

index f3bb75384627dc736400d7df1826413da9b51122..41c3d2821a78505ce74eca2012700368c7381305 100644 (file)
@@ -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
This page took 0.046212 seconds and 4 git commands to generate.