Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: b61b9d891305abf8fe37f07280ca5a99a10da6cf
https://github.com/qemu/qemu/commit/b61b9d891305abf8fe37f07280ca5a99a10da6cf
Author: Xianglai Li <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: fix vcpu reset command word issue
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
will fail to be sent.
Signed-off-by: Xianglai Li <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Bibo Mao <[email protected]>
Commit: 7bd4eaa847fcdbc4505d9ab95dafa21791d8302a
https://github.com/qemu/qemu/commit/7bd4eaa847fcdbc4505d9ab95dafa21791d8302a
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/gdbstub.c
Log Message:
-----------
target/loongarch/gdbstub: Fix gdbstub incorrectly handling some registers
Write operation with R32 (orig_a0) and R34 (CSR_BADV) is discarded on
gdbstub implementation for LoongArch system. And return value should
be register size rather than 0, since it is used to calculate offset of
next register such as R33 (PC) in function handle_write_all_regs().
Cc: [email protected]
Fixes: ca61e75071c6 ("target/loongarch: Add gdb support.")
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 0262c8075e9dc62a53a4bd15ea8d92a4c9adf018
https://github.com/qemu/qemu/commit/0262c8075e9dc62a53a4bd15ea8d92a4c9adf018
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.c
Log Message:
-----------
target/loongarch: Correct maximum physical address in KVM mode
On 3A5000 system, the physical address space width for host is 48,
however 47 bit for KVM VM. For KVM VM, size of physical address space is
the same with that of virtual user space address.
Here modify physical address space width with 47 bit in KVM mode.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 3406b001e6e5992a8cc9b2442216de312b111c07
https://github.com/qemu/qemu/commit/3406b001e6e5992a8cc9b2442216de312b111c07
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: Add post init function for kvm mode
Some features such as LBT and PMU are implemented in kvm mode,
With paravirt features in future, post init function is added
for kvm mode, so that property for these features will be created
in kvm post init function.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 780a65bd955dee4e58b2cefb3312e85731eace6e
https://github.com/qemu/qemu/commit/780a65bd955dee4e58b2cefb3312e85731eace6e
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.c
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: Move kvm specified vCPU property to kvm directory
LBT and PMU feature is supported only in kvm mode, move property
about these two features to function kvm_loongarch_cpu_post_init().
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 5b0502c56412c115f9ff37fad56ff53674676a22
https://github.com/qemu/qemu/commit/5b0502c56412c115f9ff37fad56ff53674676a22
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.h
M target/loongarch/kvm/kvm.c
M target/loongarch/loongarch-qmp-cmds.c
Log Message:
-----------
target/loongarch: Add vCPU property for paravirt ipi feature
Property kvm-pv-ipi is added to paravirt ipi feature, it is specially
for kvm mode.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 620d9bd0022e011147c1133ef542c45a0da962e4
https://github.com/qemu/qemu/commit/620d9bd0022e011147c1133ef542c45a0da962e4
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.h
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: Add paravirt ipi feature detection
Paravirt ipi feature is OnOffAuto type, feature detection is added
to check whether it is supported by KVM host.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 2698cc7c99b50cf4bb127c56e5c90f7f3cba6f0d
https://github.com/qemu/qemu/commit/2698cc7c99b50cf4bb127c56e5c90f7f3cba6f0d
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: Enable paravirt ipi feature
The similiar with cpucfg register, paravirt ipi feature is set in
function kvm_arch_put_registers(). Instead the paravirt feature can
be enabled only once, it cannot be changed dynamically.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 610babce1ed83a0fd3af14f5195114d6c5338610
https://github.com/qemu/qemu/commit/610babce1ed83a0fd3af14f5195114d6c5338610
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.h
M target/loongarch/kvm/kvm.c
M target/loongarch/loongarch-qmp-cmds.c
Log Message:
-----------
target/loongarch: Add vCPU property for kvm steal time feature
Property kvm-steal-time is added for kvm steal time feature, it is
specially for kvm mode.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 954cc5c311cd4459ce16a3302ff8611d98473d7d
https://github.com/qemu/qemu/commit/954cc5c311cd4459ce16a3302ff8611d98473d7d
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M target/loongarch/cpu.h
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: Add kvm steal time feature detection
Paravirt steal time feature is OnOffAuto type, feature detection is added
to check whether it is supported on KVM host.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: db369c11c90b35f3a6ab59ad78564aea5b30c3da
https://github.com/qemu/qemu/commit/db369c11c90b35f3a6ab59ad78564aea5b30c3da
Author: Bibo Mao <[email protected]>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M hw/loongarch/virt.c
M include/hw/loongarch/virt.h
M target/loongarch/kvm/kvm.c
Log Message:
-----------
target/loongarch: Enable virtual extioi feature
Feature virtual extioi is loongArch virt machine property rather than
vCPU property in qemu side. However it is vCPU property in KVM kernel
side, here add loongArch virt machine property checking and enable virt
extioi feature when vCPU is created.
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Commit: 50d38b8921837827ea397d4b20c8bc5efe186e53
https://github.com/qemu/qemu/commit/50d38b8921837827ea397d4b20c8bc5efe186e53
Author: Stefan Hajnoczi <[email protected]>
Date: 2025-02-26 (Wed, 26 Feb 2025)
Changed paths:
M hw/loongarch/virt.c
M include/hw/loongarch/virt.h
M target/loongarch/cpu.c
M target/loongarch/cpu.h
M target/loongarch/gdbstub.c
M target/loongarch/kvm/kvm.c
M target/loongarch/loongarch-qmp-cmds.c
Log Message:
-----------
Merge tag 'pull-loongarch-20250225' of https://gitlab.com/bibo-mao/qemu into
staging
loongarch queue
# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQQNhkKjomWfgLCz0aQfewwSUazn0QUCZ7156AAKCRAfewwSUazn
# 0T2AAQDW4zr8ECab5FH+udeCtGOv2I6gtTT8CwjwhCdHNzsAAgEAxi0JJOjTIMrK
# z657Q4MTeKbTyzi48niXBbI9hKvyhQM=
# =g4Wx
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 25 Feb 2025 16:06:00 HKT
# gpg: using EDDSA key 0D8642A3A2659F80B0B3D1A41F7B0C1251ACE7D1
# gpg: Good signature from "bibo mao <[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 7044 3A00 19C0 E97A 31C7 13C4 8E86 8FB7 A176 9D4C
# Subkey fingerprint: 0D86 42A3 A265 9F80 B0B3 D1A4 1F7B 0C12 51AC E7D1
* tag 'pull-loongarch-20250225' of https://gitlab.com/bibo-mao/qemu:
target/loongarch: Enable virtual extioi feature
target/loongarch: Add kvm steal time feature detection
target/loongarch: Add vCPU property for kvm steal time feature
target/loongarch: Enable paravirt ipi feature
target/loongarch: Add paravirt ipi feature detection
target/loongarch: Add vCPU property for paravirt ipi feature
target/loongarch: Move kvm specified vCPU property to kvm directory
target/loongarch: Add post init function for kvm mode
target/loongarch: Correct maximum physical address in KVM mode
target/loongarch/gdbstub: Fix gdbstub incorrectly handling some registers
target/loongarch: fix vcpu reset command word issue
Signed-off-by: Stefan Hajnoczi <[email protected]>
Compare: https://github.com/qemu/qemu/compare/b69801dd6b1e...50d38b892183
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications