1. 07 4月, 2021 5 次提交
  2. 06 4月, 2021 12 次提交
  3. 05 4月, 2021 5 次提交
  4. 03 4月, 2021 2 次提交
  5. 02 4月, 2021 7 次提交
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · 11577d85
      Peter Maydell 提交于
      pc,virtio,pci: bugfixes
      
      Fixes all over the place.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Thu 01 Apr 2021 17:22:03 BST
      # gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
      # gpg:                issuer "mst@redhat.com"
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
      # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
      #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
      
      * remotes/mst/tags/for_upstream:
        pci: sprinkle assert in PCI pin number
        isa/v582c686: Reinitialize ACPI PM device on reset
        vt82c686.c: don't raise SCI when PCI_INTERRUPT_PIN isn't setup
        acpi/piix4: reinitialize acpi PM device on reset
        virtio-pci: remove explicit initialization of val
        virtio-pci: add check for vdev in virtio_pci_isr_read
        vhost-user-blk: add immediate cleanup on shutdown
        vhost-user-blk: perform immediate cleanup if disconnect on initialization
        vhost-user-blk: use different event handlers on initialization
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      11577d85
    • P
      Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-04-01' into staging · 50a9b449
      Peter Maydell 提交于
      * Updates for the MAINTAINERS file
      * Some small documentation updates
      * Some small misc fixes
      
      # gpg: Signature made Thu 01 Apr 2021 13:30:39 BST
      # gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
      # gpg:                issuer "thuth@redhat.com"
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * remotes/thuth-gitlab/tags/pull-request-2021-04-01:
        device-crash-test: Ignore errors about a bus not being available
        docs: Fix typo in the default name of the qemu-system-x86_64 binary
        docs: Remove obsolete paragraph about config-target.mak
        util/compatfd.c: Fixed style issues
        qom: Fix default values in help
        MAINTAINERS: Mark SH-4 hardware emulation orphan
        MAINTAINERS: Mark RX hardware emulation orphan
        MAINTAINERS: add virtio-fs mailing list
        MAINTAINERS: Drop the line with Xiang Zheng
        MAINTAINERS: replace Huawei's email to personal one
        MAINTAINERS: Drop the lines with Sarah Harris
        MAINTAINERS: add/replace backups for some s390 areas
        MAINTAINERS: Fix tests/migration maintainers
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      50a9b449
    • I
      pci: sprinkle assert in PCI pin number · 8ddf5432
      Isaku Yamahata 提交于
      If a device model
      (a) doesn't set the value to a correct interrupt number and then
      (b) triggers an interrupt for itself,
      it's device model bug. Add assert on interrupt pin number to catch
      this kind of bug more obviously.
      Suggested-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NIsaku Yamahata <isaku.yamahata@intel.com>
      Message-Id: <9cf8ac3b17e162daac0971d7be32deb6a33ae6ec.1616532563.git.isaku.yamahata@intel.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      8ddf5432
    • I
      isa/v582c686: Reinitialize ACPI PM device on reset · 44421c60
      Isaku Yamahata 提交于
      Commit 6be8cf56 made sure that SCI is enabled in PM1.CNT
      on reset in acpi_only mode by modifying acpi_pm1_cnt_reset() and
      that worked for q35 as expected.
      
      This patch adds reset ACPI PM related registers on vt82c686 reset time
      and de-assert sci.
      via_pm_realize() initializes acpi pm tmr, evt, cnt and gpe.
      Reset them on device reset.
      
      Cc: BALATON Zoltan <balaton@eik.bme.hu>
      Cc: Huacai Chen <chenhuacai@kernel.org>
      Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
      Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
      Signed-off-by: NIsaku Yamahata <isaku.yamahata@intel.com>
      Message-Id: <0a3fe998525552860919a690ce83dab8f663ab99.1616532563.git.isaku.yamahata@intel.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      44421c60
    • I
      vt82c686.c: don't raise SCI when PCI_INTERRUPT_PIN isn't setup · 0fae92a3
      Isaku Yamahata 提交于
      Without this patch, the following patch will triger clan runtime
      sanitizer warnings as follows. This patch proactively works around it.
      I leave a correct fix to v582c686.c maintainerfix as I'm not sure
      about fuloong2e device model.
      
      > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}
      > QTEST_QEMU_IMG=./qemu-img
      > G_TEST_DBUS_DAEMON=/home/petmay01/linaro/qemu-for-merges/tests/dbus-vmstate-daemon.sh
      > QTEST_QEMU_BINARY=./qemu-system-mips64el tests/qtest/qom-test --tap -k
      > PASS 1 qtest-mips64el/qom-test /mips64el/qom/loongson3-virt
      > PASS 2 qtest-mips64el/qom-test /mips64el/qom/none
      > PASS 3 qtest-mips64el/qom-test /mips64el/qom/magnum
      > PASS 4 qtest-mips64el/qom-test /mips64el/qom/mipssim
      > PASS 5 qtest-mips64el/qom-test /mips64el/qom/malta
      > ../../hw/pci/pci.c:252:30: runtime error: shift exponent -1 is negative
      > PASS 6 qtest-mips64el/qom-test /mips64el/qom/fuloong2e
      > PASS 7 qtest-mips64el/qom-test /mips64el/qom/boston
      > PASS 8 qtest-mips64el/qom-test /mips64el/qom/pica61
      >
      > and similarly for eg
      >
      > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}
      > QTEST_QEMU_IMG=./qemu-img
      > G_TEST_DBUS_DAEMON=/home/petmay01/linaro/qemu-for-merges/tests/dbus-vmstate-daemon.sh
      > QTEST_QEMU_BINARY=./qemu-system-mips64el tests/qtest/endianness-test
      > --tap -k
      > ../../hw/pci/pci.c:252:30: runtime error: shift exponent -1 is negative
      > PASS 1 qtest-mips64el/endianness-test /mips64el/endianness/fuloong2e
      > ../../hw/pci/pci.c:252:30: runtime error: shift exponent -1 is negative
      > PASS 2 qtest-mips64el/endianness-test /mips64el/endianness/split/fuloong2e
      > ../../hw/pci/pci.c:252:30: runtime error: shift exponent -1 is negative
      > PASS 3 qtest-mips64el/endianness-test /mips64el/endianness/combine/fuloong2e
      
      Cc: BALATON Zoltan <balaton@eik.bme.hu>
      Cc: Huacai Chen <chenhuacai@kernel.org>
      Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
      Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NIsaku Yamahata <isaku.yamahata@intel.com>
      Message-Id: <62a5fc69e453fb848bfd4794bae1852a75af73c5.1616532563.git.isaku.yamahata@intel.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      0fae92a3
    • I
      acpi/piix4: reinitialize acpi PM device on reset · 0fd74325
      Isaku Yamahata 提交于
      Commit 6be8cf56 made sure that SCI is enabled in PM1.CNT
      on reset in acpi_only mode by modifying acpi_pm1_cnt_reset() and
      that worked for q35 as expected.
      
      The function was introduced by commit
        eaba51c5 (acpi, acpi_piix, vt82c686: factor out PM1_CNT logic)
      that forgot to actually call it at piix4 reset time and as result
      SCI_EN wasn't set as was expected by 6be8cf56 in acpi_only mode.
      
      So Windows crashes when it notices that SCI_EN is not set and FADT is
      not providing information about how to enable it anymore.
      Reproducer:
         qemu-system-x86_64 -enable-kvm -M pc-i440fx-6.0,smm=off -cdrom any_windows_10x64.iso
      
      Fix it by calling acpi_pm1_cnt_reset() at piix4 reset time.
      
      Occasionally this patch adds reset acpi PM related registers on
      piix4 reset time and de-assert sci.
      piix4_pm_realize() initializes acpi pm tmr, evt, cnt and gpe.
      Reset them on device reset. pm_reset() in ich9.c correctly calls
      corresponding reset functions.
      
      Fixes: 6be8cf56 (acpi/core: always set SCI_EN when SMM isn't supported)
      Reported-by: NReinoud Zandijk <reinoud@NetBSD.org>
      Co-developed-by: NIgor Mammedov <imammedo@redhat.com>
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Signed-off-by: NIsaku Yamahata <isaku.yamahata@intel.com>
      Message-Id: <8a5bbd19727045ec863523830078dd4ca63f6a9a.1616532563.git.isaku.yamahata@intel.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      0fd74325
    • P
      Merge remote-tracking branch 'remotes/marcandre/tags/for-6.0-pull-request' into staging · 415fa2fe
      Peter Maydell 提交于
      For 6.0 misc patches under my radar.
      
      V2:
       - "tests: Add tests for yank with the chardev-change case" updated
       - drop the readthedoc theme patch
      
      # gpg: Signature made Thu 01 Apr 2021 12:54:52 BST
      # gpg:                using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
      # gpg:                issuer "marcandre.lureau@redhat.com"
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full]
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full]
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * remotes/marcandre/tags/for-6.0-pull-request:
        tests: Add tests for yank with the chardev-change case
        chardev: Fix yank with the chardev-change case
        chardev/char.c: Always pass id to chardev_new
        chardev/char.c: Move object_property_try_add_child out of chardev_new
        yank: Always link full yank code
        yank: Remove dependency on qiochannel
        docs: simplify each section title
        dbus-vmstate: Increase the size of input stream buffer used during load
        util: fix use-after-free in module_load_one
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      415fa2fe
  6. 01 4月, 2021 9 次提交