[PATCH 0/2] Support clock domains without a PMU instance
Baisheng Gao
baisheng.gao at unisoc.com
Sun Jan 25 19:30:27 PST 2026
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 at unisoc.com>
--
2.34.1
More information about the linux-arm-kernel
mailing list