OSDN Git Service

linux-user/riscv: Add new extensions to hwprobe
authorRobbin Ehn <rehn@rivosinc.com>
Mon, 28 Aug 2023 14:56:59 +0000 (16:56 +0200)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 11 Sep 2023 01:45:55 +0000 (11:45 +1000)
commitbb0a45e931967488949d293faa5ff4f4561fbdd4
treeae351b1b693026887129ca2e759fe4336d77b26e
parentb815664091cced7ba89fce4e5b6544d16fed3d98
linux-user/riscv: Add new extensions to hwprobe

This patch adds the new extensions in
linux 6.5 to the hwprobe syscall.

And fixes RVC check to OR with correct value.
The previous variable contains 0 therefore it
did work.

Signed-off-by: Robbin Ehn <rehn@rivosinc.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <bc82203b72d7efb30f1b4a8f9eb3d94699799dc8.camel@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
linux-user/syscall.c