1. 17 6月, 2014 5 次提交
    • R
      signal/all: remove return value from setup_sigcontext · 41ecc72b
      Riku Voipio 提交于
      Make all implementations of setup_sigcontext void and
      remove checking it's return value from functions calling
      setup_sigcontext.
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      41ecc72b
    • R
      signal/all: remove return value from copy_siginfo_to_user · b0fd8d18
      Riku Voipio 提交于
      Since copy_siginfo_to_user always returns 0, make it void
      and remove any checks for return value from calling functions.
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      b0fd8d18
    • R
      signal/x86/setup_frame: __put_user cleanup · 7df2fa36
      Riku Voipio 提交于
      Remove the remaining check for __put_user return
      value, and all the checks for err variable which
      isn't set anywhere anymore.
      
      No we can only end up in give_sigsegv due to failed
      lock_user_struct - thus we remove the unlock_user_struct
      to avoid unlocking a region never locked.
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      7df2fa36
    • R
      signal/all: remove __get/__put_user return value reading · 1d8b512b
      Riku Voipio 提交于
      Remove all the simple cases of reading the return value
      of __get_user and __put_user.
      
      We set err = 0 in sparc versions of do_sigreturn and
      sparc64_set_context to avoid compile error, but else this patch is
      just general removal of err |= __get_user ... idiom.
      
      v2: remove err variable from target_rt_restore_ucontext
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      1d8b512b
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · af44da87
      Peter Maydell 提交于
      Patch queue for ppc - 2014-06-16
      
      This pull request brings a lot of fun things. Among others we have
      
        - e500: u-boot firmware support
        - sPAPR: magic page enablement
        - sPAPR: add "compat" CPU option to support older guests
        - sPAPR: refactorings in preparation for VFIO
        - POWER8 live migration
        - mac99: expose bus frequency
        - little endian core dump, gdb and disas support
        - new ppc64le-linux-user target
        - DFP emulation
        - bug fixes
      
      # gpg: Signature made Mon 16 Jun 2014 12:28:32 BST using RSA key ID 03FEDC60
      # gpg: Can't check signature: public key not found
      
      * remotes/agraf/tags/signed-ppc-for-upstream: (156 commits)
        spapr_pci: Advertise MSI quota
        PPC: KVM: Make pv hcall endian agnostic
        powerpc: use float64 for frsqrte
        spapr: Add kvm-type property
        spapr: Create SPAPRMachine struct
        linux-user: Tell guest about big host page sizes
        spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE
        spapr_hcall: Split h_set_mode()
        target-ppc: Enable DABRX SPR and limit it to <=POWER7
        target-ppc: Enable PPR and VRSAVE SPRs migration
        target-ppc: Add POWER8's Event Based Branch (EBB) control SPRs
        KVM: target-ppc: Enable TM state migration
        target-ppc: Add POWER8's TM SPRs
        target-ppc: Add POWER8's MMCR2/MMCRS SPRs
        target-ppc: Enable FSCR facility check for TAR
        target-ppc: Add POWER8's FSCR SPR
        target-ppc: Add POWER8's TIR SPR
        target-ppc: Refactor class init for POWER7/8
        target-ppc: Switch POWER7/8 classes to use correct PMU SPRs
        target-ppc: Make use of gen_spr_power5p_lpar() for POWER7/8
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      af44da87
  2. 16 6月, 2014 35 次提交