Re: [PATCH] misc: Kconfig: exclude mrvl-cn10k-dpi compilation for 32-bit systems

From: Arnd Bergmann
Date: Wed Jul 17 2024 - 14:52:36 EST


On Wed, Jul 17, 2024, at 18:37, Vamsi Attunuru wrote:
> 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@xxxxxxxxxxx>
> Tested-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> Tested-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>