1. 17 Apr, 2014 4 commits
  2. 14 Apr, 2014 11 commits
  3. 11 Apr, 2014 10 commits
  4. 10 Apr, 2014 3 commits
  5. 09 Apr, 2014 1 commit
  6. 08 Apr, 2014 11 commits
    • Peter Maydell's avatar
      efcc87d9
    • Peter Maydell's avatar
      hw/pci-host/prep: Don't reverse IO accesses on bigendian hosts · 7dc176bc
      Peter Maydell authored
      The raven_io_read() and raven_io_write() functions pass and
      return values in little-endian format (since the IO op struct
      is marked DEVICE_LITTLE_ENDIAN); however they were storing the
      values in the buffer to pass to address_space_read/write()
      in host-endian order, which meant that on big-endian hosts
      the values were inadvertently reversed. Use the *_le_p()
      accessors instead so that we are consistent regardless of
      host endianness.
      
      Strictly speaking the byte order of the buffer for
      address_space_rw() is target byte order (which for PPC
      will be BE) but it doesn't actually matter as long as we
      are consistent about the marking on the IO op struct and
      which stl_*_p().
      
      This bug was probably introduced due to confusion caused by
      the two different versions of ldl_p() and friends:
       bswap.h defines versions meaning "host endianness access"
       cpu-all.h defines versions meaning "target endianness access"
      As a target-independent source file prep.c gets the bswap.h
      versions; the very similar looking code in ioport.c is
      compiled per-target and gets the cpu-all.h versions.
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1396972271-22660-1-git-send-email-peter.maydell@linaro.org
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      7dc176bc
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · 9bc1a1d8
      Peter Maydell authored
      acpi bug fix
      
      Here is a single last minute fix for 2.0
      
      This changes the HID of the container used to claim
      resources for CPU hotplug.
      As a result, windows XP SP3 no longer brings up
      an annoying "found new hardware" wizard on boot.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Tue 08 Apr 2014 13:23:30 BST using RSA key ID D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      
      * remotes/mst/tags/for_upstream:
        dsdt: tweak ACPI ID for hotplug resource device
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      9bc1a1d8
    • Michael S. Tsirkin's avatar
      dsdt: tweak ACPI ID for hotplug resource device · f2ccc311
      Michael S. Tsirkin authored
      ACPI0004 seems too new:
      Windows XP complains about an unrecognized device.
      This is a regression since 1.7.
      Use PNP0A06 instead - Generic Container Device.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Reviewed-By: default avatarIgor Mammedov <imammedo@redhat.com>
      f2ccc311
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-5' into staging · 093de72b
      Peter Maydell authored
      gtk: Implement grab-on-click behavior in relative mode
      
      # gpg: Signature made Tue 08 Apr 2014 12:58:49 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-gtk-5:
        gtk: Implement grab-on-click behavior in relative mode
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      093de72b
    • Takashi Iwai's avatar
      gtk: Implement grab-on-click behavior in relative mode · 800b0e81
      Takashi Iwai authored
      This patch changes the behavior in the relative mode to be compatible
      with other UIs, namely, grabbing the input at the first left click.
      It improves the usability a lot; otherwise you have to press ctl-alt-G
      or select from menu at each time you want to move the pointer.  Also,
      the input grab is cleared when the current mode is switched to the
      absolute mode.
      
      The automatic reset of the implicit grabbing is needed since the
      switching to the absolute mode happens always after the click even on
      Gtk.  That is, we cannot check whether the absolute mode is already
      available at the first click time even though it should have been
      switched in X11 input driver side.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      800b0e81
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · 9a4fb6aa
      Peter Maydell authored
      Patch queue for ppc - 2014-04-08
      
      This is the final queue for 2.0! It fixes a lot of bugs people have
      seen during testing:
      
        - Fix e500 SMP
        - Fix book3s_64 DEC
        - Fix VSX (new feature in 2.0) for LE hosts
        - Fix PR KVM on top of pHyp (SLOF update)
      
      # gpg: Signature made Tue 08 Apr 2014 10:24:18 BST using RSA key ID 03FEDC60
      # gpg: Can't check signature: public key not found
      
      * remotes/agraf/tags/signed-ppc-for-upstream:
        PPC: Add l1 cache sizes for 970 and above systems
        ppce500_spin: Initialize struct properly
        PPC: Only enter MSR_POW when no interrupts pending
        PPC: Clean up DECR implementation
        target-ppc: Correct VSX Integer to FP Conversion
        target-ppc: Correct VSX FP to Integer Conversion
        target-ppc: Correct VSX FP to FP Conversions
        target-ppc: Correct VSX Scalar Compares
        target-ppc: Correct Simple VSR LE Host Inversions
        target-ppc: Correct LE Host Inversion of Lower VSRs
        target-ppc: Define Endian-Correct Accessors for VSR Field Access
        target-ppc: Bug: VSX Convert to Integer Should Truncate
        softfloat: Introduce float32_to_uint64_round_to_zero
        pseries: Update SLOF firmware image to qemu-slof-20140404
        PPC: E500: Set PIR default reset value rather than SPR value
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      9a4fb6aa
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mdroth/qga-pull-2014-4-7' into staging · e792933c
      Peter Maydell authored
      * remotes/mdroth/qga-pull-2014-4-7:
        vss-win32: Fix build with mingw64-headers-3.1.0
        Makefile: add qga-vss-dll-obj-y to nested variables
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      e792933c
    • Alexander Graf's avatar
      PPC: Add l1 cache sizes for 970 and above systems · 06f6e124
      Alexander Graf authored
      Book3s_64 guests expect the L1 cache size in device tree, so let's give
      them proper values for all CPU types we support.
      
      This fixes a "not compliant" warning with sles11 guests on -M pseries for me.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      06f6e124
    • Alexander Graf's avatar
      ppce500_spin: Initialize struct properly · 6a2b3d89
      Alexander Graf authored
      The spinning struct is in guest endianness, so we need to initialize
      its variables in guest endianness too.
      
      This fixes booting e500 guests with SMP on x86 for me.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      6a2b3d89
    • Alexander Graf's avatar
      PPC: Only enter MSR_POW when no interrupts pending · 05edc26c
      Alexander Graf authored
      We were entering the power saving state even when interrupts (like an
      external interrupt or a decrementer interrupt) were still in flight.
      
      In case we find a pending interrupt, don't enter power saving state.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Reviewed-by: default avatarTom Musta <tmusta@gmail.com>
      05edc26c