summaryrefslogtreecommitdiff
path: root/lib/utils/cppc/fdt_cppc.c
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2025-01-10 14:15:50 +0100
committerAnup Patel <[email protected]>2025-01-30 10:30:45 +0530
commit3943ddbaab00247b391128ae0a1f9258d4007f4f (patch)
tree10b556c86d053a762a301341c1aac87cfee3b71d /lib/utils/cppc/fdt_cppc.c
parentbd613dd92113f683052acfb23d9dc8ba60029e0a (diff)
lib: sbi: pmu: fix usage of sbi_pmu_irq_bit()
While sbi_pmu_irq_bit() was used to delegate irq to S-mode, LCOFIP usage was still hardcoded in various places. This led to change the returned value of sbi_pmu_irq_bit() to be a bit number rather than a bit mask since it returns an 'int' and we need to obtain the bit number itself to handle it in the IRQs handlers. Add a similar function to return the irq mask which can also be used where the mask is required rather than the bit itself. Signed-off-by: Clément Léger <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc.c')
0 files changed, 0 insertions, 0 deletions