[PING] Re: [PATCH] riscv: add NT_RISCV_CSR constant

Maciej W. Rozycki macro at orcam.me.uk
Sun Feb 7 14:46:04 EST 2021

On Wed, 20 Jan 2021, Andrew Burgess wrote:

> I'm not sure if this is the correct mailing list for this patch, or if
> this should be posted to a more common list for consideration?

 You might consider cc-ing <linux-arch at vger.kernel.org> and obviously LKML 
for a wider audience.  There might be too little expertise present here.

> Does anyone have any thoughts on this?  As RISC-V gains more
> extensions (like vectors) it seems inevitable that at some point we
> would need to claim a RISC-V specific number range for notes.  It
> would be super useful if we could coordinate the note numbers used by
> Linux with those used in other tools to avoid conflicts.

 FWIW, these numbers are solely for Linux use (note name "LINUX"), so I'm 
not sure how including privileged registers would be relevant here.  These 
notes reflect OS registers, which may not necessarily bijectively map to 
hardware registers.  See the NT_MIPS_FP_MODE note for a good example.

 As I say I suggest reposting your change with the lists named above cc-ed 
and making the inclusion of LKML with all submissions routine.  You might 
be able to gather more feedback there.


More information about the linux-riscv mailing list