Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 02ce6cea71be4f6774351f5e658d50044c5b53b2
      
https://github.com/qemu/qemu/commit/02ce6cea71be4f6774351f5e658d50044c5b53b2
  Author: Guo Hongyu <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M target/loongarch/tcg/insn_trans/trans_vec.c.inc

  Log Message:
  -----------
  target/loongarch: Fix vldi inst

Refer to the link below for a description of the vldi instructions:
https://jia.je/unofficial-loongarch-intrinsics-guide/lsx/misc/#synopsis_88
Fixed errors in vldi instruction implementation.

Signed-off-by: Guo Hongyu <[email protected]>
Tested-by: Xianglai Li <[email protected]>
Signed-off-by: Xianglai Li <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>
Signed-off-by: Bibo Mao <[email protected]>


  Commit: d41989e7548397b469ec9c7be4cee699321a317e
      
https://github.com/qemu/qemu/commit/d41989e7548397b469ec9c7be4cee699321a317e
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M target/loongarch/tcg/insn_trans/trans_vec.c.inc

  Log Message:
  -----------
  target/loongarch: Use actual operand size with vbsrl check

Hardcoded 32 bytes is used for vbsrl emulation check, there is
problem when options lsx=on,lasx=off is used for vbsrl.v instruction
in TCG mode. It injects LASX exception rather LSX exception.

Here actual operand size is used.

Cc: [email protected]
Fixes: df97f338076 ("target/loongarch: Implement xvreplve xvinsve0 xvpickve")
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 2f1399b008e5aeab6283fbe2cda5c440f62ff1bb
      
https://github.com/qemu/qemu/commit/2f1399b008e5aeab6283fbe2cda5c440f62ff1bb
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M hw/loongarch/virt.c

  Log Message:
  -----------
  hw/loongarch/virt: Create fdt table on machine creation done notification

The same with ACPI table, fdt table is created on machine done
notification. Some objects like CPU objects can be created with cold-plug
method with command such as -smp x, -device la464-loongarch-cpu, so all
objects finish to create when machine is done.

Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>


  Commit: b360109fc6b3b6ffae071d5b38c9bba0f9728160
      
https://github.com/qemu/qemu/commit/b360109fc6b3b6ffae071d5b38c9bba0f9728160
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M hw/loongarch/virt.c

  Log Message:
  -----------
  hw/loongarch/virt: Improve fdt table creation for CPU object

For CPU object, possible_cpu_arch_ids() function is used rather than
smp.cpus. With command -smp x, -device la464-loongarch-cpu, smp.cpus
is not accurate for all possible CPU objects, possible_cpu_arch_ids()
is used here.

Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>


  Commit: 936c3f4d79160b0c4d9d0097b5643fc7e460c605
      
https://github.com/qemu/qemu/commit/936c3f4d79160b0c4d9d0097b5643fc7e460c605
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M target/loongarch/cpu.c
    M target/loongarch/cpu.h
    M target/loongarch/kvm/kvm.c

  Log Message:
  -----------
  target/loongarch: Use auto method with LSX feature

Like LBT feature, add type OnOffAuto for LSX feature setting. Also
add LSX feature detection with new VM ioctl command, fallback to old
method if it is not supported.

Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>


  Commit: 5e360dabedb1ab1f15cce27a134ccbe4b8e18424
      
https://github.com/qemu/qemu/commit/5e360dabedb1ab1f15cce27a134ccbe4b8e18424
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M target/loongarch/cpu.c
    M target/loongarch/cpu.h
    M target/loongarch/kvm/kvm.c

  Log Message:
  -----------
  target/loongarch: Use auto method with LASX feature

Like LSX feature, add type OnOffAuto for LASX feature setting.

Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Bibo Mao <[email protected]>


  Commit: 18463a89b6c020b2be712cd88e0f2436b6b43a5d
      
https://github.com/qemu/qemu/commit/18463a89b6c020b2be712cd88e0f2436b6b43a5d
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M hw/loongarch/virt.c
    M target/loongarch/cpu.c
    M target/loongarch/cpu.h
    M target/loongarch/kvm/kvm.c
    M target/loongarch/tcg/insn_trans/trans_vec.c.inc

  Log Message:
  -----------
  Merge tag 'pull-loongarch-20241227' of https://gitlab.com/bibo-mao/qemu into 
staging

loongarch queue

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQQNhkKjomWfgLCz0aQfewwSUazn0QUCZ24ohgAKCRAfewwSUazn
# 0cH1AP9jJB/UK+tm0E4zAXcVb7uInNa465qUbLk4F1Ep9+pLhwEApNatYEXtOxdP
# zFm0W64/hD0kppDkXG6r3W3uoAjWMAM=
# =IJGD
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 26 Dec 2024 23:09:42 EST
# 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-20241227' of https://gitlab.com/bibo-mao/qemu:
  target/loongarch: Use auto method with LASX feature
  target/loongarch: Use auto method with LSX feature
  hw/loongarch/virt: Improve fdt table creation for CPU object
  hw/loongarch/virt: Create fdt table on machine creation done notification
  target/loongarch: Use actual operand size with vbsrl check
  target/loongarch: Fix vldi inst

Signed-off-by: Stefan Hajnoczi <[email protected]>


Compare: https://github.com/qemu/qemu/compare/38d0939b86e2...18463a89b6c0

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to