lib: sbi: Remove MCOUNTINHIBT hart feature
authorAnup Patel <apatel@ventanamicro.com>
Thu, 28 Apr 2022 13:29:14 +0000 (18:59 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 7 May 2022 04:35:37 +0000 (10:05 +0530)
commitdbc3d8f0ef19563a89aea266e032acbab549f7fe
tree50d02ef8441568b104b502141df053c3b80493e4
parentd4b563c881d6bca15bd0c4123c245c875a80ffe6
lib: sbi: Remove MCOUNTINHIBT hart feature

If a hart implements privileged spec v1.11 (or higher) then we can
safely assume that mcountinhibit CSR is present and we don't need
MCOUNTINHIBT as a hart feature.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
include/sbi/sbi_hart.h
lib/sbi/sbi_hart.c
lib/sbi/sbi_pmu.c