1. 15 9月, 2017 8 次提交
  2. 14 9月, 2017 12 次提交
  3. 13 9月, 2017 9 次提交
  4. 12 9月, 2017 1 次提交
  5. 11 9月, 2017 4 次提交
  6. 08 9月, 2017 6 次提交
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · fcea7370
      Peter Maydell 提交于
      pc, pci, virtio: patches queued before 2.10
      
      A bunch of stuff that was posted before the 2.10 timeframe,
      mostly fixes/cleanups.  New PCI bridges.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Fri 08 Sep 2017 14:15:34 BST
      # gpg:                using RSA key 0x281F0DB8D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      # 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:
        fw_cfg: rename read callback
        pci: add reserved slot check to do_pci_register_device()
        pci: move check for existing devfn into new pci_bus_devfn_available() helper
        vmgenid: replace x-write-pointer-available hack
        vhost-user-bridge: fix resume regression (since 2.9)
        libvhost-user: support resuming vq->last_avail_idx based on used_idx
        acpi/vmgenid: change device category to misc
        intel_iommu: fix missing BQL in pt fast path
        docs: update documentation considering PCIE-PCI bridge
        hw/pci: add QEMU-specific PCI capability to the Generic PCI Express Root Port
        hw/pci: introduce bridge-only vendor-specific capability to provide some hints to firmware
        hw/pci: introduce pcie-pci-bridge device
        Revert "ACPI: don't call acpi_pcihp_device_plug_cb on xen"
        hw/acpi: Move acpi_set_pci_info to pcihp
        hw/acpi: Limit hotplug to root bus on legacy mode
        pc: add 2.11 machine types
        vhost: Release memory references on cleanup
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      fcea7370
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.11-20170908' into staging · a1ae46d1
      Peter Maydell 提交于
      ppc patch queue 2017-09-08
      
      This is the first batch of ppc related patches for qemu-2.11, and it's
      accumulated quite a few things.  Includes:
      
        * A cleanup to handling of ppc cpu models from Igor
        * First parts of fixes to handling of guest vs. host SMT modes from
          Sam Bobroff
        * Preliminary patches towards supporting the Sam460 board from
          Balaton Zoltan
        * Several fixes for hotplug logic
        * Assorted other fixes and cleanups
      
      # gpg: Signature made Fri 08 Sep 2017 06:28:42 BST
      # gpg:                using RSA key 0x6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.11-20170908: (40 commits)
        ppc: spapr: Move VCPU ID calculation into sPAPR
        ppc: remove non implemented cpu models
        ppc: drop caching ObjectClass from PowerPCCPUAlias
        ppc: simplify cpu model lookup by PVR
        ppc: replace inter-function cyclic dependency/recurssion with 2 simple lookups
        ppc: make cpu alias point only to real cpu models
        ppc: make cpu_model translation to type consistent
        ppc: use macros to make cpu type name from string literal
        target/ppc: Remove old STATUS file
        PPC: KVM: Support machine option to set VSMT mode
        spapr: fallback to raw mode if best compat mode cannot be set during CAS
        hw/nvram/spapr_nvram: Device can not be created by the users
        hw/ppc/spapr_cpu_core: Add a proper check for spapr machine
        ppc4xx: Export ECB and PLB emulation
        ppc4xx_i2c: Move to hw/i2c
        ppc4xx_i2c: QOMify
        ppc4xx: Split off 4xx I2C emulation from ppc405_uc to its own file
        ppc4xx: Make MAL emulation more generic
        ppc4xx: Move MAL from ppc405_uc to ppc4xx_devs
        spapr_iommu: Realloc guest visible TCE table when hot(un)plugging vfio-pci
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a1ae46d1
    • M
      fw_cfg: rename read callback · 6f6f4aec
      Marc-André Lureau 提交于
      The callback is called on select.
      
      Furthermore, the next patch introduced a new callback, so rename the
      function type with a generic name.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      6f6f4aec
    • M
      pci: add reserved slot check to do_pci_register_device() · 8b884984
      Mark Cave-Ayland 提交于
      Add a new slot_reserved_mask bitmask to PCIBus indicating whether or not each
      PCI slot on the bus is reserved. Ensure that it is initialised to zero to
      maintain the existing behaviour that all slots are available by default, and
      add the additional check with appropriate error reporting to
      do_pci_register_device().
      Signed-off-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Reviewed-by: NMarcel Apfelbaum <marcel@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      8b884984
    • M
      pci: move check for existing devfn into new pci_bus_devfn_available() helper · 9b717a3a
      Mark Cave-Ayland 提交于
      Also touch up the logic in do_pci_register_device() accordingly.
      Signed-off-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Reviewed-by: NMarcel Apfelbaum <marcel@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      9b717a3a
    • M
      vmgenid: replace x-write-pointer-available hack · c8389550
      Marc-André Lureau 提交于
      This compat property sole function is to prevent the device from being
      instantiated. Instead of requiring an extra compat property, check if
      fw_cfg has DMA enabled.
      
      fw_cfg is a built-in device that is initialized very early by the
      machine init code.  We have at least one other device that also
      assumes fw_cfg_find() can be safely used on realize: pvpanic.
      
      This has the additional benefit of handling other cases properly, like:
      
        $ qemu-system-x86_64 -device vmgenid -machine none
        qemu-system-x86_64: -device vmgenid: vmgenid requires DMA write support in fw_cfg, which this machine type does not provide
        $ qemu-system-x86_64 -device vmgenid -machine pc-i440fx-2.9 -global fw_cfg.dma_enabled=off
        qemu-system-x86_64: -device vmgenid: vmgenid requires DMA write support in fw_cfg, which this machine type does not provide
        $ qemu-system-x86_64 -device vmgenid -machine pc-i440fx-2.6 -global fw_cfg.dma_enabled=on
        [boots normally]
      Suggested-by: NEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      Reviewed-by: NBen Warren <ben@skyportsystems.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      c8389550