[RFC PATCH v1 2/4] lib: sbi: Implement SBI CPPC extension

Andrew Jones ajones at ventanamicro.com
Tue Mar 21 01:47:47 PDT 2023


On Tue, Mar 21, 2023 at 09:50:52AM +0530, Sunil V L wrote:
> Implement SBI CPPC extension. This extension is only available when
> OpenSBI platform provides a CPPC device to generic library.
> 
> Signed-off-by: Sunil V L <sunilvl at ventanamicro.com>
> ---
>  include/sbi/sbi_cppc.h   |  35 ++++++++++++++
>  lib/sbi/Kconfig          |   4 ++
>  lib/sbi/objects.mk       |   4 ++
>  lib/sbi/sbi_cppc.c       | 101 +++++++++++++++++++++++++++++++++++++++
>  lib/sbi/sbi_ecall_cppc.c |  63 ++++++++++++++++++++++++
>  5 files changed, 207 insertions(+)
>  create mode 100644 include/sbi/sbi_cppc.h
>  create mode 100644 lib/sbi/sbi_cppc.c
>  create mode 100644 lib/sbi/sbi_ecall_cppc.c
>

Reviewed-by: Andrew Jones <ajones at ventanamicro.com>




More information about the opensbi mailing list