Re: [PATCH v4] perf/marvell: Marvell PEM performance monitor support

From: Andrew Lunn
Date: Wed Apr 03 2024 - 18:41:06 EST


> +config MARVELL_PEM_PMU
> + tristate "MARVELL PEM PMU Support"
> + depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)

Why the && 64BIT?

I expect any kernel function/macro should work on 32bit systems as
well, but might internally need a different implementation. But
drivers should not need to care.

If you get warning / errors with 32bit systems, it might suggests your
driver is not as clean as it could be.

Andrew