Re: [PATCH V1 1/2] hw/rtc: Fixed loongson rtc emulation errors

2025-07-06 Thread lixianglai
Hi Bibo Mao: On 2025/6/13 上午9:31, Xianglai Li wrote: The expire time is sent to the timer only when the expire Time is greater than 0 or greater than now. Otherwise, the timer will trigger interruption continuously. Timer interrupts are sent using pulse functions. Signed-off-by: Xianglai Li

Re: [PATCH] hw/loongarch/boot: Adjust the loading position of the initrd

2025-03-25 Thread lixianglai
Hi bibo mao: On 2025/3/26 上午10:51, lixianglai wrote: Hi bibo mao: Xianglai, Thanks for your patch, some comments inline. On 2025/3/19 下午4:32, Xianglai Li wrote: When only the -kernel parameter is used to load the elf kernel, the initrd is loaded in the ram. If the initrd size is too

Re: [PATCH] hw/loongarch/boot: Adjust the loading position of the initrd

2025-03-25 Thread lixianglai
Hi bibo mao: Xianglai, Thanks for your patch, some comments inline. On 2025/3/19 下午4:32, Xianglai Li wrote: When only the -kernel parameter is used to load the elf kernel, the initrd is loaded in the ram. If the initrd size is too large, the loading fails, resulting in a VM startup failure.

Re: [PATCH V2] target/loongarch: fix vcpu reset command word issue

2025-02-09 Thread lixianglai
Hi Philippe Mathieu-Daudé: Hi, On 8/2/25 08:50, Xianglai Li wrote: When the KVM_REG_LOONGARCH_VCPU_RESET command word is sent to the kernel through the kvm_set_one_reg interface, the parameter source needs to be a legal address, otherwise the kernel will return an error and the command word wil

Re: [PATCH] target/loongarch: fix vcpu reset command word issue

2025-02-05 Thread lixianglai
Ok! I will modify it according to the suggestion. Thanks, Xianglai. On 2025/2/5 下午8:06, Xianglai Li wrote: When the KVM_REG_LOONGARCH_VCPU_RESET command word is sent to the kernel through the kvm_set_one_reg interface, the parameter source needs to be a legal address, otherwise the kernel will

Re: 0001-target-loongarch-fix-vldi-inst.patch

2024-12-12 Thread lixianglai
Hi hongyu: Thank you very much for submitting patch for loongarch, but can you submit patch according to qemu code contribution specification? You can refer to this document: https://www.qemu.org/docs/master/devel/submitting-a-patch.html It should also be pointed out that you need to use the git

Re: [PATCH v4 0/6] hw/loongarch/virt: Add cpu hotplug support

2024-11-28 Thread lixianglai
Hello everyone, I have a question about cpu hotplug to consult you. When I start qemu with the following parameters: /usr/bin/qemu-system-loongarch64 \ -machine virt  \ -accel tcg \ -bios /usr/share/edk2/loongarch64/QEMU_EFI.fd \ -m size=1048576k \ -smp 1,maxcpus=4,cores=1,threads=1,sockets=4  \

Re: [RFC PATCH V2 1/5] include: Add macro definitions needed for interrupt controller kvm emulation

2024-09-10 Thread lixianglai
Hi Cornelia Huck: On Tue, Sep 10 2024, Xianglai Li wrote: Add macro definitions needed for interrupt controller kvm emulation. Signed-off-by: Xianglai Li --- Cc: Paolo Bonzini Cc: Song Gao Cc: Jiaxun Yang Cc: Huacai Chen Cc: "Michael S. Tsirkin" Cc: Cornelia Huck Cc: k...@vger.kernel.o

Re: [PULL 0/9] loongarch-to-apply queue

2024-07-12 Thread lixianglai
Hi Philippe: Hi Richard, On 11/7/24 09:48, Song Gao wrote: The following changes since commit 59084feb256c617063e0dbe7e64821ae8852d7cf:    Merge tag 'pull-aspeed-20240709' of https://github.com/legoater/qemu into staging (2024-07-09 07:13:55 -0700) are available in the Git repository at:

Re: [PATCH] hw/loongarch: Modify flash block size to 256K

