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

Andrew Lunn andrew at lunn.ch
Wed Apr 3 15:40:52 PDT 2024


> +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



More information about the linux-arm-kernel mailing list