[PATCH 2/5] KVM: RISC-V: refactor sbi reset request
Anup Patel
anup at brainfault.org
Wed May 7 22:02:13 PDT 2025
On Wed, May 7, 2025 at 10:58 PM Radim Krčmář <rkrcmar at ventanamicro.com> wrote:
>
> 2025-05-07T17:31:33+05:30, Anup Patel <anup at brainfault.org>:
> > On Thu, Apr 3, 2025 at 5:02 PM Radim Krčmář <rkrcmar at ventanamicro.com> wrote:
> >> diff --git a/arch/riscv/include/asm/kvm_vcpu_sbi.h b/arch/riscv/include/asm/kvm_vcpu_sbi.h
> >> @@ -55,6 +55,8 @@ void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run);
> >> void kvm_riscv_vcpu_sbi_system_reset(struct kvm_vcpu *vcpu,
> >> struct kvm_run *run,
> >> u32 type, u64 flags);
> >> +void kvm_riscv_vcpu_sbi_request_reset(struct kvm_vcpu *vcpu,
> >> + unsigned long pc, unsigned long a1);
> >
> > Use tabs for alignment instead of spaces.
>
> Oops, I totally forgot that linux uses tabs even for alignment.
>
> > Otherwise, it looks good to me.
> > I have taken care of the above comment at the time
> > of merging this patch.
>
> Thanks, I'll post v2 without the three patches.
Base your v2 upon riscv_kvm_queue branch at
https://github.com/kvm-riscv/linux.git
Regards,
Anup
More information about the kvm-riscv
mailing list