mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Support clock domains without a PMU instance
@ 2026-01-26  3:30 Baisheng Gao
  2026-01-26  3:30 ` [PATCH 1/2] perf/arm-ni: Don't crash in probing " Baisheng Gao
  2026-01-26  3:30 ` [PATCH 2/2] dt-bindings/perf: Drop irqs for " Baisheng Gao
  0 siblings, 2 replies; 5+ messages in thread
From: Baisheng Gao @ 2026-01-26  3:30 UTC (permalink / raw)
  To: Robin Murphy, Will Deacon, Mark Rutland, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: cixi.geng, hao_hao.wang, linux-arm-kernel, linux-perf-users,
	linux-kernel, devicetree

In a system, it is possible that there isn't a PMU instance in some
clock domains. The original driver will crash because of the pmusela
pointer being NULL in this condition. This series fix it.

Baisheng Gao (2):
  perf/arm-ni: Don't crash in probing clock domains without a PMU
    instance
  dt-bindings/perf: Drop irqs for clock domains without a PMU instance

 Documentation/devicetree/bindings/perf/arm,ni.yaml | 3 ++-
 drivers/perf/arm-ni.c                              | 8 +++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

Signed-off-by: Baisheng Gao <baisheng.gao@unisoc.com>
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-26 17:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-26  3:30 [PATCH 0/2] Support clock domains without a PMU instance Baisheng Gao
2026-01-26  3:30 ` [PATCH 1/2] perf/arm-ni: Don't crash in probing " Baisheng Gao
2026-01-26 16:34   ` Robin Murphy
2026-01-26  3:30 ` [PATCH 2/2] dt-bindings/perf: Drop irqs for " Baisheng Gao
2026-01-26 17:09   ` Robin Murphy

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®