1. 08 7月, 2014 11 次提交
    • S
      disas/libvixl: prepend the include path of libvixl header files · 834fb1b2
      Stefano Stabellini 提交于
      Currently the Makefile of disas/libvixl appends
      -I$(SRC_PATH)/disas/libvixl to QEMU_CFLAGS. As a consequence C++ files
      that #include "utils.h", such as disas/libvixl/a64/instructions-a64.cc,
      are going to look for utils.h on all the other include paths first.
      
      When building QEMU as part of the Xen make system, another unrelated
      utils.h file is going to be chosen for inclusion, causing a build
      failure:
      
      In file included from disas/libvixl/a64/instructions-a64.cc:27:0:
      /qemu/disas/libvixl/a64/instructions-a64.h:88:64: error:
      'rawbits_to_float' was not declared in this scope
       const float kFP32PositiveInfinity = rawbits_to_float(0x7f800000);
      
      Fix the problem by prepending (rather than appending) the libvixl
      include path to QEMU_CFLAGS.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      834fb1b2
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · eaa49801
      Peter Maydell 提交于
      Patch queue for ppc - 2014-07-08
      
      A few bug fixes for 2.1:
      
        - Fix e500* TLB emulation with qemu-system-ppc
        - Update SLOF to current upstream (good number of bugfixes)
        - Make POWER7 / POWER8 PVR match more agnostic (needed in 2.1 for cmdline compat)
        - Fix u-boot.e500 install (how did that happen?)
        - Fix H_CAS on LE hosts
        - ppc64le-linux-user fixes
      
      # gpg: Signature made Tue 08 Jul 2014 11:18:58 BST using RSA key ID 03FEDC60
      # gpg: Can't check signature: public key not found
      
      * remotes/agraf/tags/signed-ppc-for-upstream:
        PPC: e500: Actually install u-boot.e500
        target-ppc: Remove POWER7+ and POWER8E families
        target-ppc: Add pvr_match() callback
        pseries: Update SLOF firmware image to qemu-slof-20140630
        PPC: Fix booke206 TLB with phys addrs > 32bit
        target-ppc: Fix gdbstub for ppc64le-linux-user
        target-ppc: Change default cpu for ppc64le-linux-user
        target-ppc: KVMPPC_H_CAS fix cpu-version endianess
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      eaa49801
    • C
      PPC: e500: Actually install u-boot.e500 · 0c6ab8c9
      Cole Robinson 提交于
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      0c6ab8c9
    • A
      target-ppc: Remove POWER7+ and POWER8E families · b60c6007
      Alexey Kardashevskiy 提交于
      POWER8E is architecturally equal to POWER8 and POWER7+ is equal to
      POWER7. Also no user space tool makes any difference for CPU node name
      in the device tree (such as PowerPC,POWER7@0 vs. PowerPC,POWER7+@0).
      So there is no point in emulating POWER7+ and POWER8E apart from POWER7
      and POWER8. Also, the previos patch implemented multiple PVR mask support
      per CPU class so POWER7 class now covers both POWER7 and POWER7+ CPUs,
      same is valid for POWER8/8E.
      
      This removes POWER7+ and POWER8E classes. This replaces references
      to POWER7P/POWER8E families with POWER7/POWER8 families.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      b60c6007
    • A
      target-ppc: Add pvr_match() callback · 03ae4133
      Alexey Kardashevskiy 提交于
      So far it was enough to have a base PVR value and mask per CPU
      family such as POWER7 or POWER8. However there CPUs which are
      completely architecturally compatible but have different PVRs such
      as POWER7/POWER7+ and POWER8/POWER8E. For these CPUs, top 16 bits
      are CPU family and low 16 bits are the version. The families have
      PVR base values different enough so defining a mask which
      would cover both (or potentially more) CPUs within the family is
      not possible.
      
      This adds a pvr_match() callback to PowerPCCPUClass. The default
      handler simply compares PVR defined in the class.
      
      This implements ppc_pvr_match_power7/ppc_pvr_match_power8 callbacks
      for POWER7/8 families. These check for POWER7/POWER7+ and POWER8/POWER8E.
      
      This changes ppc_cpu_compare_class_pvr_mask() not to check masks but
      use the pvr_match() callback.
      
      Since all server CPUs use the same mask, this defines one mask
      value - CPU_POWERPC_POWER_SERVER_MASK - which is used everywhere now.
      This removes other mask definitions.
      
      This removes pvr_mask from PowerPCCPUClass as it is not used anymore.
      This removes pvr initialization for POWER7/8 families as it is not used
      to find the class, the pvr_match() callback is used instead.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      03ae4133
    • A
      pseries: Update SLOF firmware image to qemu-slof-20140630 · d6c23f8a
      Alexey Kardashevskiy 提交于
      The changelog is:
        > Quieten the grub warning
        > Add boot menu support
        > boot from disk having chrp-boot file
        > fat16: fix read and remove debug messages
        > dhcparch define missing in compilation
        > pci-scan: reserve memory for pci-bridge without devices
        > pci-bridge: Fix ranges when no device beyond the bridge
        > Set dhcp arch in board-qemu config file
        > xhci: fix controller stop
        > dhcp: support client architecture code 93
        > virtio-blk: support variable block size
        > usb: use common pci dma alloc/mapping routines
        > Remove unused SLOF code
        > pci-bridge: generic bridge needs to support pci dma functions
        > pci: extract dma functions as separate file
        > e1000: fix usage of multiple nics
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      d6c23f8a
    • A
      PPC: Fix booke206 TLB with phys addrs > 32bit · da89a1cf
      Alexander Graf 提交于
      We were truncating physical addresses to 32bit when using qemu-system-ppc
      with a booke206 TLB implementation. This patch fixes that and makes the full
      address space available.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      da89a1cf
    • R
      target-ppc: Fix gdbstub for ppc64le-linux-user · be5c9dda
      Richard Henderson 提交于
      The bswap that's needed for system mode isn't required for
      user mode, and in fact breaks debugging.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      [agraf: fix apple gdbstub implementation]
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      be5c9dda
    • R
      target-ppc: Change default cpu for ppc64le-linux-user · a74029f6
      Richard Henderson 提交于
      The default, 970fx, doesn't support MSR_LE.  So even though we set LE in
      ppc_cpu_reset, it gets cleared again in hreg_store_msr.  Error out if a
      user-selected cpu model doesn't support LE.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      [agraf: switch to POWER7 as default for BE and LE]
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      a74029f6
    • L
      target-ppc: KVMPPC_H_CAS fix cpu-version endianess · 4bce526e
      Laurent Dufour 提交于
      During KVMPPC_H_CAS processing, the cpu-version updated value is stored
      without taking care of the current endianess. As a consequence, the guest
      may not switch to the right CPU model, leading to unexpected results.
      
      If needed, the value is now converted.
      
      Fixes: 6d9412ea ("target-ppc: Implement "compat" CPU option")
      Signed-off-by: NLaurent Dufour <ldufour@linux.vnet.ibm.com>
      Reviewed-by: NGreg Kurz <gkurz@linux.vnet.ibm.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      4bce526e
    • P
      Merge remote-tracking branch 'remotes/afaerber/tags/prep-for-2.1' into staging · 128f0e66
      Peter Maydell 提交于
      PowerPC Reference Platform (PReP)
      
      * Update OpenHack'Ware firmware to replace QEMU-side workarounds
      
      # gpg: Signature made Mon 07 Jul 2014 15:49:42 BST using RSA key ID 3E7E013F
      # gpg: Good signature from "Andreas Färber <afaerber@suse.de>"
      # gpg:                 aka "Andreas Färber <afaerber@suse.com>"
      
      * remotes/afaerber/tags/prep-for-2.1:
        prep: Update ppc_rom.bin
        prep: Remove CPU reset entry point hack related to OpenHack'Ware
        prep: Remove PCI memory hack related to OpenHack'Ware
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      128f0e66
  2. 07 7月, 2014 19 次提交
  3. 06 7月, 2014 10 次提交