Skip to content

Commit 5418e6d

Browse files
Vamsi Attunurugregkh
authored andcommitted
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: a5e43e2 ("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]>
1 parent ff14bfb commit 5418e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/misc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ config NSM
588588
config MARVELL_CN10K_DPI
589589
tristate "Octeon CN10K DPI driver"
590590
depends on PCI
591-
depends on ARCH_THUNDER || COMPILE_TEST
591+
depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
592592
help
593593
Enables Octeon CN10K DMA packet interface (DPI) driver which
594594
intializes DPI hardware's physical function (PF) device's

0 commit comments

Comments
 (0)