]> git.ipfire.org Git - thirdparty/linux.git/commit
drivers/perf: hisi: Support PMUs with no interrupt
authorYicong Yang <yangyicong@hisilicon.com>
Thu, 19 Jun 2025 12:55:55 +0000 (20:55 +0800)
committerWill Deacon <will@kernel.org>
Mon, 14 Jul 2025 14:42:16 +0000 (15:42 +0100)
commite480898e767c54a883e965fc306e2ece013cbca5
treee1b66f32add4181858f43bae9171dea93c7c9a92
parent35f5b36e8cc2d241083ee0f08fa8b5366bde6f22
drivers/perf: hisi: Support PMUs with no interrupt

We'll have PMUs don't have an interrupt to indicate the counter
overflow, but the Uncore PMU core assume all the PMUs have
interrupt. So handle this case in the core. The existing PMUs
won't be affected.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20250619125557.57372-7-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_pmu.c