Re: [PATCH qemu v3] linux-user: Emulate /proc/cpuinfo output for riscv

2023-03-23 Thread Laurent Vivier
Le 23/03/2023 à 08:52, Laurent Vivier a écrit : Le 21/03/2023 à 19:25, Afonso Bordado a écrit : RISC-V does not expose all extensions via hwcaps, thus some userspace applications may want to query these via /proc/cpuinfo. Currently when querying this file the host's file is shown instead which

Re: [PATCH qemu v3] linux-user: Emulate /proc/cpuinfo output for riscv

2023-03-23 Thread Laurent Vivier
Le 21/03/2023 à 19:25, Afonso Bordado a écrit : RISC-V does not expose all extensions via hwcaps, thus some userspace applications may want to query these via /proc/cpuinfo. Currently when querying this file the host's file is shown instead which is slightly confusing. Emulate a basic /proc/cpui

[PATCH qemu v3] linux-user: Emulate /proc/cpuinfo output for riscv

2023-03-21 Thread Afonso Bordado
RISC-V does not expose all extensions via hwcaps, thus some userspace applications may want to query these via /proc/cpuinfo. Currently when querying this file the host's file is shown instead which is slightly confusing. Emulate a basic /proc/cpuinfo file with mmu info and an ISA string. Signed