2024-06-24 Thread lixianglai
Hi Philippe: Hi Xianglai, On 24/6/24 05:33, Xianglai Li wrote: loongarch added a common library for edk2 to parse flash base addresses through fdt. For compatibility with other architectures, the flash block size in qemu is now changed to 256k. Why is that an issue / concern? The patch sub

Re: [PATCH V4 1/1] target/loongarch: Fixed tlb huge page loading issue

2024-03-15 Thread lixianglai
在 2024/3/16 上午1:06, Richard Henderson 写道: > On 3/14/24 23:01, lixianglai wrote: >> Hi Richard : >> >>> On 3/14/24 20:22, lixianglai wrote: >>>> Hi Richard: >>>>> On 3/13/24 15:33, Xianglai Li wrote: >>>>>> +    if

Re: [PATCH V4 1/1] target/loongarch: Fixed tlb huge page loading issue

2024-03-15 Thread lixianglai
Hi Richard : On 3/14/24 20:22, lixianglai wrote: Hi Richard: On 3/13/24 15:33, Xianglai Li wrote: +    if (unlikely((level == 0) || (level > 4))) { +    return base; +    } ... Perhaps it would be worthwhile to add another for the level==0 or > 4 case above? A normal level

Re: [PATCH V4 1/1] target/loongarch: Fixed tlb huge page loading issue

