RISC-V: paravirt: Add skeleton for pv-time support
authorAndrew Jones <ajones@ventanamicro.com>
Wed, 20 Dec 2023 16:00:14 +0000 (17:00 +0100)
committerAnup Patel <anup@brainfault.org>
Sat, 30 Dec 2023 05:55:03 +0000 (11:25 +0530)
commit323925ed6dbb0ed877047b28fae4152527cc63db
treed22cf639397eaedd990f55d65c89fed22174db4d
parent4c460eb369514d53383a7c6ba1aefbca4914c68b
RISC-V: paravirt: Add skeleton for pv-time support

Add the files and functions needed to support paravirt time on
RISC-V. Also include the common code needed for the first
application of pv-time, which is steal-time. In the next
patches we'll complete the functions to fully enable steal-time
support.

Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Documentation/admin-guide/kernel-parameters.txt
arch/riscv/include/asm/paravirt.h [new file with mode: 0644]
arch/riscv/include/asm/paravirt_api_clock.h [new file with mode: 0644]
arch/riscv/kernel/Makefile
arch/riscv/kernel/paravirt.c [new file with mode: 0644]
arch/riscv/kernel/time.c