1. 10 3月, 2015 36 次提交
  2. 09 3月, 2015 4 次提交
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · 277263e1
      Peter Maydell 提交于
      Patch queue for ppc - 2015-03-09
      
      This is my current patch queue for 2.3. Highlights include:
      
        * pseries: 2.3 machine
        * pseries: Export RTC via QOM
        * pseries: EEH support
        * mac: save/restore support
        * fix POWER5 hosts
        * random bug fixes
      
      # gpg: Signature made Mon Mar  9 14:00:53 2015 GMT using RSA key ID 03FEDC60
      # gpg: Good signature from "Alexander Graf <agraf@suse.de>"
      # gpg:                 aka "Alexander Graf <alex@csgraf.de>"
      
      * remotes/agraf/tags/signed-ppc-for-upstream: (38 commits)
        target-ppc: Fix warnings from Sparse
        sPAPR: Implement sPAPRPHBClass EEH callbacks
        sPAPR: Implement EEH RTAS calls
        target-ppc: Add versions to server CPU descriptions
        PPC: Introduce the Virtual Time Base (VTB) SPR register
        PPC: Remove duplicate OPENPIC defines in default-configs
        ppc64-softmmu: Remove duplicated OPENPIC from config
        Revert "default-configs/ppc64: add all components of i82378 SuperIO chip used by prep"
        spapr_vio: Convert to realize()
        openpic: convert to vmstate
        openpic: switch IRQQueue queue from inline to bitmap
        openpic: fix up loadvm under -M mac99
        openpic: fix segfault on -M mac99 savevm
        target-ppc: force update of msr bits in cpu_post_load
        target-ppc: move sdr1 value change detection logic to helper_store_sdr1()
        cuda.c: include adb_poll_timer in VMStateDescription
        adb.c: include ADBDevice parent state in KBDState and MouseState
        macio.c: include parent PCIDevice state in VMStateDescription
        display cpu id dump state
        Openpic: check that cpu id is within the number of cpus
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      277263e1
    • S
      target-ppc: Fix warnings from Sparse · a9ab06d1
      Stefan Weil 提交于
      Sparse report:
      
      target-ppc/mmu-hash64.c:353:9: warning: returning void-valued expression
      target-ppc/mmu-hash64.c:620:9: warning: returning void-valued expression
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      a9ab06d1
    • G
      sPAPR: Implement sPAPRPHBClass EEH callbacks · 2aad88f4
      Gavin Shan 提交于
      The patch implements sPAPRPHBClass EEH callbacks so that the EEH
      RTAS requests can be routed to VFIO for further handling.
      Signed-off-by: NGavin Shan <gwshan@linux.vnet.ibm.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      2aad88f4
    • G
      sPAPR: Implement EEH RTAS calls · ee954280
      Gavin Shan 提交于
      The emulation for EEH RTAS requests from guest isn't covered
      by QEMU yet and the patch implements them.
      
      The patch defines constants used by EEH RTAS calls and adds
      callbacks sPAPRPHBClass::{eeh_set_option, eeh_get_state, eeh_reset,
      eeh_configure}, which are going to be used as follows:
      
        * RTAS calls are received in spapr_pci.c, sanity check is done
          there.
        * RTAS handlers handle what they can. If there is something it
          cannot handle and the corresponding sPAPRPHBClass callback is
          defined, it is called.
        * Those callbacks are only implemented for VFIO now. They do ioctl()
          to the IOMMU container fd to complete the calls. Error codes from
          that ioctl() are transferred back to the guest.
      
      [aik: defined RTAS tokens for EEH RTAS calls]
      Signed-off-by: NGavin Shan <gwshan@linux.vnet.ibm.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      ee954280