Skip to content
Snippets Groups Projects
  1. Sep 23, 2020
  2. Sep 22, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/input-20200921-pull-request' into staging · 0fc01428
      Peter Maydell authored
      
      input: tsc2xxx fix.
      
      # gpg: Signature made Mon 21 Sep 2020 12:09:17 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # 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/input-20200921-pull-request:
        hw/input/tsc2xxx: Reduce MouseTransformInfo structure exposure
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      0fc01428
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/usb-20200921-pull-request' into staging · edf6ea6f
      Peter Maydell authored
      
      usb: fix u2f build
      usb: fix ohci oob access and loop issues
      
      # gpg: Signature made Mon 21 Sep 2020 09:58:06 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # 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-20200921-pull-request:
        hw: usb: hcd-ohci: check for processed TD before retire
        hw: usb: hcd-ohci: check len and frame_number variables
        usb: fix u2f build
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      edf6ea6f
    • Peter Maydell's avatar
      Merge remote-tracking branch... · 834b9273
      Peter Maydell authored
      Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-5.2-pull-request' into staging
      
      Pull request trivial patches 20200919
      
      # gpg: Signature made Sat 19 Sep 2020 19:43:35 BST
      # gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
      # gpg:                issuer "laurent@vivier.eu"
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/trivial-branch-for-5.2-pull-request:
        contrib/: fix some comment spelling errors
        qapi/: fix some comment spelling errors
        disas/: fix some comment spelling errors
        linux-user/: fix some comment spelling errors
        util/: fix some comment spelling errors
        scripts/: fix some comment spelling errors
        docs/: fix some comment spelling errors
        migration/: fix some comment spelling errors
        qemu/: fix some comment spelling errors
        scripts/git.orderfile: Display meson files along with buildsys ones
        hw/timer/hpet: Fix debug format strings
        hw/timer/hpet: Remove unused functions hpet_ram_readb, hpet_ram_readw
        meson: remove empty else and duplicated gio deps
        manual: escape backslashes in "parsed-literal" blocks
        ui/spice-input: Remove superfluous forward declaration
        hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definition
        hw/gpio/max7310: Remove impossible check
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      834b9273
  3. Sep 21, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging · 4dad0a9a
      Peter Maydell authored
      
      QOM queue, 2020-09-18
      
      Fixes:
      * Error value corrections (Markus Armbruster)
      * Correct object_class_dynamic_cast_assert() documentation (Eduardo Habkost)
      * Ensure objects using QEMU_ALIGNED are properly aligned (Richard Henderson)
      
      QOM cleanups (Eduardo Habkost):
      * Rename some constants
      * Simplify parameters of OBJECT_DECLARE* macros
      * Additional DECLARE_*CHECKER* usage
      * Additional OBJECT_DECLARE_TYPE usage
      * Additional OBJECT_DECLARE_SIMPLE_TYPE usage
      
      # gpg: Signature made Fri 18 Sep 2020 21:45:29 BST
      # gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
      # gpg:                issuer "ehabkost@redhat.com"
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full]
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/machine-next-pull-request:
        Use OBJECT_DECLARE_SIMPLE_TYPE when possible
        Use OBJECT_DECLARE_TYPE when possible
        qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros
        qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE
        scripts/codeconverter: Update to latest version
        target/s390x: Set instance_align on S390CPU TypeInfo
        target/riscv: Set instance_align on RISCVCPU TypeInfo
        target/ppc: Set instance_align on PowerPCCPU TypeInfo
        target/arm: Set instance_align on CPUARM TypeInfo
        qom: Allow objects to be allocated with increased alignment
        qom: Correct error values in two contracts
        qom: Clean up object_property_get_enum()'s error value
        qom: Correct object_class_dynamic_cast_assert() documentation
        sifive: Use DECLARE_*CHECKER* macros
        sifive: Move QOM typedefs and add missing includes
        sifive_u: Rename memmap enum constants
        sifive_e: Rename memmap enum constants
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      4dad0a9a
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' into staging · 5df6c87e
      Peter Maydell authored
      
      x86 queue, 2020-09-18
      
      Cleanups:
      * Correct the meaning of '0xffffffff' value for hv-spinlocks (Vitaly Kuznetsov)
      * vmport: Drop superfluous parenthesis (Philippe Mathieu-Daudé)
      
      Fixes:
      * Use generic APIC ID encoding code for EPYC (Babu Moger)
      
      # gpg: Signature made Fri 18 Sep 2020 21:26:57 BST
      # gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
      # gpg:                issuer "ehabkost@redhat.com"
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full]
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/x86-next-pull-request:
        i386: Simplify CPUID_8000_001E for AMD
        i386: Simplify CPUID_8000_001d for AMD
        hw/i386/vmport: Drop superfluous parenthesis around function typedef
        i386/kvm: correct the meaning of '0xffffffff' value for hv-spinlocks
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      5df6c87e
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/philmd-gitlab/tags/acceptance-next-20200918' into staging · 14fe4edc
      Peter Maydell authored
      Acceptance tests queue
      
      Get GitLab CI acceptance jobs green again.
      
      CI jobs results:
        https://gitlab.com/philmd/qemu/-/pipelines/191795388
      
      
      
      # gpg: Signature made Fri 18 Sep 2020 20:17:54 BST
      # gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
      # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
      # Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE
      
      * remotes/philmd-gitlab/tags/acceptance-next-20200918:
        tests/acceptance: Skip slow quanta-gsj U-boot+Linux test
        tests/acceptance: Disable tests dependent of unreliable apt.armbian.com
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      14fe4edc
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/python-next-pull-request' into staging · 5536c19d
      Peter Maydell authored
      
      Python queue, 2020-09-18
      
      Alexey Kirillov (1):
            analyze-migration.py: fix read_migration_debug_json() return type
      
      Andrey Shinkevich (1):
            scripts/simplebench: compare write request performance
      
      # gpg: Signature made Fri 18 Sep 2020 19:02:00 BST
      # gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
      # gpg:                issuer "ehabkost@redhat.com"
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full]
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/python-next-pull-request:
        analyze-migration.py: fix read_migration_debug_json() return type
        scripts/simplebench: compare write request performance
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      5536c19d
    • Philippe Mathieu-Daudé's avatar
      hw/input/tsc2xxx: Reduce MouseTransformInfo structure exposure · 38b01a99
      Philippe Mathieu-Daudé authored
      
      Commit a5d7eb65 ("Add TSC2301 touchscreen & keypad controller")
      added the MouseTransformInfo declaration in "ui/console.h",
      however it is only used in "hw/input/tsc2xxx.h".
      Reduce the structure exposure by moving it to the single include
      where it is used.
      
      This should fix a build failure on OpenBSD:
      
        In file included from hw/arm/nseries.c:30:
        In file included from include/hw/arm/omap.h:24:
        In file included from include/hw/input/tsc2xxx.h:14:
        include/ui/console.h:11:11: fatal error: 'epoxy/gl.h' file not found
        # include <epoxy/gl.h>
                  ^~~~~~~~~~~~
        1 error generated.
        gmake: *** [Makefile.ninja:1735:
        libqemu-aarch64-softmmu.fa.p/hw_arm_nseries.c.o] Error 1
      
      Reported-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-id: 20200907010155.815131-1-f4bug@amsat.org
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      38b01a99
    • Prasad J Pandit's avatar
      hw: usb: hcd-ohci: check for processed TD before retire · 1be90ebe
      Prasad J Pandit authored
      
      While servicing OHCI transfer descriptors(TD), ohci_service_iso_td
      retires a TD if it has passed its time frame. It does not check if
      the TD was already processed once and holds an error code in TD_CC.
      It may happen if the TD list has a loop. Add check to avoid an
      infinite loop condition.
      
      Signed-off-by: default avatarPrasad J Pandit <pjp@fedoraproject.org>
      Reviewed-by: default avatarLi Qiang <liq3ea@gmail.com>
      Message-id: 20200915182259.68522-3-ppandit@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1be90ebe
    • Prasad J Pandit's avatar
      hw: usb: hcd-ohci: check len and frame_number variables · 1328fe0c
      Prasad J Pandit authored
      
      While servicing the OHCI transfer descriptors(TD), OHCI host
      controller derives variables 'start_addr', 'end_addr', 'len'
      etc. from values supplied by the host controller driver.
      Host controller driver may supply values such that using
      above variables leads to out-of-bounds access issues.
      Add checks to avoid them.
      
      AddressSanitizer: stack-buffer-overflow on address 0x7ffd53af76a0
        READ of size 2 at 0x7ffd53af76a0 thread T0
        #0 ohci_service_iso_td ../hw/usb/hcd-ohci.c:734
        #1 ohci_service_ed_list ../hw/usb/hcd-ohci.c:1180
        #2 ohci_process_lists ../hw/usb/hcd-ohci.c:1214
        #3 ohci_frame_boundary ../hw/usb/hcd-ohci.c:1257
        #4 timerlist_run_timers ../util/qemu-timer.c:572
        #5 qemu_clock_run_timers ../util/qemu-timer.c:586
        #6 qemu_clock_run_all_timers ../util/qemu-timer.c:672
        #7 main_loop_wait ../util/main-loop.c:527
        #8 qemu_main_loop ../softmmu/vl.c:1676
        #9 main ../softmmu/main.c:50
      
      Reported-by: default avatarGaoning Pan <pgn@zju.edu.cn>
      Reported-by: default avatarYongkang Jia <j_kangel@163.com>
      Reported-by: default avatarYi Ren <yunye.ry@alibaba-inc.com>
      Signed-off-by: default avatarPrasad J Pandit <pjp@fedoraproject.org>
      Message-id: 20200915182259.68522-2-ppandit@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1328fe0c
    • Gerd Hoffmann's avatar
      usb: fix u2f build · 26d56f48
      Gerd Hoffmann authored
      
      Just use qemu_open_old() for a quick fix, switch
      to better error handling left for another day.
      
      Fixes: 448058aa ("util: rename qemu_open() to qemu_open_old()")
      Cc: César Belley <cesar.belley@lse.epita.fr>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20200918110122.9121-1-kraxel@redhat.com
      26d56f48
  4. Sep 18, 2020
Loading