Re: [PATCH] target/riscv: fix user-mode build issue because mhartid

2022-06-27 Thread Rahul Pathak
Hi Bin, Victor, Going to send the v2 by fixing these silly mistakes. Thanks Rahul On Mon, Jun 27, 2022 at 7:59 PM Bin Meng wrote: > > On Mon, Jun 27, 2022 at 5:40 PM Rahul Pathak wrote: > > > > mhartid csr is not available in user-mode code path and > > user-mode build fails because of its

Re: [PATCH] target/riscv: fix user-mode build issue because mhartid

2022-06-27 Thread VĂ­ctor Colombo
On 27/06/2022 06:40, Rahul Pathak wrote: mhartid csr is not available in user-mode code path and user-mode build fails because of its reference in riscv_cpu_realize function Signed-off-by: Rahul Pathak --- target/riscv/cpu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] target/riscv: fix user-mode build issue because mhartid

2022-06-27 Thread Bin Meng
On Mon, Jun 27, 2022 at 5:40 PM Rahul Pathak wrote: > > mhartid csr is not available in user-mode code path and > user-mode build fails because of its reference in > riscv_cpu_realize function > Normally a "Fixes" tag should be added, but see below: > Signed-off-by: Rahul Pathak > --- >