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