1. 20 3月, 2014 12 次提交
  2. 19 3月, 2014 18 次提交
  3. 18 3月, 2014 10 次提交
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140317' into staging · 2dda43ba
      Peter Maydell 提交于
      target-arm queue:
       * more A64 Neon instructions
       * fixes to reset CBAR values for A9 and A15 boards
       * fix accesses to PMCR register in -icount mode
      
      # gpg: Signature made Mon 17 Mar 2014 22:04:52 GMT using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20140317: (30 commits)
        scripts/qemu-binfmt-conf.sh: Add AArch64 registration
        target-arm: A64: Add [UF]RSQRTE (reciprocal root estimate)
        target-arm: A64: Implement FCVTXN
        target-arm: A64: Implement scalar saturating narrow ops
        target-arm: A64: Move handle_2misc_narrow function
        target-arm: A64: Implement AdvSIMD reciprocal estimate insns URECPE, FRECPE
        softfloat: export squash_input_denormal functions
        target-arm: A64: Implement FCVTZS, FCVTZU in the shift-imm categories
        target-arm: A64: Handle saturating left shifts SQSHL, SQSHLU, UQSHL
        exec-all.h: Increase MAX_OP_PER_INSTR for ARM A64 decoder
        target-arm: A64: Implement FRINT*
        target-arm: A64: Implement SRI
        target-arm: A64: Add FRECPX (reciprocal exponent)
        target-arm: A64: List unsupported shift-imm opcodes
        target-arm: A64: Implement FCVTL
        target-arm: A64: Implement FCVTN
        target-arm: A64: Implement FCVT[NMAPZ][SU] SIMD instructions
        target-arm: A64: Implement SHLL, SHLL2
        target-arm: A64: Implement SADDLP, UADDLP, SADALP, UADALP
        target-arm: A64: Saturating and narrowing shift ops
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      2dda43ba
    • P
      ui/vnc: fix vmware VGA incompatiblities · 2f487a3d
      Peter Lieven 提交于
      this fixes invalid rectangle updates observed after commit 12b316d4
      with the vmware VGA driver. The issues occured because the server
      and client surface update seems to be out of sync at some points
      and the max width of the surface is not dividable by
      VNC_DIRTY_BITS_PER_PIXEL (16).
      Reported-by: NSerge Hallyn <serge.hallyn@ubuntu.com>
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      2f487a3d
    • P
      Merge remote-tracking branch 'remotes/borntraeger/tags/kvm-s390-20140317' into staging · 315b5934
      Peter Maydell 提交于
      4 small patches:
      - Fixing findings of valgrind regarding minor memory leaks:
        Currently we forget the pointer of qemu_allocate_irqs. Since we never
        free the irqs, this is not critical, but obviously not good programming
        style. While we are at it, we dont need the irq infrastructure for
        the sclp consoles.
      - Handle new ELF error codes for BIOS loading
      
      # gpg: Signature made Mon 17 Mar 2014 21:34:12 GMT using RSA key ID B5A61C7C
      # gpg: Can't check signature: public key not found
      
      * remotes/borntraeger/tags/kvm-s390-20140317:
        s390x/sclpconsole-lm: Fix and simplify irq setup
        s390x/sclpconsole: Fix and simplify interrupt injection
        s390x/cpu hotplug: Fix memory leak
        s390/ipl: Fix error path on BIOS loading
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      315b5934
    • P
      Merge remote-tracking branch 'remotes/rth/tcg-v8p-2' into staging · cdf0592c
      Peter Maydell 提交于
      * remotes/rth/tcg-v8p-2:
        tcg-sparc: Convert to new ldst opcodes
        tcg-sparc: Convert to new ldst helpers
        tcg-sparc: Tidy tcg_out_tlb_load interface
        tcg-sparc: Use TCGMemOp within qemu_ldst routines
        tcg-sparc: Improve tcg_out_movi
        tcg-sparc: Dont handle constant arguments to ext32 ops
        tcg-sparc: Don't handle remainder
        tcg-sparc: Use intptr_t as appropriate
        tcg-sparc: Tidy call+jump patterns
        tcg-sparc: Fix tlb read
        tcg-sparc: Fix ld64 for 32-bit mode
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      cdf0592c
    • C
      s390x/sclpconsole-lm: Fix and simplify irq setup · 4f3ed190
      Christian Borntraeger 提交于
      valgrind complains about a memory leak in irq setup of sclpconsole:
      
      ==42117== 8 bytes in 1 blocks are definitely lost in loss record 89of 833
      ==42117==    at 0x4031AFE: malloc (vg_replace_malloc.c:292)
      ==42117==    by 0x8022F855: malloc_and_trace (vl.c:2715)
      ==42117==    by 0x4145569: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
      ==42117==    by 0x800F696D: qemu_extend_irqs (irq.c:51)
      ==42117==    by 0x800F6AF7: qemu_allocate_irqs (irq.c:68)
      ==42117==    by 0x800F5685: console_init (sclpconsole.c:235)
      ==42117==    by 0x80297C79: event_realize (event-facility.c:386)
      ==42117==    by 0x80105071: device_set_realized (qdev.c:693)
      ==42117==    by 0x801CDC4B: property_set_bool (object.c:1337)
       ==42117==    by 0x801CBD7F: object_property_set (object.c:819)
      [...]
      
      We dont need the indirection of an qemu irq to inject an slcp interrupt.
      Fixes a valgrind error and makes the code simpler.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NHeinz Graalfs <graalfs@linux.vnet.ibm.com>
      4f3ed190
    • C
      s390x/sclpconsole: Fix and simplify interrupt injection · b074e622
      Christian Borntraeger 提交于
      valgrind complains about a memory leak in irq setup of sclpconsole:
      
      ==42117== 8 bytes in 1 blocks are definitely lost in loss record 89 of 833
      ==42117==    at 0x4031AFE: malloc (vg_replace_malloc.c:292)
      ==42117==    by 0x8022F855: malloc_and_trace (vl.c:2715)
      ==42117==    by 0x4145569: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
      ==42117==    by 0x800F696D: qemu_extend_irqs (irq.c:51)
      ==42117==    by 0x800F6AF7: qemu_allocate_irqs (irq.c:68)
      ==42117==    by 0x800F5685: console_init (sclpconsole.c:235)
      ==42117==    by 0x80297C79: event_realize (event-facility.c:386)
      ==42117==    by 0x80105071: device_set_realized (qdev.c:693)
      ==42117==    by 0x801CDC4B: property_set_bool (object.c:1337)
      ==42117==    by 0x801CBD7F: object_property_set (object.c:819)
      [...]
      
      Turns out that we actually dont need the indirection, so trigger the
      sclp interrupt directly.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NHeinz Graalfs <graalfs@linux.vnet.ibm.com>
      b074e622
    • C
      s390x/cpu hotplug: Fix memory leak · 7b53f294
      Christian Borntraeger 提交于
      valgrind complains about the following:
      ==42117== 8 bytes in 1 blocks are definitely lost in loss record 88 of 833
      ==42117==    at 0x4031AFE: malloc (vg_replace_malloc.c:292)
      ==42117==    by 0x8022F855: malloc_and_trace (vl.c:2715)
      ==42117==    by 0x4145569: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2)
      ==42117==    by 0x800F696D: qemu_extend_irqs (irq.c:51)
      ==42117==    by 0x800F6AF7: qemu_allocate_irqs (irq.c:68)
      ==42117==    by 0x8029FA4B: irq_cpu_hotplug_init (sclpcpu.c:84)
      ==42117==    by 0x80297C79: event_realize (event-facility.c:386)
      ==42117==    by 0x80105071: device_set_realized (qdev.c:693)
      [...]
      
      Right it is. Don't drop the pointer of the irq.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Reviewed-by: NJason J. Herne <jjherne@us.ibm.com>
      7b53f294
    • C
      s390/ipl: Fix error path on BIOS loading · 0a1bec8a
      Christian Borntraeger 提交于
      commit 18674b26
      (elf-loader: add more return codes) enabled the elf loader to return
      other errors than -1.
      
      Lets also handle that case for our "BIOS" on s390.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      CC: Alexey Kardashevskiy <aik@ozlabs.ru>
      CC: Alexander Graf <agraf@suse.de>
      0a1bec8a
    • R
      tcg-sparc: Convert to new ldst opcodes · cab0a7ea
      Richard Henderson 提交于
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      cab0a7ea
    • R
      tcg-sparc: Convert to new ldst helpers · 7ea5d725
      Richard Henderson 提交于
      All of the helpers with the explicit big/little endian option
      require the return address as a parameter.  Acquire this via
      a trampoline.
      
      Move the load of areg0 into the trampoline.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      7ea5d725