1. 12 9月, 2014 25 次提交
  2. 11 9月, 2014 2 次提交
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-console-20140905-2' into staging · 0dfa7e30
      Peter Maydell 提交于
      console: pixman switchover continued, add some infrastructure to make it
               easier using pixman in display device emulation.
      
      # gpg: Signature made Fri 05 Sep 2014 14:38:57 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-console-20140905-2:
        console: Remove unused QEMU_BIG_ENDIAN_FLAG
        console: add qemu_pixman_linebuf_copy
        console: add dpy_gfx_update_dirty
        console: add qemu_create_displaysurface_guestmem
        console: stop using PixelFormat
        console: reimplement qemu_default_pixelformat
        console: add qemu_default_pixman_format
        console: add qemu_pixelformat_from_pixman
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      0dfa7e30
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20140910-1' into staging · fc3b9aa8
      Peter Maydell 提交于
      xhci PCIe endpoint migration compatibility fix
      
      # gpg: Signature made Wed 10 Sep 2014 06:35:20 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-usb-20140910-1:
        xhci PCIe endpoint migration compatibility fix
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      fc3b9aa8
  3. 10 9月, 2014 1 次提交
    • D
      xhci PCIe endpoint migration compatibility fix · e6043e92
      Dr. David Alan Gilbert 提交于
      Add back the PCIe config capabilities on XHCI cards in non-PCIe slots,
      but only for machine types before 2.1.
      
      This fixes a migration incompatibility in the XHCI PCI devices
      caused by:
         058fdcf5 - xhci: add endpoint cap on express bus only
      
      Note that in fixing it for compatibility with older QEMUs, it breaks
      compatibility with existing QEMU 2.1's on older machine types.
      
      The status before this patch was (if it used an XHCI adapter):
         machine type | source qemu
           any           pre-2.1     - FAIL
           any           2.1...      - PASS
      
      With this patch:
         machine type | source qemu
           any           pre-2.1    - PASS
           pre-2.1       2.1...     - FAIL
           2.1           2.1...     - PASS
      
      A test to trigger it is to add '-device nec-usb-xhci,id=xhci,addr=0x12'
      to the command line.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      e6043e92
  4. 09 9月, 2014 2 次提交
  5. 08 9月, 2014 10 次提交
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · 1bc0e405
      Peter Maydell 提交于
      Block pull request
      
      # gpg: Signature made Mon 08 Sep 2014 11:49:31 BST using RSA key ID 81AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      
      * remotes/stefanha/tags/block-pull-request: (24 commits)
        ide: Add resize callback to ide/core
        IDE: Fill the IDENTIFY request consistently
        vmdk: fix buf leak in vmdk_parse_extents()
        vmdk: fix vmdk_parse_extents() extent_file leaks
        ide: Add wwn support to IDE-ATAPI drive
        qtest/ide: Uninitialize PC allocator
        libqos: add a simple first-fit memory allocator
        MAINTAINERS: update sheepdog maintainer
        qemu-nbd: fix indentation and coding style
        qemu-nbd: add option to set detect-zeroes mode
        rename parse_enum_option to qapi_enum_parse and make it public
        block/archipelago: Use QEMU atomic builtins
        qemu-img: fix rebase src_cache option documentation
        qemu-img: clarify src_cache option documentation
        libqos: Added EVENT_IDX support
        libqos: Added MSI-X support
        libqos: Added test case for configuration changes in virtio-blk test
        libqos: Added indirect descriptor support to virtio implementation
        libqos: Added basic virtqueue support to virtio implementation
        tests: Add virtio device initialization
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      1bc0e405
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · 2d6838e8
      Peter Maydell 提交于
      Patch queue for ppc - 2014-09-08
      
      Alexander Graf (11):
            PPC: KVM: Fix g3beige and mac99 when HV is loaded
            PPC: mac99: Move NVRAM to page boundary when necessary
            KVM: Add helper to run KVM_CHECK_EXTENSION on vm fd
            PPC: KVM: Use vm check_extension for pv hcall
            PPC: mac99: Fix core99 timer frequency
            PPC: mac_nvram: Remove unused functions
            PPC: mac_nvram: Allow 2 and 4 byte accesses
            PPC: mac_nvram: Split NVRAM into OF and OSX parts
            PPC: Mac: Move tbfreq into local variable
            PPC: Cuda: Use cuda timer to expose tbfreq to guest
            PPC: Fix default config ordering and add eTSEC for ppc64
      
      Alexey Kardashevskiy (7):
            spapr: Move DT memory node rendering to a helper
            spapr: Use DT memory node rendering helper for other nodes
            spapr: Refactor spapr_populate_memory() to allow memoryless nodes
            spapr: Split memory nodes to power-of-two blocks
            spapr: Add a helper for node0_size calculation
            spapr: Fix ibm, associativity for memory nodes
            spapr_pci: Fix config space corruption
      
      Anton Blanchard (2):
            spapr-vlan: Don't touch last entry in buffer list
            hypervisor property clashes with hypervisor node
      
      Benjamin Herrenschmidt (2):
            loader: Add load_image_size() to replace load_image()
            spapr: Locate RTAS and device-tree based on real RMA
      
      Bharat Bhushan (4):
            ppc: debug stub: Get trap instruction opcode from KVM
            ppc: synchronize excp_vectors for injecting exception
            ppc: Add software breakpoint support
            ppc: Add hw breakpoint watchpoint support
      
      Gonglei (1):
            spapr: fix possible memory leak
      
      Greg Kurz (1):
            spapr_pci: map the MSI window in each PHB
      
      Nikunj A Dadhania (3):
            ppc: spapr-rtas - implement os-term rtas call
            spapr: add uuid/host details to device tree
            ppc/spapr: Fix MAX_CPUS to 255
      
      Peter Maydell (1):
            hw/ppc/spapr_hcall.c: Fix typo in function names
      
      Tom Musta (20):
            linux-user: Fix Stack Pointer Bug in PPC setup_rt_frame
            linux-user: Split PPC Trampoline Encoding from Register Save
            linux-user: Enable Signal Handlers on PPC64
            linux-user: Properly Dereference PPC64 ELFv1 Signal Handler Pointer
            linux-user: Implement do_setcontext for PPC64
            linux-user: Handle PPC64 ELFv2 Function Pointers
            target-ppc: Bug Fix: rlwinm
            target-ppc: Bug Fix: rlwnm
            target-ppc: Bug Fix: rlwimi
            target-ppc: Bug Fix: mullwo
            target-ppc: Bug Fix: mullw
            target-ppc: Bug Fix: mulldo OV Detection
            target-ppc: Bug Fix: srawi
            target-ppc: Bug Fix: srad
            target-ppc: Special Case of rlwimi Should Use Deposit
            target-ppc: Optimize rlwinm MB=0 ME=31
            target-ppc: Optimize rlwnm MB=0 ME=31
            target-ppc: Clean Up mullw
            target-ppc: Clean up mullwo
            target-ppc: Implement mulldo with TCG
      
      # gpg: Signature made Mon 08 Sep 2014 11:51:15 BST using RSA key ID 03FEDC60
      # gpg: Can't check signature: public key not found
      
      * remotes/agraf/tags/signed-ppc-for-upstream: (52 commits)
        hypervisor property clashes with hypervisor node
        PPC: Fix default config ordering and add eTSEC for ppc64
        spapr_pci: map the MSI window in each PHB
        target-ppc: Implement mulldo with TCG
        target-ppc: Clean up mullwo
        target-ppc: Clean Up mullw
        target-ppc: Optimize rlwnm MB=0 ME=31
        target-ppc: Optimize rlwinm MB=0 ME=31
        target-ppc: Special Case of rlwimi Should Use Deposit
        spapr-vlan: Don't touch last entry in buffer list
        spapr_pci: Fix config space corruption
        PPC: Cuda: Use cuda timer to expose tbfreq to guest
        PPC: Mac: Move tbfreq into local variable
        PPC: mac_nvram: Split NVRAM into OF and OSX parts
        PPC: mac_nvram: Allow 2 and 4 byte accesses
        PPC: mac_nvram: Remove unused functions
        PPC: mac99: Fix core99 timer frequency
        PPC: KVM: Use vm check_extension for pv hcall
        KVM: Add helper to run KVM_CHECK_EXTENSION on vm fd
        target-ppc: Bug Fix: srad
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      2d6838e8
    • A
      hypervisor property clashes with hypervisor node · 85423d90
      Anton Blanchard 提交于
      dtc fails on a recent QEMU snapshot:
      
      ERROR (name_properties): "name" property in /hypervisor#1 is incorrect ("hypervisor" instead of base node name)
      
      Looking at the device tree we have a hypervisor property:
      
      # lsprop hypervisor
      hypervisor       "kvm"
      
      But we also have a hypervisor node, with a name that doesn't match:
      
      # lsprop hypervisor#1/
      name             "hypervisor"
      compatible       "linux,kvm"
      linux,phandle    7e5eb5d8 (2120136152)
      
      Commit c08ce91d309c (spapr: add uuid/host details to device tree)
      looks to have collided with an earlier patch. Remove the hypervisor
      property.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      85423d90
    • A
      PPC: Fix default config ordering and add eTSEC for ppc64 · 4a761ffa
      Alexander Graf 提交于
      We messed up the ordering in our default configs for PPC. The top entries
      are generic entries, then come sections that indicate that features are only
      in because of a special feature (such as PReP).
      
      Fix the ordering again and while at it add eTSEC support to the ppc64 target
      so that we can spawn eTSEC adapters with qemu-system-ppc64.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      4a761ffa
    • G
      spapr_pci: map the MSI window in each PHB · 8c46f7ec
      Greg Kurz 提交于
      On sPAPR, virtio devices are connected to the PCI bus and use MSI-X.
      Commit cc943c36 has modified MSI-X
      so that writes are made using the bus master address space and follow
      the IOMMU path.
      
      Unfortunately, the IOMMU address space address space does not have an
      MSI window: the notification is silently dropped in unassigned_mem_write
      instead of reaching the guest... The most visible effect is that all
      virtio devices are non-functional on sPAPR since then. :(
      
      This patch does the following:
      1) map the MSI window into the IOMMU address space for each PHB
         - since each PHB instantiates its own IOMMU address space, we
           can safely map the window at a fixed address (SPAPR_PCI_MSI_WINDOW)
         - no real need to keep the MSI window setup in a separate function,
           the spapr_pci_msi_init() code moves to spapr_phb_realize().
      
      2) kill the global MSI window as it is not needed in the end
      Signed-off-by: NGreg Kurz <gkurz@linux.vnet.ibm.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      8c46f7ec
    • T
      target-ppc: Implement mulldo with TCG · 22ffad31
      Tom Musta 提交于
      Optimize mulldo by using the muls2_i64 operation rather than a helper.  Eliminate
      the obsolete helper code.
      Signed-off-by: NTom Musta <tommusta@gmail.com>
      Suggested-by: NRichard Henderson <rth@twiddle.net>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      22ffad31
    • T
      target-ppc: Clean up mullwo · 26977876
      Tom Musta 提交于
      Simplify the implementation of mullwo.  For 64 bit CPUs, the result is
      the concatenation of the upper and lower parts of the muls2_i32 operation,
      which may be slightly better than deposit.  For 32 bit CPUs, the lower part
      of the muls_i32 operation is moved into the target GPR.
      Signed-off-by: NTom Musta <tommusta@gmail.com>
      Suggested-by: NRichard Henderson <rth@twiddle.net>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      26977876
    • T
      target-ppc: Clean Up mullw · 03039e5e
      Tom Musta 提交于
      Eliminate the unecessary ext32s TCG operation and make the multiplication
      operation explicitly 32 bit.
      Signed-off-by: NTom Musta <tommusta@gmail.com>
      Suggested-by: NRichard Henderson <rth@twiddle.net>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      03039e5e
    • T
      target-ppc: Optimize rlwnm MB=0 ME=31 · 57fca134
      Tom Musta 提交于
      Optimize the special case of rlwnm where MB=0 and ME=31.  This can
      be implemented using a ROTL.
      Suggested-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NTom Musta <tommusta@gmail.com>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      57fca134
    • T
      target-ppc: Optimize rlwinm MB=0 ME=31 · 8979c2f6
      Tom Musta 提交于
      Optimize the special case of rlwinm where MB=0 and ME=31.  This can
      be implemented as a 32-bit ROTL.
      Signed-off-by: NTom Musta <tommusta@gmail.com>
      Suggested-by: NRichard Henderson <rth@twiddle.net>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      8979c2f6