Re: [PATCH v2 3/3] RISC-V: Move SBI related macros under uapi.

2019-10-08 Thread Christoph Hellwig
On Thu, Oct 03, 2019 at 11:00:05AM +0530, Anup Patel wrote: > These defines are indeed part of KVM userspace API because we will > be forwarding SBI calls not handled by KVM RISC-V kernel module to > KVM userspace (QEMU/KVMTOOL). The forwarded SBI call details > are passed to userspace via "struct

Re: [PATCH v2 3/3] RISC-V: Move SBI related macros under uapi.

2019-10-02 Thread Anup Patel
On Sat, Sep 28, 2019 at 3:51 AM Christoph Hellwig wrote: > > On Thu, Sep 26, 2019 at 05:09:15PM -0700, Atish Patra wrote: > > All SBI related macros can be reused by KVM RISC-V and userspace tools > > such as kvmtool, qemu-kvm. SBI calls can also be emulated by userspace > > if required. Any

Re: [PATCH v2 3/3] RISC-V: Move SBI related macros under uapi.

2019-09-27 Thread Christoph Hellwig
On Thu, Sep 26, 2019 at 05:09:15PM -0700, Atish Patra wrote: > All SBI related macros can be reused by KVM RISC-V and userspace tools > such as kvmtool, qemu-kvm. SBI calls can also be emulated by userspace > if required. Any future vendor extensions can leverage this to emulate > the specific

Re: [PATCH v2 3/3] RISC-V: Move SBI related macros under uapi.

2019-09-26 Thread Anup Patel
On Fri, Sep 27, 2019 at 5:39 AM Atish Patra wrote: > > All SBI related macros can be reused by KVM RISC-V and userspace tools > such as kvmtool, qemu-kvm. SBI calls can also be emulated by userspace > if required. Any future vendor extensions can leverage this to emulate > the specific extension

[PATCH v2 3/3] RISC-V: Move SBI related macros under uapi.

2019-09-26 Thread Atish Patra
All SBI related macros can be reused by KVM RISC-V and userspace tools such as kvmtool, qemu-kvm. SBI calls can also be emulated by userspace if required. Any future vendor extensions can leverage this to emulate the specific extension in userspace instead of kernel. Signed-off-by: Atish Patra