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

2023-03-06 Thread LIU Zhiwei
On 2023/3/5 22:34, ~abordado wrote: From: 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

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

2023-03-06 Thread Laurent Vivier
Le 05/03/2023 à 15:34, ~abordado a écrit : From: 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

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

2023-03-06 Thread ~abordado
From: 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

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

2023-03-06 Thread Palmer Dabbelt
On Sun, 05 Mar 2023 06:34:37 PST (-0800), abord...@git.sr.ht wrote: From: 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