Re: [PATCH 0/2] Improve CPPC counter scalability via local emulation

Anup Patel <[email protected]>
Newsgroups org.infradead.lists.opensbi
Message-ID <CAAhSdy1YQRsmJW7XTTp7vRc2LS5w9-Tc4JmcPpxPnmqqTtWTqg@mail.gmail.com>
On Fri, Jul 3, 2026 at 10:35 AM Sunil V L <[email protected]> wrote:
>
> From: Sunil V L <[email protected]>
>
> This series improves the scalability of the RPMI-based CPPC driver's
> REFERENCE_CTR and DELIVERED_CTR registers, which are read frequently
> by CPU frequency governors.
>
> Currently, every read of these counters sends an RPMI message to the
> controller. Since REFERENCE_CTR can be just the TIME csr and, when the
> fast channel is supported, DELIVERED_CTR can be derived from the
> current frequency exposed via the fast channel, both can instead be
> emulated locally without a round trip to the controller.
>
> Sunil V L (2):
>   lib/sbi/sbi_timer: Add sbi_timer_frequency() function
>   lib/utils/cppc: Emulate REFERENCE_CTR and DELIVERED_CTR locally

LGTM.

Reviewed-by: Anup Patel <[email protected]>

Applied this series to the riscv/opensbi repo.

Thanks,
Anup

-- 
opensbi mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/opensbi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.