Re: [PATCH] hw/loongarch/virt: Add reset interface for virt-machine

2024-11-07 Thread Peter Maydell
On Thu, 31 Oct 2024 at 06:55, Bibo Mao wrote: > > With generic cpu reset interface, pc register is entry of FLASH for > UEFI BIOS. However with direct kernel booting requirement, there is > little different, pc register of primary cpu is entry address of ELF > file. > > At the same time with requi

Re: [PATCH] hw/loongarch/virt: Add reset interface for virt-machine

2024-11-07 Thread gaosong
在 2024/11/1 上午12:16, Philippe Mathieu-Daudé 写道: Cc'ing Peter who is working on the Reset API. On 31/10/24 03:54, Bibo Mao wrote: With generic cpu reset interface, pc register is entry of FLASH for UEFI BIOS. However with direct kernel booting requirement, there is little different, pc register

Re: [PATCH] hw/loongarch/virt: Add reset interface for virt-machine

2024-11-07 Thread maobibo
On 2024/11/7 下午7:28, Peter Maydell wrote: On Thu, 31 Oct 2024 at 06:55, Bibo Mao wrote: With generic cpu reset interface, pc register is entry of FLASH for UEFI BIOS. However with direct kernel booting requirement, there is little different, pc register of primary cpu is entry address of EL

Re: [PATCH] hw/loongarch/virt: Add reset interface for virt-machine

2024-10-31 Thread Philippe Mathieu-Daudé
Cc'ing Peter who is working on the Reset API. On 31/10/24 03:54, Bibo Mao wrote: With generic cpu reset interface, pc register is entry of FLASH for UEFI BIOS. However with direct kernel booting requirement, there is little different, pc register of primary cpu is entry address of ELF file. At

[PATCH] hw/loongarch/virt: Add reset interface for virt-machine

2024-10-31 Thread Bibo Mao
With generic cpu reset interface, pc register is entry of FLASH for UEFI BIOS. However with direct kernel booting requirement, there is little different, pc register of primary cpu is entry address of ELF file. At the same time with requirement of cpu hotplug, hot-added CPU should register reset i