From: Clément Léger Date: Fri, 1 Mar 2024 09:27:30 +0100 Subject: [PATCH v4 02/15] RISC-V: Add FIRMWARE_READ_HI definition In-Reply-To: <20240229010130.1380926-3-atishp@rivosinc.com> References: <20240229010130.1380926-1-atishp@rivosinc.com> <20240229010130.1380926-3-atishp@rivosinc.com> Message-ID: <8e3003f0-ec27-47d4-9b1f-89de2afbb8b8@rivosinc.com> List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 29/02/2024 02:01, Atish Patra wrote: > SBI v2.0 added another function to SBI PMU extension to read > the upper bits of a counter with width larger than XLEN. > > Add the definition for that function. > > Acked-by: Conor Dooley > Reviewed-by: Anup Patel > Signed-off-by: Atish Patra > --- > arch/riscv/include/asm/sbi.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/include/asm/sbi.h b/arch/riscv/include/asm/sbi.h > index 6e68f8dff76b..ef8311dafb91 100644 > --- a/arch/riscv/include/asm/sbi.h > +++ b/arch/riscv/include/asm/sbi.h > @@ -131,6 +131,7 @@ enum sbi_ext_pmu_fid { > SBI_EXT_PMU_COUNTER_START, > SBI_EXT_PMU_COUNTER_STOP, > SBI_EXT_PMU_COUNTER_FW_READ, > + SBI_EXT_PMU_COUNTER_FW_READ_HI, > }; > > union sbi_pmu_ctr_info { Reviewed-by: Cl?ment L?ger Thanks, Cl?ment