[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260126033029.7923-1-baisheng.gao@unisoc.com>
Date: Mon, 26 Jan 2026 11:30:27 +0800
From: Baisheng Gao <baisheng.gao@...soc.com>
To: Robin Murphy <robin.murphy@....com>, Will Deacon <will@...nel.org>,
Mark
Rutland <mark.rutland@....com>, Rob Herring <robh@...nel.org>,
Krzysztof
Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
CC: <cixi.geng@...ux.dev>, <hao_hao.wang@...soc.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>
Subject: [PATCH 0/2] Support clock domains without a PMU instance
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@...soc.com>
--
2.34.1
Powered by blists - more mailing lists