[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190927222107.GC4700@infradead.org>
Date: Fri, 27 Sep 2019 15:21:07 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Atish Patra <atish.patra@....com>
Cc: linux-kernel@...r.kernel.org, Albert Ou <aou@...s.berkeley.edu>,
Alan Kao <alankao@...estech.com>,
Anup Patel <anup@...infault.org>,
Palmer Dabbelt <palmer@...ive.com>,
Mike Rapoport <rppt@...ux.ibm.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Gary Guo <gary@...yguo.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-riscv@...ts.infradead.org,
Thomas Gleixner <tglx@...utronix.de>,
Allison Randal <allison@...utok.net>
Subject: Re: [PATCH v2 3/3] RISC-V: Move SBI related macros under uapi.
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 extension in userspace instead of kernel.
Just because userspace can use them that doesn't mean they are a
userspace API. Please don't do this as this limits how we can ever
remove previously existing symbols. Just copy over the current
version of the file into the other project of your choice instead
of creating and API we need to maintain.
Powered by blists - more mailing lists