* [PATCH] perf/marvell: cn10k_tad: Publish the OF module alias
@ 2026-09-05 13:43 hpp.iscas
2026-10-04 22:09 ` Will Deacon
0 siblings, 1 reply; 2+ messages 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 [flat|nested] 2+ messages in thread* Re: [PATCH] perf/marvell: cn10k_tad: Publish the OF module alias
2026-09-05 13:43 [PATCH] perf/marvell: cn10k_tad: Publish the OF module alias hpp.iscas
@ 2026-10-04 22:09 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2026-10-04 22:09 UTC (permalink / raw)
To: hpp.iscas
Cc: catalin.marinas, mark.rutland, kernel-team, Will Deacon,
linux-arm-kernel, linux-perf-users, linux-kernel,
Bhaskara Budiredla
On Sat, 05 Sep 2026 21:43:17 +0800, hpp.iscas wrote:
> 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.
>
>
> [...]
Applied to arm64 (for-next/perf), thanks!
[1/1] perf/marvell: cn10k_tad: Publish the OF module alias
https://git.kernel.org/arm64/c/848468c86f71
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-04 22:09 UTC | newest]
Thread overview: 2+ messages (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
2026-10-04 22:09 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®