[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.999.2304051354280.19052@utopia.booyaka.com>
Date: Wed, 5 Apr 2023 13:57:16 +0000 (UTC)
From: Paul Walmsley <paul@...an.com>
To: Evan Green <evan@...osinc.com>
cc: Palmer Dabbelt <palmer@...osinc.com>, slewis@...osinc.com,
vineetg@...osinc.com, heiko@...ech.de,
Conor Dooley <conor@...nel.org>,
Conor Dooley <conor.dooley@...rochip.com>,
Heiko Stuebner <heiko.stuebner@...ll.eu>,
Albert Ou <aou@...s.berkeley.edu>,
Andrew Bresticker <abrestic@...osinc.com>,
Arnd Bergmann <arnd@...db.de>,
Bagas Sanjaya <bagasdotme@...il.com>,
Celeste Liu <coelacanthus@...look.com>,
Guo Ren <guoren@...nel.org>, Jonathan Corbet <corbet@....net>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Tobias Klauser <tklauser@...tanz.ch>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: Re: [PATCH v5 2/6] RISC-V: Add a syscall for HW probing
On Mon, 27 Mar 2023, Evan Green wrote:
> We don't have enough space for these all in ELF_HWCAP{,2} and there's no
> system call that quite does this, so let's just provide an arch-specific
> one to probe for hardware capabilities. This currently just provides
> m{arch,imp,vendor}id, but with the key-value pairs we can pass more in
> the future.
>
> Co-developed-by: Palmer Dabbelt <palmer@...osinc.com>
> Signed-off-by: Palmer Dabbelt <palmer@...osinc.com>
> Signed-off-by: Evan Green <evan@...osinc.com>
> Reviewed-by: Conor Dooley <conor.dooley@...rochip.com>
> Reviewed-by: Heiko Stuebner <heiko.stuebner@...ll.eu>
> Tested-by: Heiko Stuebner <heiko.stuebner@...ll.eu>
Folks are already building RISC-V systems with cores that have different
feature sets inside the same Linux system image - just like some ARM
vendors are - so it makes sense to pass this information onto userspace.
By the way, Evan, did you intend to update the copyright dates to include
2023?
Beyond that,
Reviewed-by: Paul Walmsley <paul.walmsley@...ive.com>
- Paul
Powered by blists - more mailing lists