* [PATCH] perf/marvell: cn10k_tad: Publish the OF module alias
@ 2026-09-05 13:43 hpp.iscas
0 siblings, 0 replies; only message in thread
From: hpp.iscas @ 2026-09-05 13:43 UTC (permalink / raw)
To: Will Deacon
Cc: hpp.iscas, Mark Rutland, linux-arm-kernel, linux-perf-users,
linux-kernel, Bhaskara Budiredla
The TAD PMU platform driver has ACPI and OF match tables, but only
the ACPI table is published. A Device Tree platform device emits an
OF modalias, so the ACPI alias does not select this module for it.
Publish the OF table inside CONFIG_OF and retain ACPI support.
Fixes: 036a7584bede ("drivers: perf: Add LLC-TAD perf counter support")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/perf/marvell_cn10k_tad_pmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/perf/marvell_cn10k_tad_pmu.c b/drivers/perf/marvell_cn10k_tad_pmu.c
index 54909d0..301be4d 100644
--- a/drivers/perf/marvell_cn10k_tad_pmu.c
+++ b/drivers/perf/marvell_cn10k_tad_pmu.c
@@ -424,6 +424,7 @@ static const struct of_device_id tad_pmu_of_match[] = {
{ .compatible = "marvell,cn10k-tad-pmu", .data = &tad_pmu_data },
{},
};
+MODULE_DEVICE_TABLE(of, tad_pmu_of_match);
#endif
#ifdef CONFIG_ACPI
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-05 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 13:43 [PATCH] perf/marvell: cn10k_tad: Publish the OF module alias hpp.iscas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox