Re: [PATCH v8 06/22] RISC-V: Add Smcntrpmf extension parsing
Paul Walmsley <[email protected]>
| Newsgroups | org.kernel.vger.linux-devicetree,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 1 Jul 2026, Atish Patra wrote: > From: Atish Patra <[email protected]> > > Smcntrpmf extension allows M-mode to enable privilege mode filtering > for cycle/instret counters. However, the cyclecfg/instretcfg CSRs are > available in Ssccfg only if Smcntrpmf is present. > > That's why, kernel needs to detect presence of Smcntrpmf extension and > enable privilege mode filtering for cycle/instret counters. > > Reviewed-by: Clément Léger <[email protected]> > Signed-off-by: Atish Patra <[email protected]> Thanks, queued for v7.3. - Paul