[Qemu-commits] [qemu/qemu]

2022-11-08 Thread Paolo Bonzini via Qemu-commits
  Branch: refs/tags/v7.2.0-rc0
  Home:   https://github.com/qemu/qemu



[Qemu-commits] [qemu/qemu] bc5add: vhost-vdpa: fix assert !virtio_net_get_subqueue(nc...

2022-11-08 Thread Paolo Bonzini via Qemu-commits
  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bc5add1dadcc140fef9af4fe215167e796cd1a58
  
https://github.com/qemu/qemu/commit/bc5add1dadcc140fef9af4fe215167e796cd1a58
  Author: Si-Wei Liu 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M net/vhost-vdpa.c

  Log Message:
  ---
  vhost-vdpa: fix assert !virtio_net_get_subqueue(nc)->async_tx.elem in 
virtio_net_reset

The citing commit has incorrect code in vhost_vdpa_receive() that returns
zero instead of full packet size to the caller. This renders pending packets
unable to be freed so then get clogged in the tx queue forever. When device
is being reset later on, below assertion failure ensues:

0  0x7f86d53bb387 in raise () from /lib64/libc.so.6
1  0x7f86d53bca78 in abort () from /lib64/libc.so.6
2  0x7f86d53b41a6 in __assert_fail_base () from /lib64/libc.so.6
3  0x7f86d53b4252 in __assert_fail () from /lib64/libc.so.6
4  0x55b8f6ff6fcc in virtio_net_reset (vdev=) at 
/usr/src/debug/qemu/hw/net/virtio-net.c:563
5  0x55b8f7012fcf in virtio_reset (opaque=0x55b8faf881f0) at 
/usr/src/debug/qemu/hw/virtio/virtio.c:1993
6  0x55b8f71f0086 in virtio_bus_reset (bus=bus@entry=0x55b8faf88178) at 
/usr/src/debug/qemu/hw/virtio/virtio-bus.c:102
7  0x55b8f71f1620 in virtio_pci_reset (qdev=) at 
/usr/src/debug/qemu/hw/virtio/virtio-pci.c:1845
8  0x55b8f6fafc6c in memory_region_write_accessor (mr=, 
addr=, value=,
   size=, shift=, mask=, 
attrs=...) at /usr/src/debug/qemu/memory.c:483
9  0x55b8f6fadce9 in access_with_adjusted_size (addr=addr@entry=20, 
value=value@entry=0x7f867e7fb7e8, size=size@entry=1,
   access_size_min=, access_size_max=, 
access_fn=0x55b8f6fafc20 ,
   mr=0x55b8faf80a50, attrs=...) at /usr/src/debug/qemu/memory.c:544
10 0x55b8f6fb1d0b in memory_region_dispatch_write 
(mr=mr@entry=0x55b8faf80a50, addr=addr@entry=20, data=0, op=,
   attrs=attrs@entry=...) at /usr/src/debug/qemu/memory.c:1470
11 0x55b8f6f62ada in flatview_write_continue (fv=fv@entry=0x7f86ac04cd20, 
addr=addr@entry=549755813908, attrs=...,
   attrs@entry=..., buf=buf@entry=0x7f86d0223028 , len=len@entry=1, addr1=20, l=1,
   mr=0x55b8faf80a50) at /usr/src/debug/qemu/exec.c:3266
12 0x55b8f6f62c8f in flatview_write (fv=0x7f86ac04cd20, addr=549755813908, 
attrs=...,
   buf=0x7f86d0223028 , len=1) at 
/usr/src/debug/qemu/exec.c:3306
13 0x55b8f6f674cb in address_space_write (as=, 
addr=, attrs=..., buf=,
   len=) at /usr/src/debug/qemu/exec.c:3396
14 0x55b8f6f67575 in address_space_rw (as=, addr=, attrs=..., attrs@entry=...,
   buf=buf@entry=0x7f86d0223028 , 
len=, is_write=)
   at /usr/src/debug/qemu/exec.c:3406
15 0x55b8f6fc1cc8 in kvm_cpu_exec (cpu=cpu@entry=0x55b8f9aa0e10) at 
/usr/src/debug/qemu/accel/kvm/kvm-all.c:2410
16 0x55b8f6fa5f5e in qemu_kvm_cpu_thread_fn (arg=0x55b8f9aa0e10) at 
/usr/src/debug/qemu/cpus.c:1318
17 0x55b8f7336e16 in qemu_thread_start (args=0x55b8f9ac8480) at 
/usr/src/debug/qemu/util/qemu-thread-posix.c:519
18 0x7f86d575aea5 in start_thread () from /lib64/libpthread.so.0
19 0x7f86d5483b2d in clone () from /lib64/libc.so.6

Make vhost_vdpa_receive() return the size passed in as is, so that the
caller qemu_deliver_packet_iov() would eventually propagate it back to
virtio_net_flush_tx() to release pending packets from the async_tx queue.
Which corresponds to the drop path where qemu_sendv_packet_async() returns
non-zero in virtio_net_flush_tx().

Fixes: 846a1e85da64 ("vdpa: Add dummy receive callback")
Cc: Eugenio Perez Martin 
Signed-off-by: Si-Wei Liu 
Signed-off-by: Jason Wang 
Signed-off-by: Stefan Hajnoczi 
Message-Id: <20221108041929.18417-2-jasow...@redhat.com>


  Commit: f9c307c3f9dfda64355fd2c6d73b002913d6752c
  
https://github.com/qemu/qemu/commit/f9c307c3f9dfda64355fd2c6d73b002913d6752c
  Author: Zhenzhong Duan 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M softmmu/physmem.c

  Log Message:
  ---
  memory: Fix wrong end address dump

The end address of memory region section isn't correctly calculated
which leads to overflowed mtree dump:

  Dispatch
Physical sections
  ..
  #70 @2000..00011fff io [ROOT]
  #71 @5000..5fff (noname)
  #72 @5000..00014fff io [ROOT]
  #73 @5658..5658 vmport
  #74 @5659..00015658 io [ROOT]
  #75 @6000..00015fff io [ROOT]

After fix:
  #70 @2000..4fff io [ROOT]
  #71 @5000..5fff (noname)
  #72 @5000..5657 io [ROOT]
  #73 @5658..5658 vmport
  #74 @5659..5fff io [ROOT]
  #75 @6000.. io [ROOT]

Fixes: 5e8fd947e2670 ("memory: Rework "info mtree" to print flat views and 
dispatch trees")
Signed-off-by: Zhenzhong Duan 
Reviewed-by: David 

[Qemu-commits] [qemu/qemu] f9c307: memory: Fix wrong end address dump

2022-11-08 Thread Paolo Bonzini via Qemu-commits
  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: f9c307c3f9dfda64355fd2c6d73b002913d6752c
  
https://github.com/qemu/qemu/commit/f9c307c3f9dfda64355fd2c6d73b002913d6752c
  Author: Zhenzhong Duan 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M softmmu/physmem.c

  Log Message:
  ---
  memory: Fix wrong end address dump

The end address of memory region section isn't correctly calculated
which leads to overflowed mtree dump:

  Dispatch
Physical sections
  ..
  #70 @2000..00011fff io [ROOT]
  #71 @5000..5fff (noname)
  #72 @5000..00014fff io [ROOT]
  #73 @5658..5658 vmport
  #74 @5659..00015658 io [ROOT]
  #75 @6000..00015fff io [ROOT]

After fix:
  #70 @2000..4fff io [ROOT]
  #71 @5000..5fff (noname)
  #72 @5000..5657 io [ROOT]
  #73 @5658..5658 vmport
  #74 @5659..5fff io [ROOT]
  #75 @6000.. io [ROOT]

Fixes: 5e8fd947e2670 ("memory: Rework "info mtree" to print flat views and 
dispatch trees")
Signed-off-by: Zhenzhong Duan 
Reviewed-by: David Hildenbrand 
Reviewed-by: Peter Xu 
Reviewed-by: Philippe Mathieu-Daudé 
Message-Id: <20220622095912.3430583-1-zhenzhong.d...@intel.com>
Signed-off-by: Philippe Mathieu-Daudé 


  Commit: ef7716cacc1d727747a6b230dde9f42fb46e939c
  
https://github.com/qemu/qemu/commit/ef7716cacc1d727747a6b230dde9f42fb46e939c
  Author: Daniel Henrique Barboza 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/block/pflash_cfi01.c
M hw/block/pflash_cfi02.c

  Log Message:
  ---
  Revert "hw/block/pflash_cfi: Error out if dev length isn't power of 2"

Commit 334c388f25 ("pflash_cfi: Error out if device length
isn't a power of two") aimed to finish the effort started by
commit 06f1521795 ("pflash: Require backend size to match device,
improve errors"), but unfortunately we are not quite there since
various machines are still ready to accept incomplete / oversized
pflash backend images, and now fail, i.e. on Debian bullseye:

 $ qemu-system-x86_64 \
   -drive \
   if=pflash,format=raw,unit=0,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd
 qemu-system-x86_64: Device size must be a power of two.

where OVMF_CODE.fd comes from the ovmf package, which doesn't
pad the firmware images to the flash size:

 $ ls -lh /usr/share/OVMF/
 -rw-r--r-- 1 root root 3.5M Aug 19  2021 OVMF_CODE_4M.fd
 -rw-r--r-- 1 root root 1.9M Aug 19  2021 OVMF_CODE.fd
 -rw-r--r-- 1 root root 128K Aug 19  2021 OVMF_VARS.fd

Since we entered the freeze period to prepare the v7.2.0 release,
the safest is to revert commit 334c388f25707a234c4a0dea05b9df08d.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1294
Signed-off-by: Philippe Mathieu-Daudé 
Message-Id: <20221108175755.95141-1-phi...@linaro.org>
Signed-off-by: Daniel Henrique Barboza 
Message-Id: <20221108172633.860700-1-danielhb...@gmail.com>


  Commit: 60ab36907ded2918d33683f2b66f603b7400d8f3
  
https://github.com/qemu/qemu/commit/60ab36907ded2918d33683f2b66f603b7400d8f3
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M VERSION

  Log Message:
  ---
  Update VERSION for v7.2.0-rc0

Signed-off-by: Stefan Hajnoczi 


Compare: https://github.com/qemu/qemu/compare/b96b19d7b4d7...60ab36907ded



[Qemu-commits] [qemu/qemu] 8a13fe: memory: Fix wrong end address dump

2022-11-08 Thread Paolo Bonzini via Qemu-commits
 \
   -drive \
   if=pflash,format=raw,unit=0,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd
 qemu-system-x86_64: Device size must be a power of two.

where OVMF_CODE.fd comes from the ovmf package, which doesn't
pad the firmware images to the flash size:

 $ ls -lh /usr/share/OVMF/
 -rw-r--r-- 1 root root 3.5M Aug 19  2021 OVMF_CODE_4M.fd
 -rw-r--r-- 1 root root 1.9M Aug 19  2021 OVMF_CODE.fd
 -rw-r--r-- 1 root root 128K Aug 19  2021 OVMF_VARS.fd

Since we entered the freeze period to prepare the v7.2.0 release,
the safest is to revert commit 334c388f25707a234c4a0dea05b9df08d.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1294
Signed-off-by: Philippe Mathieu-Daudé 
Message-Id: <20221108175755.95141-1-phi...@linaro.org>
Signed-off-by: Daniel Henrique Barboza 
Message-Id: <20221108172633.860700-1-danielhb...@gmail.com>


  Commit: bc5add1dadcc140fef9af4fe215167e796cd1a58
  
https://github.com/qemu/qemu/commit/bc5add1dadcc140fef9af4fe215167e796cd1a58
  Author: Si-Wei Liu 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M net/vhost-vdpa.c

  Log Message:
  ---
  vhost-vdpa: fix assert !virtio_net_get_subqueue(nc)->async_tx.elem in 
virtio_net_reset

The citing commit has incorrect code in vhost_vdpa_receive() that returns
zero instead of full packet size to the caller. This renders pending packets
unable to be freed so then get clogged in the tx queue forever. When device
is being reset later on, below assertion failure ensues:

0  0x7f86d53bb387 in raise () from /lib64/libc.so.6
1  0x7f86d53bca78 in abort () from /lib64/libc.so.6
2  0x7f86d53b41a6 in __assert_fail_base () from /lib64/libc.so.6
3  0x7f86d53b4252 in __assert_fail () from /lib64/libc.so.6
4  0x55b8f6ff6fcc in virtio_net_reset (vdev=) at 
/usr/src/debug/qemu/hw/net/virtio-net.c:563
5  0x55b8f7012fcf in virtio_reset (opaque=0x55b8faf881f0) at 
/usr/src/debug/qemu/hw/virtio/virtio.c:1993
6  0x55b8f71f0086 in virtio_bus_reset (bus=bus@entry=0x55b8faf88178) at 
/usr/src/debug/qemu/hw/virtio/virtio-bus.c:102
7  0x55b8f71f1620 in virtio_pci_reset (qdev=) at 
/usr/src/debug/qemu/hw/virtio/virtio-pci.c:1845
8  0x55b8f6fafc6c in memory_region_write_accessor (mr=, 
addr=, value=,
   size=, shift=, mask=, 
attrs=...) at /usr/src/debug/qemu/memory.c:483
9  0x55b8f6fadce9 in access_with_adjusted_size (addr=addr@entry=20, 
value=value@entry=0x7f867e7fb7e8, size=size@entry=1,
   access_size_min=, access_size_max=, 
access_fn=0x55b8f6fafc20 ,
   mr=0x55b8faf80a50, attrs=...) at /usr/src/debug/qemu/memory.c:544
10 0x55b8f6fb1d0b in memory_region_dispatch_write 
(mr=mr@entry=0x55b8faf80a50, addr=addr@entry=20, data=0, op=,
   attrs=attrs@entry=...) at /usr/src/debug/qemu/memory.c:1470
11 0x55b8f6f62ada in flatview_write_continue (fv=fv@entry=0x7f86ac04cd20, 
addr=addr@entry=549755813908, attrs=...,
   attrs@entry=..., buf=buf@entry=0x7f86d0223028 , len=len@entry=1, addr1=20, l=1,
   mr=0x55b8faf80a50) at /usr/src/debug/qemu/exec.c:3266
12 0x55b8f6f62c8f in flatview_write (fv=0x7f86ac04cd20, addr=549755813908, 
attrs=...,
   buf=0x7f86d0223028 , len=1) at 
/usr/src/debug/qemu/exec.c:3306
13 0x55b8f6f674cb in address_space_write (as=, 
addr=, attrs=..., buf=,
   len=) at /usr/src/debug/qemu/exec.c:3396
14 0x55b8f6f67575 in address_space_rw (as=, addr=, attrs=..., attrs@entry=...,
   buf=buf@entry=0x7f86d0223028 , 
len=, is_write=)
   at /usr/src/debug/qemu/exec.c:3406
15 0x55b8f6fc1cc8 in kvm_cpu_exec (cpu=cpu@entry=0x55b8f9aa0e10) at 
/usr/src/debug/qemu/accel/kvm/kvm-all.c:2410
16 0x55b8f6fa5f5e in qemu_kvm_cpu_thread_fn (arg=0x55b8f9aa0e10) at 
/usr/src/debug/qemu/cpus.c:1318
17 0x55b8f7336e16 in qemu_thread_start (args=0x55b8f9ac8480) at 
/usr/src/debug/qemu/util/qemu-thread-posix.c:519
18 0x7f86d575aea5 in start_thread () from /lib64/libpthread.so.0
19 0x7f86d5483b2d in clone () from /lib64/libc.so.6

Make vhost_vdpa_receive() return the size passed in as is, so that the
caller qemu_deliver_packet_iov() would eventually propagate it back to
virtio_net_flush_tx() to release pending packets from the async_tx queue.
Which corresponds to the drop path where qemu_sendv_packet_async() returns
non-zero in virtio_net_flush_tx().

Fixes: 846a1e85da64 ("vdpa: Add dummy receive callback")
Cc: Eugenio Perez Martin 
Signed-off-by: Si-Wei Liu 
Signed-off-by: Jason Wang 
Signed-off-by: Stefan Hajnoczi 
Message-Id: <20221108041929.18417-2-jasow...@redhat.com>


  Commit: 5391ae9c4ec396c1930d6ea1ebc7c6951ce897ae
  
https://github.com/qemu/qemu/commit/5391ae9c4ec396c1930d6ea1ebc7c6951ce897ae
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/block/pflash_cfi01.c
M hw/block/pflash_cfi02.c
M hw/sd/sdhci.c
M softmmu/physmem.c

  Log Message:
  ---
  Merge tag 'memflash-20221108' of https://github.com/philmd/qemu into staging

Memory/SDHCI/ParallelFlash patches queue

- F

[Qemu-commits] [qemu/qemu] 8063db: target/mips: Set CP0St_{KX, SX, UX} for Loongson-2F

2022-11-08 Thread Paolo Bonzini via Qemu-commits
esolves: https://gitlab.com/qemu-project/qemu/-/issues/370
Reviewed-by: Daniel P. Berrangé 
Signed-off-by: Amarjargal Gundjalam 
Message-Id: 
<9a0d0718aafaa52029fad76a149f3200b6bba0dd.1666707782.git.amarjarga...@gmail.com>
Reviewed-by: Thomas Huth 
Signed-off-by: Thomas Huth 


  Commit: a076a3dcbf6cd5b038ce5ac8f419bb8d65f6432a
  
https://github.com/qemu/qemu/commit/a076a3dcbf6cd5b038ce5ac8f419bb8d65f6432a
  Author: Amarjargal Gundjalam 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/display/blizzard.c
M hw/display/cirrus_vga.c
M hw/display/omap_dss.c
M hw/display/pxa2xx_lcd.c
M hw/display/vga_regs.h
M hw/display/xenfb.c

  Log Message:
  ---
  hw/display: fix tab indentation

The TABs should be replaced with spaces, to make sure that we have a
consistent coding style with an indentation of 4 spaces everywhere.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/370
Signed-off-by: Amarjargal Gundjalam 
Message-Id: 
<5cefd05b4d3721d416e48e6df19df18cb6338933.1666707782.git.amarjarga...@gmail.com>
Reviewed-by: Thomas Huth 
Signed-off-by: Thomas Huth 


  Commit: 6c10e08a4f131431dbb50a11912cb2a726879df3
  
https://github.com/qemu/qemu/commit/6c10e08a4f131431dbb50a11912cb2a726879df3
  Author: Amarjargal Gundjalam 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/usb/dev-hub.c
M hw/usb/dev-network.c
M hw/usb/dev-wacom.c
M hw/usb/hcd-musb.c
M hw/usb/quirks-pl2303-ids.h
M include/hw/usb.h
M include/hw/usb/dwc2-regs.h

  Log Message:
  ---
  hw/usb: fix tab indentation

The TABs should be replaced with spaces, to make sure that we have a
consistent coding style with an indentation of 4 spaces everywhere.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/370
Signed-off-by: Amarjargal Gundjalam 
Message-Id: 
<6c993f57800f8fef7a910074620f6e80e077a3d1.1666707782.git.amarjarga...@gmail.com>
Signed-off-by: Thomas Huth 


  Commit: 3ba5fe46ea4456a16e2f47ab8e75943b54879c4e
  
https://github.com/qemu/qemu/commit/3ba5fe46ea4456a16e2f47ab8e75943b54879c4e
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M MAINTAINERS
M disas/nanomips.c
M target/mips/cpu-defs.c.inc
M target/mips/cpu.c
M target/mips/tcg/octeon.decode
M target/mips/tcg/translate.c

  Log Message:
  ---
  Merge tag 'mips-20221108' of https://github.com/philmd/qemu into staging

MIPS patches queue

- Remove -Wclobbered in nanoMIPS disassembler (Richard Henderson)
- Fix invalid string formats in nanoMIPS disassembler (myself)
- Allow Loongson-2F to access XKPHYS in kernel mode (Jiaxun Yang)
- Octeon opcode fixes (Jiaxun Yang, Pavel Dovgalyuk)
- MAINTAINERS nanoMIPS update

# -BEGIN PGP SIGNATURE-
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmNpnTYACgkQ4+MsLN6t
# wN4t2A//XLIH7uL+u6kqGm45fVyy58R1NDoj2afNv5rRqIcXSrP9zRH00woLmGzs
# pYLbu3yOynY2/OSU3iooAaXjQz8ub3YIpceAQdD26OgnpTrwVzKO9jvQz2UlDrzs
# gETnHfqwZDBzxbqkUXxT7Pe3NRQzRmMgrMYNJm+e7UokCVy3c2PZ6vBdC5zvwS6K
# LwnuEBvG74fV70D42dYay0wTB37z7m5Cf7uMp7TrEA+2HLgIZl+J9AuCmZxZZxdU
# sh0AvNiVaKbHT55lazWAMvmVuUEl5zLTEUa1B0sOv081ZaY3ACBuh6Q8VpNgkgSx
# qxKQbye+LtnDDYckeIRa3jI5Fs5AagC6lPPJJpiiFnMqpQaPYhNDFFjR5LNdwfQ6
# cN1lU4toi2B5LuUmiCEJrAsMgocLaNVnhwas391vtIFZh+onN/wZ1sE1Ur1kZkL7
# and2QDr2C8Y7qnpP3q8QRSz1yz+pyvTRcRIwjrnRGIgOfQUOiYeLB1RO01VOFn8u
# 0Oa5gKrtClnQxMfZqoRIGucrnbZdrP/oHwsVOKUdDDNpAceVEJ0dvBiUv6WhQQ/4
# G6Ih2GJ/gJU3Ld8UliA9MCzISbvNoQ6EHYk0YqrH8B/MCzvOLbbmaZban3+xFTma
# c2YGQ16ZIQsZMm00sB1Du8l9H9ms/N0VJcSx9txD2YbQWOA/bMs=
# =gQ7f
# -END PGP SIGNATURE-
# gpg: Signature made Mon 07 Nov 2022 19:05:10 EST
# gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'mips-20221108' of https://github.com/philmd/qemu:
  MAINTAINERS: Inherit from nanoMIPS
  disas/nanomips: Tidy read for 48-bit opcodes
  disas/nanomips: Split out read_u16
  disas/nanomips: Merge insn{1,2,3} into words[3]
  disas/nanomips: Move setjmp into nanomips_dis
  disas/nanomips: Remove headers already included by "qemu/osdep.h"
  disas/nanomips: Use G_GNUC_PRINTF to avoid invalid string formats
  disas/nanomips: Fix invalid PRIx64 format calling img_format()
  disas/nanomips: Fix invalid PRId64 format calling img_format()
  target/mips: Don't check COP1X for 64 bit FP mode
  target/mips: Disable DSP ASE for Octeon68XX
  target/mips: Enable LBX/LWX/* instructions for Octeon
  target/mips: Cast offset field of Octeon BBIT to int16_t
  target/mips: Set CP0St_{KX, SX, UX} for Loongson-2F

Signed-off-by: Stefan Hajnoczi 


  Commit: ade760a2f63804b7ab1839fbc3e5ddbf30538718
  
https://github.com/qemu/qemu/commit/ade760a2f63804b7ab1839fbc3e5ddbf30538718
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/display/b

[Qemu-commits] [qemu/qemu] 3ba5fe: Merge tag 'mips-20221108' of https://github.com/ph...

2022-11-08 Thread Paolo Bonzini via Qemu-commits
  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 3ba5fe46ea4456a16e2f47ab8e75943b54879c4e
  
https://github.com/qemu/qemu/commit/3ba5fe46ea4456a16e2f47ab8e75943b54879c4e
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M MAINTAINERS
M disas/nanomips.c
M target/mips/cpu-defs.c.inc
M target/mips/cpu.c
M target/mips/tcg/octeon.decode
M target/mips/tcg/translate.c

  Log Message:
  ---
  Merge tag 'mips-20221108' of https://github.com/philmd/qemu into staging

MIPS patches queue

- Remove -Wclobbered in nanoMIPS disassembler (Richard Henderson)
- Fix invalid string formats in nanoMIPS disassembler (myself)
- Allow Loongson-2F to access XKPHYS in kernel mode (Jiaxun Yang)
- Octeon opcode fixes (Jiaxun Yang, Pavel Dovgalyuk)
- MAINTAINERS nanoMIPS update

# -BEGIN PGP SIGNATURE-
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmNpnTYACgkQ4+MsLN6t
# wN4t2A//XLIH7uL+u6kqGm45fVyy58R1NDoj2afNv5rRqIcXSrP9zRH00woLmGzs
# pYLbu3yOynY2/OSU3iooAaXjQz8ub3YIpceAQdD26OgnpTrwVzKO9jvQz2UlDrzs
# gETnHfqwZDBzxbqkUXxT7Pe3NRQzRmMgrMYNJm+e7UokCVy3c2PZ6vBdC5zvwS6K
# LwnuEBvG74fV70D42dYay0wTB37z7m5Cf7uMp7TrEA+2HLgIZl+J9AuCmZxZZxdU
# sh0AvNiVaKbHT55lazWAMvmVuUEl5zLTEUa1B0sOv081ZaY3ACBuh6Q8VpNgkgSx
# qxKQbye+LtnDDYckeIRa3jI5Fs5AagC6lPPJJpiiFnMqpQaPYhNDFFjR5LNdwfQ6
# cN1lU4toi2B5LuUmiCEJrAsMgocLaNVnhwas391vtIFZh+onN/wZ1sE1Ur1kZkL7
# and2QDr2C8Y7qnpP3q8QRSz1yz+pyvTRcRIwjrnRGIgOfQUOiYeLB1RO01VOFn8u
# 0Oa5gKrtClnQxMfZqoRIGucrnbZdrP/oHwsVOKUdDDNpAceVEJ0dvBiUv6WhQQ/4
# G6Ih2GJ/gJU3Ld8UliA9MCzISbvNoQ6EHYk0YqrH8B/MCzvOLbbmaZban3+xFTma
# c2YGQ16ZIQsZMm00sB1Du8l9H9ms/N0VJcSx9txD2YbQWOA/bMs=
# =gQ7f
# -END PGP SIGNATURE-
# gpg: Signature made Mon 07 Nov 2022 19:05:10 EST
# gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'mips-20221108' of https://github.com/philmd/qemu:
  MAINTAINERS: Inherit from nanoMIPS
  disas/nanomips: Tidy read for 48-bit opcodes
  disas/nanomips: Split out read_u16
  disas/nanomips: Merge insn{1,2,3} into words[3]
  disas/nanomips: Move setjmp into nanomips_dis
  disas/nanomips: Remove headers already included by "qemu/osdep.h"
  disas/nanomips: Use G_GNUC_PRINTF to avoid invalid string formats
  disas/nanomips: Fix invalid PRIx64 format calling img_format()
  disas/nanomips: Fix invalid PRId64 format calling img_format()
  target/mips: Don't check COP1X for 64 bit FP mode
  target/mips: Disable DSP ASE for Octeon68XX
  target/mips: Enable LBX/LWX/* instructions for Octeon
  target/mips: Cast offset field of Octeon BBIT to int16_t
  target/mips: Set CP0St_{KX, SX, UX} for Loongson-2F

Signed-off-by: Stefan Hajnoczi 


  Commit: ade760a2f63804b7ab1839fbc3e5ddbf30538718
  
https://github.com/qemu/qemu/commit/ade760a2f63804b7ab1839fbc3e5ddbf30538718
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/display/blizzard.c
M hw/display/cirrus_vga.c
M hw/display/omap_dss.c
M hw/display/pxa2xx_lcd.c
M hw/display/vga_regs.h
M hw/display/xenfb.c
M hw/s390x/s390-pci-kvm.c
M hw/s390x/s390-virtio-ccw.c
M hw/usb/dev-hub.c
M hw/usb/dev-network.c
M hw/usb/dev-wacom.c
M hw/usb/hcd-musb.c
M hw/usb/quirks-pl2303-ids.h
M include/hw/s390x/s390-virtio-ccw.h
M include/hw/usb.h
M include/hw/usb/dwc2-regs.h
M qemu-options.hx
M ui/vgafont.h
M ui/vnc-enc-zywrle-template.c
M ui/vnc-enc-zywrle.h
M ui/vnc_keysym.h
M util/qemu-config.c

  Log Message:
  ---
  Merge tag 'pull-request-2022-11-08' of https://gitlab.com/thuth/qemu into 
staging

* Last minute s390x fixes before the hard freeze
* Whiste space clean-up in ui/, display/ and hw/usb/

# -BEGIN PGP SIGNATURE-
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmNqPZ0RHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbVbwxAArAxJewpow+QBj7dMd6qLrpC7mjxgiiQD
# F8XNYh6bPpPo3+4exmMKMS+DGSLC5TJnp61F4IHyH+yOx8DVWmrjo97q+nWYYD4y
# jOdC5a2kzkMzVjrxy26uvPhoUGkiM5w8H5bF9hcWukuEwqpoJPU7u5RXd1yn48Ju
# O1RrASw+rHZSnCGFFXldG2HoS+bUOaZRHQs5kV9EwpqEn42eQtq38CQ7YEMloOkD
# FpPl75KEQ9/doqSbGLdFP1HzaG/emtFnioIXlGM3Y7RzDxCgvKTdAvPCOBO7LxHA
# oOY/nFcRYIEUslvyZLUXahKE2qBv2nenmWAQ9lwGd/iU78nWzR19BZdpItSP3Sjj
# HFLOKztqI8qLbx966uOU8O5FaYqfGPV6QZVOSzAl7u8GZbqpN5lp+uArEoGtawMo
# 9fRDAgSoser9AAIWr1TOoFGRff3VT4hlZeale3VOmfxAOBc2r70pzvk3ou5mo8NU
# VXb6Uz5nNIm8RV9fr6/jgllfQDMiCHSwaAnC1hABqAwatcU/SJ4dKfXbdwjsPN8V
# jgC5GqAHaC9mwQu0rfZSzuGZkosh0MZVik/xcWO3hspT/CyIafpi42POyQEjOMYf
# 5SgJ8ydV32xEGQw66cl9yLAuhN4F8eTavLwQBV7pmCeySm8HCFGuZrmQkeOTBTD2
# HEbJJjz9zgI=
# =P8Mt
# -END PGP SIGNATURE-
# gpg: Signature made Tue 08 Nov 2022 06:29:33 EST
# gpg:using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:issuer "th...@redhat.com"
# gp

[Qemu-commits] [qemu/qemu] 8063db: target/mips: Set CP0St_{KX, SX, UX} for Loongson-2F

2022-11-08 Thread Paolo Bonzini via Qemu-commits
gned-off-by: Amarjargal Gundjalam 
Message-Id: 
<5cefd05b4d3721d416e48e6df19df18cb6338933.1666707782.git.amarjarga...@gmail.com>
Reviewed-by: Thomas Huth 
Signed-off-by: Thomas Huth 


  Commit: 6c10e08a4f131431dbb50a11912cb2a726879df3
  
https://github.com/qemu/qemu/commit/6c10e08a4f131431dbb50a11912cb2a726879df3
  Author: Amarjargal Gundjalam 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M hw/usb/dev-hub.c
M hw/usb/dev-network.c
M hw/usb/dev-wacom.c
M hw/usb/hcd-musb.c
M hw/usb/quirks-pl2303-ids.h
M include/hw/usb.h
M include/hw/usb/dwc2-regs.h

  Log Message:
  ---
  hw/usb: fix tab indentation

The TABs should be replaced with spaces, to make sure that we have a
consistent coding style with an indentation of 4 spaces everywhere.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/370
Signed-off-by: Amarjargal Gundjalam 
Message-Id: 
<6c993f57800f8fef7a910074620f6e80e077a3d1.1666707782.git.amarjarga...@gmail.com>
Signed-off-by: Thomas Huth 


  Commit: fb5cb9ec98fb906fdb4f9e4b0ac7d1cfee4950ee
  
https://github.com/qemu/qemu/commit/fb5cb9ec98fb906fdb4f9e4b0ac7d1cfee4950ee
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M MAINTAINERS
M disas/nanomips.c
M target/mips/cpu-defs.c.inc
M target/mips/cpu.c
M target/mips/tcg/octeon.decode
M target/mips/tcg/translate.c

  Log Message:
  ---
  Merge tag 'mips-20221108' of https://github.com/philmd/qemu into staging

MIPS patches queue

- Remove -Wclobbered in nanoMIPS disassembler (Richard Henderson)
- Fix invalid string formats in nanoMIPS disassembler (myself)
- Allow Loongson-2F to access XKPHYS in kernel mode (Jiaxun Yang)
- Octeon opcode fixes (Jiaxun Yang, Pavel Dovgalyuk)
- MAINTAINERS nanoMIPS update

# -BEGIN PGP SIGNATURE-
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmNpnTYACgkQ4+MsLN6t
# wN4t2A//XLIH7uL+u6kqGm45fVyy58R1NDoj2afNv5rRqIcXSrP9zRH00woLmGzs
# pYLbu3yOynY2/OSU3iooAaXjQz8ub3YIpceAQdD26OgnpTrwVzKO9jvQz2UlDrzs
# gETnHfqwZDBzxbqkUXxT7Pe3NRQzRmMgrMYNJm+e7UokCVy3c2PZ6vBdC5zvwS6K
# LwnuEBvG74fV70D42dYay0wTB37z7m5Cf7uMp7TrEA+2HLgIZl+J9AuCmZxZZxdU
# sh0AvNiVaKbHT55lazWAMvmVuUEl5zLTEUa1B0sOv081ZaY3ACBuh6Q8VpNgkgSx
# qxKQbye+LtnDDYckeIRa3jI5Fs5AagC6lPPJJpiiFnMqpQaPYhNDFFjR5LNdwfQ6
# cN1lU4toi2B5LuUmiCEJrAsMgocLaNVnhwas391vtIFZh+onN/wZ1sE1Ur1kZkL7
# and2QDr2C8Y7qnpP3q8QRSz1yz+pyvTRcRIwjrnRGIgOfQUOiYeLB1RO01VOFn8u
# 0Oa5gKrtClnQxMfZqoRIGucrnbZdrP/oHwsVOKUdDDNpAceVEJ0dvBiUv6WhQQ/4
# G6Ih2GJ/gJU3Ld8UliA9MCzISbvNoQ6EHYk0YqrH8B/MCzvOLbbmaZban3+xFTma
# c2YGQ16ZIQsZMm00sB1Du8l9H9ms/N0VJcSx9txD2YbQWOA/bMs=
# =gQ7f
# -END PGP SIGNATURE-
# gpg: Signature made Mon 07 Nov 2022 19:05:10 EST
# gpg:using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) " 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'mips-20221108' of https://github.com/philmd/qemu:
  MAINTAINERS: Inherit from nanoMIPS
  disas/nanomips: Tidy read for 48-bit opcodes
  disas/nanomips: Split out read_u16
  disas/nanomips: Merge insn{1,2,3} into words[3]
  disas/nanomips: Move setjmp into nanomips_dis
  disas/nanomips: Remove headers already included by "qemu/osdep.h"
  disas/nanomips: Use G_GNUC_PRINTF to avoid invalid string formats
  disas/nanomips: Fix invalid PRIx64 format calling img_format()
  disas/nanomips: Fix invalid PRId64 format calling img_format()
  target/mips: Don't check COP1X for 64 bit FP mode
  target/mips: Disable DSP ASE for Octeon68XX
  target/mips: Enable LBX/LWX/* instructions for Octeon
  target/mips: Cast offset field of Octeon BBIT to int16_t
  target/mips: Set CP0St_{KX, SX, UX} for Loongson-2F

Signed-off-by: Stefan Hajnoczi 


  Commit: 02439a1f9c8845b768e007fecd37e154d67c3075
  
https://github.com/qemu/qemu/commit/02439a1f9c8845b768e007fecd37e154d67c3075
  Author: Stefan Hajnoczi 
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
M net/vhost-vdpa.c
M tests/qtest/meson.build
A tests/qtest/netdev-socket.c

  Log Message:
  ---
  Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging

# -BEGIN PGP SIGNATURE-
# Version: GnuPG v1
#
# iQEcBAABAgAGBQJjadbSAAoJEO8Ells5jWIRrIkIAIsEauqUvco04qk2Xejm1ZbE
# 2Ix+wgQ1kzdff/lyZHRspZVYye3jHZi7irCVZBySJkjg36j3hEIHz9TmZyYTPnA3
# qLn8cNnBcFiDHrlmQV8iFzryuGsHPkxn1oiRTiCrgyyiyRCCyWnz5j+KlvG6aK+n
# 9f8sUW624xs+qd1i8R1cZA51ie2R1nXylOzUWCtfs9UXDXri/3NAhYTXrYk9IfZQ
# TQcGJvsJZEOEvNP8uqaXER6vs5V+ik9++No/eeQ79aL/1QQ3G9ZpVPOlkmrbPtZ4
# DuWZ3TwQwVS1RsC8ObCxtbDR5J0AtrOySj/8czqJBBiYZ7fDt2h4Ix6Z9XI9a5c=
# =wdhb
# -END PGP SIGNATURE-
# gpg: Signature made Mon 07 Nov 2022 23:10:58 EST
# gpg:using RSA key EF04965B398D6211
# gpg: Good signature from "Jason Wang (Jason Wang on RedHat) 
" [full]
# Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211

* tag 'net-pul