* [PATCH] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
@ 2022-03-29 13:10 ` Geert Uytterhoeven
0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2022-03-29 13:10 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Bhaskara Budiredla, Bharat Bhushan
Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven
The Marvell CN10K DRAM Subsystem (DSS) performance monitor is only
present on Marvell CN10K SoCs. Hence add a dependency on ARCH_THUNDER,
to prevent asking the user about this driver when configuring a kernel
without Cavium Thunder (incl. Marvell CN10K) SoC support,
Fixes: 68fa55f0e05ce371 ("perf/marvell: cn10k DDR perf event core ownership")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/perf/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index afdcb91601d2bbf9..1e2d69453771d4ac 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -187,7 +187,7 @@ source "drivers/perf/hisilicon/Kconfig"
config MARVELL_CN10K_DDR_PMU
tristate "Enable MARVELL CN10K DRAM Subsystem(DSS) PMU Support"
- depends on ARM64 || (COMPILE_TEST && 64BIT)
+ depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
help
Enable perf support for Marvell DDR Performance monitoring
event on CN10K platform.
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
@ 2022-03-29 13:10 ` Geert Uytterhoeven
0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2022-03-29 13:10 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Bhaskara Budiredla, Bharat Bhushan
Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven
The Marvell CN10K DRAM Subsystem (DSS) performance monitor is only
present on Marvell CN10K SoCs. Hence add a dependency on ARCH_THUNDER,
to prevent asking the user about this driver when configuring a kernel
without Cavium Thunder (incl. Marvell CN10K) SoC support,
Fixes: 68fa55f0e05ce371 ("perf/marvell: cn10k DDR perf event core ownership")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/perf/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index afdcb91601d2bbf9..1e2d69453771d4ac 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -187,7 +187,7 @@ source "drivers/perf/hisilicon/Kconfig"
config MARVELL_CN10K_DDR_PMU
tristate "Enable MARVELL CN10K DRAM Subsystem(DSS) PMU Support"
- depends on ARM64 || (COMPILE_TEST && 64BIT)
+ depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
help
Enable perf support for Marvell DDR Performance monitoring
event on CN10K platform.
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
2022-03-29 13:10 ` Geert Uytterhoeven
@ 2022-04-04 10:10 ` Will Deacon
-1 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2022-04-04 10:10 UTC (permalink / raw)
To: Bhaskara Budiredla, Geert Uytterhoeven, Bharat Bhushan, Mark Rutland
Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel,
linux-arm-kernel
On Tue, 29 Mar 2022 15:10:10 +0200, Geert Uytterhoeven wrote:
> The Marvell CN10K DRAM Subsystem (DSS) performance monitor is only
> present on Marvell CN10K SoCs. Hence add a dependency on ARCH_THUNDER,
> to prevent asking the user about this driver when configuring a kernel
> without Cavium Thunder (incl. Marvell CN10K) SoC support,
>
>
Applied to arm64 (for-next/fixes), thanks!
[1/1] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
https://git.kernel.org/arm64/c/1d8e926a04b9
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
@ 2022-04-04 10:10 ` Will Deacon
0 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2022-04-04 10:10 UTC (permalink / raw)
To: Bhaskara Budiredla, Geert Uytterhoeven, Bharat Bhushan, Mark Rutland
Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel,
linux-arm-kernel
On Tue, 29 Mar 2022 15:10:10 +0200, Geert Uytterhoeven wrote:
> The Marvell CN10K DRAM Subsystem (DSS) performance monitor is only
> present on Marvell CN10K SoCs. Hence add a dependency on ARCH_THUNDER,
> to prevent asking the user about this driver when configuring a kernel
> without Cavium Thunder (incl. Marvell CN10K) SoC support,
>
>
Applied to arm64 (for-next/fixes), thanks!
[1/1] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
https://git.kernel.org/arm64/c/1d8e926a04b9
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-04 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 13:10 [PATCH] perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER Geert Uytterhoeven
2022-03-29 13:10 ` Geert Uytterhoeven
2022-04-04 10:10 ` Will Deacon
2022-04-04 10:10 ` Will Deacon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.