Signed-off-by: Tianrui Zhao
Reviewed-by: Richard Henderson
Signed-off-by: xianglai li
---
target/loongarch/kvm.c | 131 +
1 file changed, 131 insertions(+)
create mode 100644 target/loongarch/kvm.c
diff --git a/target/loongarch/kvm.c b/target/loongarch/kvm
n Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
target/loongarch/cpu.h| 2 ++
target/loongarch/kvm.c| 23 +++
target/loongarch/trace-events | 2 ++
3 files changed, 27 insertions(+)
diff --git a/target/loongarch/cpu.h b
: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Reviewed-by: Richard Henderson
Signed-off-by: xianglai li
---
target/loongarch/kvm.c | 1 +
1 file changed, 1 insertion(+
dré Lureau"
Cc: "Daniel P. Berrangé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
meson.build
ngé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 18 +
errangé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
meson.build | 1 +
target/loongarc
quot;Daniel P. Berrangé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 2 ++
target
Cc: "Marc-André Lureau"
Cc: "Daniel P. Berrangé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Reviewed-by: Richard Henderson
lo Bonzini
Cc: "Marc-André Lureau"
Cc: "Daniel P. Berrangé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Richard Henderson
Cc: Peter Maydell
Cc: Bibo Mao
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: Tianrui Zhao
Signed-off-by: Tianrui Zhao
Signed-off-by: xiang
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 Guests.
In loongarch VM, mmio devices and iocsr devices are emulated
in user
m
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
hw/core/gpio.c | 4 ++--
include/hw/qdev-core.h | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/core/gpio
uot;
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
configs/devices/loongarch64-softmmu/default.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/devices/loongarch64-softmmu/default.mak
b/configs/devices/loongar
c: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
hw/loongarch/virt.c | 381 ++--
include/hw/loongarch/vir
Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
hw/acpi/acpi-cpu-hotplug-stub.c
: Xiaojuan Yang
Cc: Song Gao
Cc: "Michael S. Tsirkin"
Cc: Igor Mammedov
Cc: Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hilden
lo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
hw/acpi/acpi-cpu-hotplug-stub.c | 9 ++
hieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
include/exec/cpu-common.h | 8
include/hw/core/cpu.h | 1 +
softmmu/physmem.c | 24
3 files changed, 33 insertions
Hot-(UN)Plug,
the creation process of updating the ACPI table,
and finally the custom switch for the CPU Hot-Plug.
xianglai li (8):
Update ACPI GED framework to support vcpu hot-(un)plug
Update CPUs AML with cpu-(ctrl)dev change
Introduced a new function to disconnect GPIO connections
c: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 33 +
target/loongarch/cpu.h | 1 +
audé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/acpi/acpi-cpu-hotplug-stub.c| 6 +
hw/acpi/cpu.c | 7 --
hw/acpi/generic_event_device.c
Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
.../devices/loongarch64-softmmu/default.mak
t large patches into smaller patches
- Split the original patch
<> into
<>
<>
<>.
- Split the original patch
<> into
<>
<>
- Added loongarch cpu topology calculation method.
- Change the position of the cpu topology patch.
-
iaojuan Yang
Cc: Song Gao
Cc: "Michael S. Tsirkin"
Cc: Igor Mammedov
Cc: Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc:
t;
Cc: Igor Mammedov
Cc: Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/ac
nderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 20
target/loongarch/c
ni Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/loongarch/virt.c
Cc: Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/acpi/cpu.c | 20
. Berrangé"
Cc: Thomas Huth
Cc: "Philippe Mathieu-Daudé"
Cc: Gerd Hoffmann
Cc: Xiaojuan Yang
Cc: Song Gao
Cc: Bibo Mao
Signed-off-by: xianglai li
---
.gitmodules| 3 +++
meson.build| 2 +-
pc-bios/meson.build| 2 ++
roms/edk2-build.config | 14
ng
Cc: Song Gao
Cc: "Michael S. Tsirkin"
Cc: Igor Mammedov
Cc: Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc:
Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
.../devices/loongarch64-softmmu/default.mak | 1 +
hw/loongarch/virt.c | 223
Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/core/gpio.c | 4 ++--
include/hw
ichard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/acpi/acpi-cpu-hotplug-stub.c | 9 +
hw/loongarch/acpi
tches into smaller patches
- Split the original patch
<> into
<>
<>
<>.
- Split the original patch
<> into
<>
<>
- Added loongarch cpu topology calculation method.
- Change the position of the cpu topology patch.
- Change unre
;
Cc: Igor Mammedov
Cc: Ani Sinha
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
-
erson
Cc: Eduardo Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
include/exec/cpu-common.h | 8
include/hw/cor
ang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/acpi/cpu.c | 20 +++-
hw/i386/acpi-build.c | 2 +-
include/hw/acpi/cpu.h | 5 +++--
3 files changed, 19 insertions(+), 8 deletions(-)
diff --gi
ot;Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 22 ++
target/loongarch/cpu.h | 1 +
2 files changed, 23 insertions(+)
diff --git a/t
Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/loongarch/acpi-build.c | 17 +
hw/loongarch/generic_event_device_loongarch.
Habkost
Cc: Marcel Apfelbaum
Cc: "Philippe Mathieu-Daudé"
Cc: Yanan Wang
Cc: "Daniel P. Berrangé"
Cc: Peter Xu
Cc: David Hildenbrand
Cc: Bibo Mao
Signed-off-by: xianglai li
---
hw/loongarch/virt.c | 105
include/hw/loonga
and arm naming methods,
and the UEFI image names in x86 and arm are:
edk2-i386-code.fd
edk2-i386-vars.fd
edk2-arm-code.fd
edk2-arm-vars.fd
So on loongarch, we named it:
edk2-loongarch64-code.fd
edk2-loongarch64-vars.fd
Signed-off-by: Xianglai Li
---
Cc: Song Gao
Cc: Jiaxun Yang
Cc: Paolo Bonzini
The lddir and ldpte instruction emulation has
a problem with the use of large page processing above level 2.
The page size is not correctly calculated,
resulting in the wrong page size of the table entry found by tlb.
Signed-off-by: Xianglai Li
---
target/loongarch/cpu.h| 1
interface normally.
The lddir and ldpte instruction emulation has
a problem with the use of super large page processing above level 2.
The page size is not correctly calculated,
resulting in the wrong page size of the table entry found by tlb.
Signed-off-by: Xianglai Li
Cc: maob...@loongson.cn
Cc
mat and Enrich the commit mesg description
Cc: maob...@loongson.cn
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: zhaotian...@loongson.cn
Xianglai Li (1):
target/loongarch: Fixed tlb huge page loading issue
target/loongarch/cpu.h| 1 +
target/loongarch/tcg/tlb_helper.c |
ble LDDIR_PS, and implement lddir and ldpte
huge pages by referring to the latest architecture reference manual.
V1->V2:
Modified the patch title format and Enrich the commit mesg description
Cc: maob...@loongson.cn
Cc: Song Gao
Cc: Xiaojuan Yang
Cc: zhaotian...@loongson.cn
Xianglai Li (1):
interface normally.
The lddir and ldpte instruction emulation has
a problem with the use of super large page processing above level 2.
The page size is not correctly calculated,
resulting in the wrong page size of the table entry found by tlb.
Signed-off-by: Xianglai Li
Cc: maob...@loongson.cn
Cc
kernel.
Signed-off-by: Tianrui Zhao
Signed-off-by: Xianglai Li
---
Cc: Paolo Bonzini
Cc: Song Gao
Cc: Huacai Chen
Cc: Jiaxun Yang
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
hw/intc/Kconfig | 4 +
hw/intc/loongarch
Added pch_msi interrupt controller handling
during kernel emulation of irq chip.
Signed-off-by: Xianglai Li
---
Cc: Paolo Bonzini
Cc: Song Gao
Cc: Huacai Chen
Cc: Jiaxun Yang
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
Cc: Huacai Chen
Cc: Jiaxun Yang
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
Xianglai Li (4):
hw/loongarch: Add KVM IPI device support
hw/loongarch: Add KVM extioi device support
hw/loongarch: Add KVM pch pic device support
hw/loon
data
is sent to the kernel.
Signed-off-by: Tianrui Zhao
Signed-off-by: Xianglai Li
---
Cc: Paolo Bonzini
Cc: Song Gao
Cc: Huacai Chen
Cc: Jiaxun Yang
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
hw/intc/Kconfig|
interrupt controller data in the kernel and saves it.
When the VM is recovered, the saved data is sent to the kernel.
Signed-off-by: Xianglai Li
---
Cc: Paolo Bonzini
Cc: Song Gao
Cc: Huacai Chen
Cc: Jiaxun Yang
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc
Cc: zhaotian...@loongson.cn
Cc: yi...@loongson.cn
Cc: wuruiy...@loongson.cn
Signed-off-by: Xianglai Li
---
target/loongarch/cpu-csr.h| 3 +
target/loongarch/internals.h | 5 --
target/loongarch/tcg/tlb_helper.c | 105 --
3 files changed, 74
interface normally.
The lddir and ldpte instruction emulation has
a problem with the use of super large page processing above level 2.
The page size is not correctly calculated,
resulting in the wrong page size of the table entry found by tlb.
Signed-off-by: Xianglai Li
---
target/loongarch/cpu
interface normally.
The lddir and ldpte instruction emulation has
a problem with the use of super huge page processing above level 2.
The page size is not correctly calculated,
resulting in the wrong page size of the table entry found by tlb.
Signed-off-by: Xianglai Li
---
target/loongarch/cpu
interface normally.
The lddir and ldpte instruction emulation has
a problem with the use of super huge page processing above level 2.
The page size is not correctly calculated,
resulting in the wrong page size of the table entry found by tlb.
Signed-off-by: Xianglai Li
---
target/loongarch/cpu
The LoongArch KVM patch series have been merged in Linux kernel,
so we remove the RFC flag in this patch series.
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
From: Tianrui Zhao
Supplement vcpu env initial when vcpu reset, including
init vcpu CSR_CPUID,CSR_TID to cpu->cpu_index. The two
regs will be used in kvm_get/set_csr_ioctl.
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 2 ++
target/loongarch/cpu.h
From: zhaotianrui
Update linux KVM headers about LoongArch KVM form linux
kernel. Mainly contains some KVM structures and macro
defines such as LoongArch KVM registers number, LoongArch
fpu structure, exit reason of LoongArch IOCSR, etc.
Signed-off-by: zhaotianrui
Signed-off-by: xianglai li
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.
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
meson.build | 1 +
target/loongarch/cpu.c
: Tianrui Zhao
Reviewed-by: Richard Henderson
Signed-off-by: xianglai li
---
target/loongarch/kvm.c | 131 +
1 file changed, 131 insertions(+)
create mode 100644 target/loongarch/kvm.c
diff --git a/target/loongarch/kvm.c b/target/loongarch/kvm.c
new file mode
refreshed from kvm.
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
target/loongarch/cpu.h| 2 ++
target/loongarch/kvm.c| 23 +++
target/loongarch/trace-events | 2 ++
3 files changed, 27 insertions(+)
diff --git a/target/loongarch/cpu.h b/target
From: Tianrui Zhao
Add kvm.c and kvm-stub.c into meson.build to compile
it when kvm is configed. Meanwhile in meson.build,
we set the kvm_targets to loongarch64-softmmu when
the cpu is loongarch.
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
meson.build | 2
: xianglai li
---
target/loongarch/kvm.c| 24 +++-
target/loongarch/trace-events | 1 +
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/target/loongarch/kvm.c b/target/loongarch/kvm.c
index 85e7aeb083..d2dab3fef4 100644
--- a/target/loongarch/kvm.c
+++ b
From: Tianrui Zhao
Implement the kvm_arch_init of loongarch, in the function, the
KVM_CAP_MP_STATE cap is checked by kvm ioctl.
Signed-off-by: Tianrui Zhao
Reviewed-by: Richard Henderson
Signed-off-by: xianglai li
---
target/loongarch/kvm.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Tianrui Zhao
Implement loongarch kvm set vcpu interrupt interface,
when a irq is set in vcpu, we use the KVM_INTERRUPT
ioctl to set intr into kvm.
Signed-off-by: Tianrui Zhao
Signed-off-by: xianglai li
---
target/loongarch/cpu.c | 18 +-
target/loongarch/kvm
Add devices that support tpm by default,
Fixed incomplete tpm acpi table information.
Signed-off-by: Xianglai Li
---
Cc: Bibo Mao
Cc: Paolo Bonzini
Cc: Song Gao
hw/loongarch/Kconfig | 1 +
hw/loongarch/acpi-build.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/hw/loongarch
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.
Signed-off-by: Xianglai Li
---
Cc: Bibo Mao
Cc: Song Gao
include/hw/loongarch/virt.h | 2 +-
1 file changed, 1
he same UEFI loading
scheme as other architectures.
Cc: Andrea Bolognani
Cc: maob...@loongson.cn
Cc: Philippe Mathieu-Daudé
Cc: Song Gao
Cc: zhaotian...@loongson.cn
Signed-off-by: Xianglai Li
---
hw/loongarch/acpi-build.c | 29 +--
hw/loongarch/
he same UEFI loading
scheme as other architectures.
Cc: Andrea Bolognani
Cc: maob...@loongson.cn
Cc: Philippe Mathieu-Daudé
Cc: Song Gao
Cc: zhaotian...@loongson.cn
Signed-off-by: Xianglai Li
---
hw/loongarch/acpi-build.c | 29 +--
hw/loongarch/
he same UEFI loading
scheme as other architectures.
V2:
Change the size of flash0 from 4M to 16M
Add test-by
Cc: Andrea Bolognani
Cc: maob...@loongson.cn
Cc: Philippe Mathieu-Daudé
Cc: Song Gao
Cc: zhaotian...@loongson.cn
Xianglai Li (1):
loongarch: Change the UEFI loading mode to loongarch
he same UEFI loading
scheme as other architectures.
Cc: Andrea Bolognani
Cc: maob...@loongson.cn
Cc: Philippe Mathieu-Daudé
Cc: Song Gao
Cc: zhaotian...@loongson.cn
Signed-off-by: Xianglai Li
Tested-by: Andrea Bolognani
---
hw/loongarch/acpi-build.c | 29 +--
hw/loongarch/
Added pch_msi interrupt controller handling
during kernel emulation of irq chip.
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.org
Cc: Bibo Mao
Cc: Xianglai Li
kernel.
Signed-off-by: Tianrui Zhao
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.org
Cc: Bibo Mao
Cc: Xianglai Li
hw/intc/Kconfig | 3
interrupt controller data in the kernel and saves it.
When the VM is recovered, the saved data is sent to the kernel.
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.org
Cc: Bi
data
is sent to the kernel.
Signed-off-by: Tianrui Zhao
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.org
Cc: Bibo Mao
Cc: Xianglai Li
hw/intc/Kconfig
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.org
Cc: Bibo Mao
Cc: Xianglai Li
inclu
ang
Cc: Huacai Chen
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
Cc: Xianglai Li
Xianglai Li (5):
include: Add macro definitions needed for interrupt controller kvm
emulation
hw/loongarch: Add KVM IPI device support
hw/loongarch: Add KVM
76 matches
Mail list logo