1. 15 3月, 2017 1 次提交
    • P
      hw/misc/imx6_src: Don't crash trying to reset missing CPUs · 5e2fb7c5
      Peter Maydell 提交于
      Commit 4881658a introduced a call to arm_get_cpu_by_id(),
      and Coverity noticed that we weren't checking that it didn't
      return NULL (CID 1371652).
      
      Normally this won't happen (because all 4 CPUs are expected
      to exist), but it's possible the user requested fewer CPUs
      on the command line. Handle this possibility by silently
      doing nothing, which is the same behaviour as before commit
      4881658a and also how we handle the other CPU operations
      (since we ignore the INVALID_PARAM returns from arm_set_cpu_on()
      and friends).
      
      There is a slight behavioural difference to the pre-4881658a
      situation: the "reset this core" bit will remain set rather
      than not being permitted to be set. The imx6 datasheet is
      unclear about the behaviour in this odd corner case, so we
      opt for the simpler code rather than complicated logic to
      maintain identical behaviour.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1488542374-1256-1-git-send-email-peter.maydell@linaro.org
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      5e2fb7c5
  2. 14 3月, 2017 14 次提交
  3. 13 3月, 2017 15 次提交
  4. 11 3月, 2017 3 次提交
  5. 10 3月, 2017 2 次提交
    • A
      docker/dockerfiles/debian-s390-cross: include clang · 8ba1e5f7
      Alex Bennée 提交于
      It's a silly little limitation on Shippable that is looks for clang
      in the container even though we won't use it. The arm/aarch64 cross
      builds inherit this from debian.docker but as we needed to use
      debian-testing for this we add it here. We also collapse the update
      step into one RUN line to remove and intermediate layer of the docker
      build.
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20170306112848.659-1-alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      8ba1e5f7
    • P
      Merge remote-tracking branch 'remotes/stsquad/tags/pull-mttcg-fixups-090317-1' into staging · 95b0eca4
      Peter Maydell 提交于
      Fix-ups for MTTCG regressions for 2.9
      
      This is the same as v3 posted a few days ago except with a few extra
      Reviewed-by tags added.
      
      # gpg: Signature made Thu 09 Mar 2017 10:45:18 GMT
      # gpg:                using RSA key 0xFBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>"
      # Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * remotes/stsquad/tags/pull-mttcg-fixups-090317-1:
        hw/intc/arm_gic: modernise the DPRINTF
        target/arm/helper: make it clear the EC field is also in hex
        target-i386: defer VMEXIT to do_interrupt
        target/mips: hold BQL for timer interrupts
        translate-all: exit cpu_restore_state early if translating
        target/xtensa: hold BQL for interrupt processing
        s390x/misc_helper.c: wrap IO instructions in BQL
        sparc/sparc64: grab BQL before calling cpu_check_irqs
        cpus.c: add additional error_report when !TARGET_SUPPORT_MTTCG
        target/i386/cpu.h: declare TCG_GUEST_DEFAULT_MO
        vl/cpus: be smarter with icount and MTTCG
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      95b0eca4
  6. 09 3月, 2017 5 次提交