Re: [PATCH v3 1/5] RISC-V: Mark the existing SBI v0.1 implementation as legacy

From: Paolo Bonzini
Date: Fri Oct 08 2021 - 03:25:41 EST


On 08/10/21 05:20, Atish Patra wrote:
The existing SBI specification impelementation follows v0.1 or legacy
specification. The latest specification known as v0.2 allows more
scalability and performance improvements.

Rename the existing implementation as legacy and provide a way to allow
future extensions.

Signed-off-by: Atish Patra<atish.patra@xxxxxxx>
---
arch/riscv/include/asm/kvm_vcpu_sbi.h | 29 +++++
arch/riscv/kvm/vcpu_sbi.c | 149 ++++++++++++++++++++------
2 files changed, 148 insertions(+), 30 deletions(-)
create mode 100644 arch/riscv/include/asm/kvm_vcpu_sbi.h

It's bikeshedding I know, but still: every time somebody calls something "legacy", a kitten dies. Please use kvm_sbi_ext_0_1_handler and vcpu_sbi_ext_0_1.

Paolo