Commit e54cb329 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Anup Patel
Browse files

lib: sbi_pmu: move pmu irq information into pmu itself



Don't spread checking for pmu extensions through the code
but instead introduce a sbi-pmu function that other code can
call to get the correct information about the existence of the
pmu interrupt.

Add a sbi_pmu_device override function to allow overridung this
bit as well if needed.

Reviewed-by: default avatarAtish Patra <atishp@rivosinc.com>
Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 3f3d401d
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