Re: [RFC/PATCH v0 10/12] gunyah: CPU execution loop

2023-10-12 Thread Srivatsa Vaddagiri
* Philippe Mathieu-Daud? [2023-10-12 06:43:38]: > > -void *gunyah_cpu_thread_fn(void *arg) > > -{ > > -CPUState *cpu = arg; > > - > > -do { > > -/* Do nothing */ > > -} while (!cpu->unplug || cpu_can_run(cpu)); > > - > > -return NULL; > > -} > > This diff could be nicer i

Re: [RFC/PATCH v0 10/12] gunyah: CPU execution loop

2023-10-11 Thread Philippe Mathieu-Daudé
On 11/10/23 18:52, Srivatsa Vaddagiri wrote: Complete the cpu execution loop. At this time, we recognize exits associated with only MMIO access. Future patches will add support for recognizing other exit reasons, such as PSCI calls made by guest. Signed-off-by: Srivatsa Vaddagiri --- accel/gu

[RFC/PATCH v0 10/12] gunyah: CPU execution loop

2023-10-11 Thread Srivatsa Vaddagiri
Complete the cpu execution loop. At this time, we recognize exits associated with only MMIO access. Future patches will add support for recognizing other exit reasons, such as PSCI calls made by guest. Signed-off-by: Srivatsa Vaddagiri --- accel/gunyah/gunyah-accel-ops.c | 1 + accel/gunyah/gu