2024-03-14 Thread lixianglai
Hi Richard: On 3/13/24 15:33, Xianglai Li wrote: +    if (unlikely((level == 0) || (level > 4))) { +    return base; +    } + +    if (FIELD_EX64(base, TLBENTRY, HUGE)) { +    if (FIELD_EX64(base, TLBENTRY, LEVEL)) { +    return base; +    } else { +    return  FIELD_

Re: [PATCH V3 1/1] target/loongarch: Fixed tlb huge page loading issue

2024-03-11 Thread lixianglai
Hi Richard: @@ -495,30 +508,10 @@ target_ulong helper_lddir(CPULoongArchState *env, target_ulong base,   shift = FIELD_EX64(env->CSR_PWCL, CSR_PWCL, PTEWIDTH);   shift = (shift + 1) * 3;   -    if (huge) { -    return base; -    } -    switch (level) { -    case 1: -    dir_bas

Re: [PULL v2 1/1] loongarch: Change the UEFI loading mode to loongarch

2024-03-06 Thread lixianglai
the compiled bios from the link below: https://github.com/lixianglai/LoongarchVirtFirmware Thanks, Xianglai. Huacai On Sat, Mar 2, 2024 at 12:14 PM lixianglai wrote: Hi Philippe: On 29/2/24 12:38, Song Gao wrote: From: Xianglai Li The UEFI loading mode in loongarch is very different

Re: [PATCH V2 1/1] target/loongarch: Fixed tlb huge page loading issue

2024-03-05 Thread lixianglai
Hi Richard : On 3/4/24 20:21, lixianglai wrote: Hi Richard: On 3/4/24 17:51, Xianglai Li wrote: When we use qemu tcg simulation, the page size of bios is 4KB. When using the level 2 super large page (page size is 1G) to create the page table, it is found that the content of the corresponding

Re: [PATCH V2 1/1] target/loongarch: Fixed tlb huge page loading issue

2024-03-04 Thread lixianglai
Hi Richard: On 3/4/24 17:51, Xianglai Li wrote: When we use qemu tcg simulation, the page size of bios is 4KB. When using the level 2 super large page (page size is 1G) to create the page table, it is found that the content of the corresponding address space is abnormal, resulting in the bios

Re: [PATCH] Fixed tlb huge page loading issue

2024-03-04 Thread lixianglai
Hi gaosong: Hi, Title 'target/loongarch: ' ... OK! I will fix it in next version. Thanks, Xianglai. Thanks. Song Gao 在 2024/2/28 14:55, Xianglai Li 写道: The lddir and ldpte instruction emulation has a problem with the use of large page processing above level 2. The page size is no

Re: [PULL v2 1/1] loongarch: Change the UEFI loading mode to loongarch

2024-03-01 Thread lixianglai
Hi Philippe: On 29/2/24 12:38, Song Gao wrote: From: Xianglai Li The UEFI loading mode in loongarch is very different from that in other architectures:loongarch's UEFI code is in rom, while other architectures' UEFI code is in flash. loongarch UEFI can be loaded as follows: -machine virt,pfla

Re: [PATCH V2] loongarch: Change the UEFI loading mode to loongarch

2024-02-18 Thread lixianglai
Hi Andrea: On Tue, Feb 06, 2024 at 05:38:35AM -0800, Andrea Bolognani wrote: On Tue, Feb 06, 2024 at 10:10:02AM +0800, Xianglai Li wrote: The UEFI loading mode in loongarch is very different from that in other architectures:loongarch's UEFI code is in rom, while other architectures' UEFI code i

Re: [PATCH V2] loongarch: Change the UEFI loading mode to loongarch

2024-02-18 Thread lixianglai
atch. Thanks. Xianglai. Thanks. [1] https://github.com/lixianglai/LoongarchVirtFirmware/commit/985ce19438d9544968c7e921c6acf2c74fd4713e

Re: [PATCH] loongarch: Change the UEFI loading mode to loongarch

2024-02-03 Thread lixianglai
Hi  maobibo: diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index 6ef9a92394..d1fba1204e 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -20,8 +20,10 @@   #define VIRT_BIOS_BASE  0x1c00UL   #define VIRT_BIOS_SIZE  (4 * M

Re: [PATCH] loongarch: Change the UEFI loading mode to loongarch

2024-02-03 Thread lixianglai
Hi  maobibo: diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index 6ef9a92394..d1fba1204e 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -20,8 +20,10 @@   #define VIRT_BIOS_BASE  0x1c00UL   #define VIRT_BIOS_SIZE  (4 * M

Re: [libvirt PATCH V2 0/4] add loongarch support for libvirt

2024-01-30 Thread lixianglai
Hi Philippe:     When developing libvirt on loongarch, we encountered some problems related to pflash. libvirt and qemu met some difficulties in the coordination of UEFI loading. I think we need your suggestions and opinions on the solution. Anyway, I fetched and installed this. The firmwa

Re: [libvirt PATCH V2 0/4] add loongarch support for libvirt

2024-01-30 Thread lixianglai
on of patch to the community according to the opinions of the community, hoping to listen to everyone's opinions. Anyway we have a version of libvirt that supports loongarch. You can also get libvirt's patch from the link below: https://gitlab.com/lixianglai/libvirt branch: loongarc

Re: [PATCH V5 0/9] Add architecture agnostic code to support vCPU Hotplug

2023-10-12 Thread lixianglai
Hi Salil Mehta via: Virtual CPU hotplug support is being added across various architectures[1][3]. This series adds various code bits common across all architectures: 1. vCPU creation and Parking code refactor [Patch 1] 2. Update ACPI GED framework to support vCPU Hotplug [Patch 4,6,7] 3. ACPI

Re: [PATCH RFC v4 0/9] Add loongarch kvm accel support

2023-10-11 Thread lixianglai
Hi Philippe Mathieu-Daudé : Hi, On 9/10/23 11:01, xianglai li wrote: This series add loongarch kvm support, mainly implement some interfaces used by kvm such as kvm_arch_get/set_regs, kvm_arch_handle_exit, kvm_loongarch_set_interrupt, etc. Currently, we are able to boot LoongArch KVM Linux Gue

Re: [PATCH RFC v4 4/9] target/loongarch: Implement kvm get/set registers

2023-10-11 Thread lixianglai
Hi Philippe Mathieu-Daudé: Hi Li and Zhao, On 9/10/23 11:01, xianglai li wrote: From: Tianrui Zhao Implement kvm_arch_get/set_registers interfaces, many regs can be get/set in the function, such as core regs, csr regs, fpu regs, mp state, etc. Cc: "Michael S. Tsirkin" Cc: Cornelia Huck Cc

Re: [PATCH v3 2/7] Update CPUs AML with cpu-(ctrl)dev change

2023-09-27 Thread lixianglai
Hi Michael S. Tsirkin: On Tue, Sep 26, 2023 at 08:49:27PM +0800, lixianglai wrote: Hi Salil Mehta via  And Michael S. Tsirkin: From: Michael S. Tsirkin Sent: Tuesday, September 26, 2023 12:54 PM To: Salil Mehta Cc: xianglai li ; qemu-devel@nongnu.org; Bernhard Beschow ; Salil Mehta

Re: [PATCH v3 7/7] Update the ACPI table for the Loongarch CPU

2023-09-26 Thread lixianglai
Hi Salil Mehta: Hi Xianglai, From: xianglai li Sent: Tuesday, September 26, 2023 10:55 AM To: qemu-devel@nongnu.org Cc: Bernhard Beschow ; Salil Mehta ; Salil Mehta ; Xiaojuan Yang ; Song Gao ; Michael S. Tsirkin ; Igor Mammedov ; Ani Sinha ; Paolo Bonzini ; Richard Henderson ; Eduardo Habko

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-26 Thread lixianglai
Hi Salil Mehta: From: Salil Mehta Sent: Tuesday, September 26, 2023 12:21 PM To: 'David Hildenbrand' ; lixianglai ; qemu-devel@nongnu.org Cc: Salil Mehta ; Xiaojuan Yang ; Song Gao ; Michael S. Tsirkin ; Igor Mammedov ; Ani Sinha ; Paolo Bonzini ; Richard Henderson ; Eduardo Habkos

Re: [PATCH RFC V2 24/37] hw/acpi: Update ACPI GED framework to support vCPU Hotplug

2023-09-26 Thread lixianglai
Hi Michael S. Tsirkin : On Tue, Sep 26, 2023 at 11:37:38AM +, Salil Mehta wrote: From: Michael S. Tsirkin Sent: Tuesday, September 26, 2023 12:02 PM To: Salil Mehta Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; m...@kernel.org; jean- phili...@linaro.org; Jonathan Cameron ; lpieral...@k

Re: [PATCH v3 2/7] Update CPUs AML with cpu-(ctrl)dev change

2023-09-26 Thread lixianglai
Hi Salil Mehta via  And Michael S. Tsirkin: From: Michael S. Tsirkin Sent: Tuesday, September 26, 2023 12:54 PM To: Salil Mehta Cc: xianglai li ; qemu-devel@nongnu.org; Bernhard Beschow ; Salil Mehta ; Xiaojuan Yang ; Song Gao ; Igor Mammedov ; Ani Sinha ; Paolo Bonzini ; Richard Henderson ;

Re: [PATCH v3 1/7] Update ACPI GED framework to support vcpu hot-(un)plug

2023-09-26 Thread lixianglai
Hi Salil Mehta via: Same with this patch. It already exists in the architecture agnostic patches part of below: https://lore.kernel.org/qemu-devel/20230926100436.28284-1-salil.me...@huawei.com/T/#t OK, I will remove the first two patches in the next version. Thanks, Xianglai. Thanks S

Re: [PATCH v3 2/7] Update CPUs AML with cpu-(ctrl)dev change

2023-09-26 Thread lixianglai
Hi  Salil Mehta via : Hi Xianglai, FYI. RFC V2 is out and you can now drop the arch agnostic patches from your patch-set. Please check the details in the cover letter which one you need to pick and rebase from: https://lore.kernel.org/qemu-devel/20230926100436.28284-1-salil.me...@huawei.com/T/#

Re: [PATCH v3 1/7] Update ACPI GED framework to support vcpu hot-(un)plug

2023-09-26 Thread lixianglai
Hi, Michael S. Tsirkin : On Tue, Sep 26, 2023 at 05:54:26PM +0800, xianglai li wrote: ACPI GED shall be used to convey to the guest kernel about any cpu hot-(un)plug events. Therefore, existing ACPI GED framework inside QEMU needs to be enhanced to support CPU hot-(un)plug state and events. C

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-15 Thread lixianglai
Hi David : On 15.09.23 04:53, lixianglai wrote: Hi David Hildenbrand: Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other

Re: [PATCH v2 03/10] make qdev_disconnect_gpio_out_named() public

2023-09-15 Thread lixianglai
Hi Philippe Mathieu-Daudé : Hi, On 12/9/23 04:11, xianglai li wrote: It will be reused in loongarch/virt.c for unwiring the vcpu<->exioi interrupts for the vcpu hot-(un)plug cases. Since we never had to use this, I'm surprised we really need it. QEMU IRQs/GPIOs are similar to hardware ones,

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread lixianglai
Hi David Hildenbrand: Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread lixianglai
Hi David Hildenbrand: On 14.09.23 15:00, lixianglai wrote: Hi David: Hi! On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away without destroying

Re: [PATCH v2 04/10] Introduce the CPU address space destruction function

2023-09-14 Thread lixianglai
Hi David: On 12.09.23 04:11, xianglai li wrote: Introduce new function to destroy CPU address space resources for cpu hot-(un)plug. How do other archs handle that? Or how are they able to get away without destroying? They do not remove the cpu address space, taking the X86 architecture as

Re: [PATCH v2 00/10] Adds CPU hot-plug support to Loongarch

2023-09-12 Thread lixianglai
Hi, Salil Mehta : Hi Xianglai, From: qemu-devel-bounces+salil.mehta=huawei@nongnu.org On Behalf Of xianglai li Sent: Tuesday, September 12, 2023 3:12 AM To: qemu-devel@nongnu.org Cc: Salil Mehta ; Xiaojuan Yang ; Song Gao ; Michael S. Tsirkin ; Igor Mammedov ; Ani Sinha ; Paolo Bonzini ;

Re: [PATCH] roms: Support compile the efi bios for loongarch

2023-09-04 Thread lixianglai
On 9/4/23 7:42 PM, Gerd Hoffmann wrote: Hi, The loongarch cross-compilation tool on the fedora38 operating system is a bit old, The gcc 12 -> 13 update for the cross compilers landed meanwhile, right now we have: binutils-loongarch64-linux-gnu.x86_64 2.39-4.fc38@updates gcc

Re: [PATCH] roms: Support compile the efi bios for loongarch

2023-09-01 Thread lixianglai
system is a bit old, and there is a problem with the UEFI of the compiled loongarch, so I want to ask about the UEFI compilation environment. Thanks, xianglai On 8/10/23 8:54 PM, lixianglai wrote: On 8/10/23 7:34 PM, Philippe Mathieu-Daudé wrote: Hi, On 10/8/23 09:42, xianglai li wrote

Re: [PATCH] roms: Support compile the efi bios for loongarch

2023-08-10 Thread lixianglai
On 8/10/23 7:34 PM, Philippe Mathieu-Daudé wrote: Hi, On 10/8/23 09:42, xianglai li wrote: 1.Add edk2-platform submodule 2.Added loongarch UEFI BIOS support to compiled scripts. 3.The cross-compilation toolchain on x86 can be obtained from the link below: https://github.com/loongson/build-t

Re: [PATCH] roms: Support compile the efi bios for loongarch

2023-08-10 Thread lixianglai
Hi, Jiajie: On 8/10/23 7:48 PM, Jiajie Chen wrote: On 2023/8/10 15:42, xianglai li wrote: 1.Add edk2-platform submodule 2.Added loongarch UEFI BIOS support to compiled scripts. 3.The cross-compilation toolchain on x86 can be obtained from the link below: https://github.com/loongson/build-tool

Re: [PATCH] roms: Support compile the efi bios for loongarch

2023-08-10 Thread lixianglai
Hi, BiBo On 8/10/23 5:58 PM, bibo mao wrote: Xianglai, I reply inline. 在 2023/8/10 15:42, xianglai li 写道: 1.Add edk2-platform submodule 2.Added loongarch UEFI BIOS support to compiled scripts. The description is somewhat too simple, it should be paragraph. Okay, I'll describe it in detail

Re: [PATCH 5/8] Adds basic CPU hot-(un)plug support for Loongarch

2023-08-09 Thread lixianglai
Hi Igor Mammedov: On 7/28/23 9:21 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:10 +0800 xianglai li wrote: 1.Add CPU topology related functions 2.Add CPU hot-plug related hook functions 3.Update the in-place CPU creation process at machine initialization patch is to large, split it at

Re: [PATCH 8/8] Turn on CPU hot-(un)plug customization for loongarch

2023-08-08 Thread lixianglai
Hi, Igor Mammedov: On 7/28/23 9:30 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:13 +0800 xianglai li wrote: Turn on CPU hot-(un)plug custom for loongarch in the configuration file Cc: Xiaojuan Yang Cc: Song Gao Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Cc: Ani Sinha Cc: Paolo Bo

Re: [PATCH 7/8] Update the ACPI table for the Loongarch CPU

2023-08-08 Thread lixianglai
Hi Igor Mammedov: On 7/28/23 9:26 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:12 +0800 xianglai li wrote: 1.Create a new GED device type for Loongarch, mount cpu_madt function to update the ACPI table madt changes should be its own patch Okay, I'll put the Madt-related changes int

Re: [PATCH 6/8] Add support of *unrealize* for loongarch cpu

2023-08-08 Thread lixianglai
Hi Igor Mammedov: On 7/28/23 9:23 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:11 +0800 xianglai li wrote: 1.Add the Unrealize function to the Loongarch CPU for cpu hot-(un)plug 2.Add CPU topology-related properties to the Loongarch CPU for cpu hot-(un)plug Cc: Xiaojuan Yang Cc: Song

Re: [PATCH 3/8] Introduced a new function to disconnect GPIO connections

2023-08-08 Thread lixianglai
Hi,Peter Maydell : On 7/28/23 8:38 PM, Peter Maydell wrote: On Thu, 20 Jul 2023 at 08:16, xianglai li wrote: It introduces a new function to unwire the vcpu<->exioi interrupts for the vcpu hot-(un)plug cases. Cc: Xiaojuan Yang Cc: Song Gao Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Cc: A

Re: [PATCH 4/8] Introduce the CPU address space destruction function

2023-08-07 Thread lixianglai
Hi Igor Mammedov: The first four patches are written with reference to the patch in the public modification section of Arm's CPU Hotplug, and the Arm CPU HotPlug-related patches will be merged into the community in the near future, so the first four patches will be discarded and rebase based

Re: [PATCH 3/8] Introduced a new function to disconnect GPIO connections

2023-08-01 Thread lixianglai
Hi, Igor Mammedov: On 7/28/23 7:59 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:08 +0800 xianglai li wrote: It introduces a new function to unwire the vcpu<->exioi interrupts for the vcpu hot-(un)plug cases. it's not a new function. You probably wanted to say: subj: make foo() public

Re: [PATCH 2/8] Update CPUs AML with cpu-(ctrl)dev change

2023-08-01 Thread lixianglai
Hi, Igor Mammedov : On 7/28/23 7:55 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:07 +0800 xianglai li wrote: CPUs Control device(\\_SB.PCI0) register interface for the x86 arch is based on PCI and is IO port based and hence existing cpus AML code assumes _CRS objects would evaluate to a

Re: [PATCH 1/8] Update ACPI GED framework to support vcpu hot-(un)plug

2023-08-01 Thread lixianglai
Hi, Igor Mammedov : On 7/28/23 7:45 PM, Igor Mammedov wrote: On Thu, 20 Jul 2023 15:15:06 +0800 xianglai li wrote: ACPI GED shall be used to convey to the guest kernel about any cpu hot-(un)plug events. Therefore, existing ACPI GED framework inside QEMU needs to be enhanced to support CPU hot

Re: [PATCH 0/8] Adds CPU hot-plug support to Loongarch

2023-08-01 Thread lixianglai
Hi,  Salil On 2023/7/27 pm 10:51, Salil Mehta wrote: Hello, From: lixianglai Sent: Thursday, July 27, 2023 3:14 AM To: Gavin Shan ; qemu-devel@nongnu.org; Salil Mehta ; zhukeqian ; Bibo Mao Subject: Re: [PATCH 0/8] Adds CPU hot-plug support to Loongarch Hi Gavin and Salil, On 7/27/23 8:57

Re: [PATCH 0/8] Adds CPU hot-plug support to Loongarch

2023-07-26 Thread lixianglai
Hi Gavin and Salil, On 7/27/23 8:57 AM, Gavin Shan wrote: Hi Xianglai, On 7/20/23 17:15, xianglai li wrote: Hello everyone, We refer to the implementation of ARM CPU Hot-Plug to add GED-based CPU Hot-Plug support to Loongarch. The first 4 patches are changes to the QEMU common code, including

[BUG][CPU hot-plug]CPU hot-plugs cause the qemu process to coredump

2023-07-21 Thread lixianglai
Hello,Recently, when I was developing CPU hot-plugs under the loongarch architecture, I found that there was a problem with qemu cpu hot-plugs under x86 architecture, which caused the qemu process coredump when repeatedly inserting and unplugging the CPU when the TCG was accelerated. The