Re: [PATCH 28/89] linux-user/loongarch64: Create init_main_thread

2025-08-01 Thread Peter Maydell
On Wed, 30 Jul 2025 at 01:25, Richard Henderson wrote: > > Merge init_thread and target_cpu_copy_regs. > There's no point going through a target_pt_regs intermediate. > > Note that init_thread had set crmd in target_pt_regs, but > target_cpu_copy_regs did not copy to env. This turns out to be > o

[PATCH 28/89] linux-user/loongarch64: Create init_main_thread

2025-07-29 Thread Richard Henderson
Merge init_thread and target_cpu_copy_regs. There's no point going through a target_pt_regs intermediate. Note that init_thread had set crmd in target_pt_regs, but target_cpu_copy_regs did not copy to env. This turns out to be ok because loongarch_cpu_reset_hold initializes CRMD properly. Signed