Commit 901d3d7b authored by Inochi Amaoto's avatar Inochi Amaoto Committed by Anup Patel
Browse files

lib: sbi_pmu: keep overflow interrupt of stopped hpm counter disabled



After the hardware hpm counter is stopped, it should not raise any new
interrupt as it is already stopped. So add the hw_counter_disable_irq
callback to allow the custom pmu device to control this behavior.

Signed-off-by: default avatarInochi Amaoto <inochiama@outlook.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Tested-by: default avatarSamuel Holland <samuel@sholland.org>
parent c9a296d0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment