Skip to content
Snippets Groups Projects
  1. Jun 01, 2021
  2. May 30, 2021
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/usb-20210528-pull-request' into staging · 52848929
      Peter Maydell authored
      
      usb: bugfixes for hid and xhci.
      
      # gpg: Signature made Fri 28 May 2021 15:21:51 BST
      # gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/usb-20210528-pull-request:
        hw/usb: hcd-xhci-pci: Fix spec violation of IP flag for MSI/MSI-X
        hw/usb: hcd-xhci-pci: Raise MSI/MSI-X interrupts only when told to
        hw/input/hid: Add support for keys of jp106 keyboard.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      52848929
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/vga-20210527-pull-request' into staging · f9dc72de
      Peter Maydell authored
      
      virtio-gpu: add blob resource support.
      vhost-user-gpu: security fixes.
      
      # gpg: Signature made Thu 27 May 2021 15:23:25 BST
      # gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/vga-20210527-pull-request: (23 commits)
        virtio-gpu: Update cursor data using blob
        virtio-gpu: Add virtio_gpu_set_scanout_blob
        virtio-gpu: Factor out update scanout
        virtio-gpu: Add helpers to create and destroy dmabuf objects
        ui/pixman: Add qemu_pixman_to_drm_format()
        virtio-gpu: Add virtio_gpu_resource_create_blob
        virtio-gpu: Add initial definitions for blob resources
        virtio-gpu: Refactor virtio_gpu_create_mapping_iov
        virtio-gpu: Refactor virtio_gpu_set_scanout
        virtio-gpu: Add virtio_gpu_find_check_resource
        stubs: Add stubs for udmabuf helpers
        virtio-gpu: Add udmabuf helpers
        headers: Add udmabuf.h
        ui: Get the fd associated with udmabuf driver
        hw/display/qxl: Set pci rom address aligned with page size
        vhost-user-gpu: abstract vg_cleanup_mapping_iov
        vhost-user-gpu: fix OOB write in 'virgl_cmd_get_capset' (CVE-2021-3546)
        vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing' (CVE-2021-3544)
        vhost-user-gpu: fix memory leak in 'virgl_cmd_resource_unref' (CVE-2021-3544)
        vhost-user-gpu: fix memory leak while calling 'vg_resource_unref' (CVE-2021-3544)
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      f9dc72de
  3. May 28, 2021
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging · a648df38
      Peter Maydell authored
      
      # gpg: Signature made Thu 27 May 2021 04:06:17 BST
      # gpg:                using RSA key EF04965B398D6211
      # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>" [marginal]
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
      
      * remotes/jasowang/tags/net-pull-request:
        tap-bsd: Remove special casing for older OpenBSD releases
        virtio-net: failover: add missing remove_migration_state_change_notifier()
        hw/net/imx_fec: return 0xffff when accessing non-existing PHY
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      a648df38
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210526' into staging · 62c0ac50
      Peter Maydell authored
      
      Adjust types for some memory access functions.
      Reduce inclusion of tcg headers.
      Fix watchpoints vs replay.
      Fix tcg/aarch64 roli expansion.
      Introduce SysemuCPUOps structure.
      
      # gpg: Signature made Thu 27 May 2021 00:43:54 BST
      # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
      # gpg:                issuer "richard.henderson@linaro.org"
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * remotes/rth-gitlab/tags/pull-tcg-20210526: (31 commits)
        hw/core: Constify TCGCPUOps
        target/mips: Fold jazz behaviour into mips_cpu_do_transaction_failed
        cpu: Move CPUClass::get_paging_enabled to SysemuCPUOps
        cpu: Move CPUClass::get_memory_mapping to SysemuCPUOps
        cpu: Move CPUClass::get_phys_page_debug to SysemuCPUOps
        cpu: Move CPUClass::asidx_from_attrs to SysemuCPUOps
        cpu: Move CPUClass::write_elf* to SysemuCPUOps
        cpu: Move CPUClass::get_crash_info to SysemuCPUOps
        cpu: Move CPUClass::virtio_is_big_endian to SysemuCPUOps
        cpu: Move CPUClass::vmsd to SysemuCPUOps
        cpu: Introduce SysemuCPUOps structure
        cpu: Move AVR target vmsd field from CPUClass to DeviceClass
        cpu: Rename CPUClass vmsd -> legacy_vmsd
        cpu: Assert DeviceClass::vmsd is NULL on user emulation
        cpu: Directly use get_memory_mapping() fallback handlers in place
        cpu: Directly use get_paging_enabled() fallback handlers in place
        cpu: Directly use cpu_write_elf*() fallback handlers in place
        cpu: Introduce cpu_virtio_is_big_endian()
        cpu: Un-inline cpu_get_phys_page_debug and cpu_asidx_from_attrs
        cpu: Split as cpu-common / cpu-sysemu
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      62c0ac50
    • Ruimei Yan's avatar
      hw/usb: hcd-xhci-pci: Fix spec violation of IP flag for MSI/MSI-X · fc967aad
      Ruimei Yan authored
      
      Per xHCI spec v1.2 chapter 4.17.5 page 296:
      
        If MSI or MSI-X interrupts are enabled, Interrupt Pending (IP)
        shall be cleared automatically when the PCI dword write generated
        by the interrupt assertion is complete.
      
      Currently QEMU does not clear the IP flag in the MSI / MSI-X mode.
      This causes subsequent spurious interrupt to be delivered to guests.
      To solve this, we change the xhci intr_raise() hook routine to have
      a bool return value that is passed to its caller (the xhci core),
      with true indicating that IP should be self-cleared.
      
      Fixes: 62c6ae04 ("xhci: Initial xHCI implementation")
      Fixes: 4c47f800 ("xhci: add msix support")
      Signed-off-by: default avatarRuimei Yan <ruimei.yan@windriver.com>
      [bmeng: move IP clear codes from xhci pci to xhci core]
      Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
      Message-Id: <20210521024224.2277634-2-bmeng.cn@gmail.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      fc967aad
    • Ruimei Yan's avatar
      hw/usb: hcd-xhci-pci: Raise MSI/MSI-X interrupts only when told to · 3c6151cd
      Ruimei Yan authored
      
      At present MSI / MSI-X interrupts are triggered regardless of the
      irq level. We should have checked the level to determine whether
      the interrupt needs to be delivered.
      
      The level check logic was present in early versions of the xhci
      model, but got dropped later by a rework of interrupt handling
      under commit 4c4abe7c ("xhci: rework interrupt handling").
      
      Fixes: 4c4abe7c ("xhci: rework interrupt handling")
      Signed-off-by: default avatarRuimei Yan <ruimei.yan@windriver.com>
      Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
      Message-Id: <20210521024224.2277634-1-bmeng.cn@gmail.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      3c6151cd
    • Katsuhiro Ueno's avatar
      hw/input/hid: Add support for keys of jp106 keyboard. · f9c48124
      Katsuhiro Ueno authored
      
      Add support for the following keys: KATAKANAHIRAGANA, HENKAN, MUHENKAN,
      RO, and YEN.  Before this commit, these keys did not work as expected
      when a jp106 keyboard was connected to the guest as a usb-kbd device.
      
      Signed-off-by: default avatarKatsuhiro Ueno <uenobk@gmail.com>
      Message-Id: <CA+pCdY3iG+pKKQqEVknnWF-W0wK36S4U1jxPvxmGAPp6FFvz1Q@mail.gmail.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      f9c48124
  4. May 27, 2021
Loading