From: Sunil V L Date: Tue, 21 Mar 2023 09:50:50 +0530 Subject: [RFC PATCH v1 0/4] Add CPPC extension support in OpenSBI Message-ID: <20230321042054.579520-1-sunilvl@ventanamicro.com> List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The latest proposal of SBI CPPC extension can be found at: https://lists.riscv.org/g/tech-prs/message/301 This series implements SBI CPPC extension support in OpenSBI as-per above draft proposal. To test these patches, Qemu patches can be found in, aia_plic_cppc_v1 branch at: https://github.com/vlsunil/qemu.git Linux patches can be found in aia_plic_cppc_v1 branch at: https://github.com/vlsunil/linux.git These OpenSBI patches can also be found in aia_plic_cppc_v1 branch at: https://github.com/vlsunil/opensbi.git Sunil V L (4): include: Add defines for SBI CPPC extension lib: sbi: Implement SBI CPPC extension lib: sbi: Print the CPPC device name NOT_FOR_MERGE: Add test code to emulate CPPC extension include/sbi/sbi_cppc.h | 37 +++++ include/sbi/sbi_ecall_interface.h | 34 +++++ lib/sbi/Kconfig | 4 + lib/sbi/objects.mk | 4 + lib/sbi/sbi_cppc.c | 101 ++++++++++++++ lib/sbi/sbi_ecall_cppc.c | 63 +++++++++ lib/sbi/sbi_init.c | 5 + platform/generic/objects.mk | 1 + platform/generic/platform.c | 6 + platform/generic/test_cppc.c | 217 ++++++++++++++++++++++++++++++ 10 files changed, 472 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 create mode 100644 platform/generic/test_cppc.c -- 2.34.1