1. 19 11月, 2018 2 次提交
    • P
      Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-november-2018-v2' into staging · d1b3b1ee
      Peter Maydell 提交于
      MIPS queue for QEMU 3.1-rc2 - v2
      
      # gpg: Signature made Sat 17 Nov 2018 18:30:46 GMT
      # gpg:                using RSA key D4972A8967F75A65
      # gpg: Good signature from "Aleksandar Markovic <amarkovic@wavecomp.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 8526 FBF1 5DA3 811F 4A01  DD75 D497 2A89 67F7 5A65
      
      * remotes/amarkovic/tags/mips-queue-november-2018-v2:
        MAINTAINERS: Add Stefan Markovic as a MIPS reviewer
        target/mips: Disable R5900 support
        target/mips: Rename MMI-related functions
        target/mips: Rename MMI-related opcodes
        target/mips: Rename MMI-related masks
        target/mips: Guard check_insn with INSN_R5900 check
        target/mips: Guard check_insn_opc_user_only with INSN_R5900 check
        target/mips: Fix decoding mechanism of special R5900 opcodes
        target/mips: Fix decoding mechanism of R5900 DIV1 and DIVU1
        target/mips: Fix decoding mechanism of R5900 MFLO1, MFHI1, MTLO1 and MTHI1
        linux-user: Update MIPS specific prctl() implementation
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d1b3b1ee
    • P
      Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-rc2' into staging · d0649109
      Peter Maydell 提交于
      RISC-V Patches for 3.1-rc2
      
      This pull request contains four patches that aren't really related to
      each other aside from all being bug fixes that I think should go in for
      3.1.0:
      
      * The second half of Alistair's memory leak patch set that I missed last
        week.
      * A fix to make fclass.d availiable only on RV64IFD systems (without
        this it's availiable on RV32IFD systems, truncating the result).
      * A fix to make sfence.vm availiable only in priv-1.9.1, and sfence.vma
        only availiable in priv-1.10.
      * A change to respect fences in user-mode emulators, which were
        previously treated as NOPs.
      
      As usual, this builds and boot Linux for me.  I don't think I have
      anything else planned for 3.1.0, but I may be wrong as things are a bit
      hectic this week.
      
      # gpg: Signature made Tue 13 Nov 2018 23:48:38 GMT
      # gpg:                using RSA key EF4CA1502CCBAB41
      # gpg: Good signature from "Palmer Dabbelt <palmer@dabbelt.com>"
      # gpg:                 aka "Palmer Dabbelt <palmer@sifive.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 00CE 76D1 8349 60DF CE88  6DF8 EF4C A150 2CCB AB41
      
      * remotes/riscv/tags/riscv-for-master-3.1-rc2:
        RISC-V: Respect fences for user-only emulators
        target/riscv: Fix sfence.vm/a both available in any priv version
        target/riscv: Fix FCLASS_D being treated as RV64 only
        hw/riscv/virt: Free the test device tree node name
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d0649109
  2. 18 11月, 2018 11 次提交
  3. 16 11月, 2018 6 次提交
  4. 15 11月, 2018 7 次提交
  5. 14 11月, 2018 7 次提交
  6. 13 11月, 2018 7 次提交
    • D
      s390x/pci: properly fail if the zPCI device cannot be created · b6e67ecc
      David Hildenbrand 提交于
      Right now, errors during realize()/pre_plug/plug of the zPCI device
      would result in QEMU crashing instead of failing nicely when creating
      a zPCI device for a PCI device.
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NCollin Walling <walling@linux.ibm.com>
      Signed-off-by: NDavid Hildenbrand <david@redhat.com>
      Message-Id: <20181113121710.18490-1-david@redhat.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      b6e67ecc
    • P
      Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2018-11-12-tag' into staging · 6ff14469
      Peter Maydell 提交于
      qemu-ga patch queue for 3.1.0
      
      * add missing #include guards for guest-agent-core.h
      * fix leaks introduced with recent win32 enablement of disk info in
        guest-get-fsinfo
      
      # gpg: Signature made Tue 13 Nov 2018 02:52:12 GMT
      # gpg:                using RSA key 3353C9CEF108B584
      # gpg: Good signature from "Michael Roth <flukshun@gmail.com>"
      # gpg:                 aka "Michael Roth <mdroth@utexas.edu>"
      # gpg:                 aka "Michael Roth <mdroth@linux.vnet.ibm.com>"
      # Primary key fingerprint: CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584
      
      * remotes/mdroth/tags/qga-pull-2018-11-12-tag:
        qga: Add multiple include guard to guest-agent-core.h
        qga-win: fix leaks of build_guest_disk_info()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6ff14469
    • P
      Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-3.1-pull-request' into staging · 186ac05f
      Peter Maydell 提交于
      - gdb signal handling fix
      - add SO_REUSEPORT
      - remove dead-code
      
      # gpg: Signature made Mon 12 Nov 2018 20:48:23 GMT
      # gpg:                using RSA key F30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/linux-user-for-3.1-pull-request:
        linux-user: Add support for SO_REUSEPORT
        linux-user: Clean up nios2 main loop signal handling
        linux-user: Don't call gdb_handlesig() before queue_signal()
        linux-user: Remove dead error-checking code
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      186ac05f
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20181113' into staging · a8a1b163
      Peter Maydell 提交于
      target/arm queue:
       * Remove no-longer-needed workaround for small SAU regions for v8M
       * Remove antique TODO comment
       * MAINTAINERS: Add an entry for the 'collie' machine
       * hw/arm/sysbus-fdt: Only call match_fn callback if the type matches
       * Fix infinite recursion in tlbi_aa64_vmalle1_write()
       * ARM KVM: fix various bugs in handling of guest debugging
       * Correctly implement handling of HCR_EL2.{VI, VF}
       * Hyp mode R14 is shared with User and System
       * Give Cortex-A15 and -A7 the EL2 feature
      
      # gpg: Signature made Tue 13 Nov 2018 10:51:53 GMT
      # gpg:                using RSA key 3C2525ED14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20181113:
        target/arm/cpu: Give Cortex-A15 and -A7 the EL2 feature
        target/arm: Hyp mode R14 is shared with User and System
        target/arm: Correctly implement handling of HCR_EL2.{VI, VF}
        target/arm: Track the state of our irq lines from the GIC explicitly
        Revert "target/arm: Implement HCR.VI and VF"
        arm: fix aa64_generate_debug_exceptions to work with EL2
        arm: use symbolic MDCR_TDE in arm_debug_target_el
        tests/guest-debug: fix scoping of failcount
        target/arm64: kvm debug set target_el when passing exception to guest
        target/arm64: hold BQL when calling do_interrupt()
        target/arm64: properly handle DBGVR RESS bits
        target/arm: Fix typo in tlbi_aa64_vmalle1_write
        hw/arm/sysbus-fdt: Only call match_fn callback if the type matches
        MAINTAINERS: Add an entry for the 'collie' machine
        target/arm: Remove antique TODO comment
        target/arm: Remove workaround for small SAU regions
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a8a1b163
    • P
      target/arm/cpu: Give Cortex-A15 and -A7 the EL2 feature · 436c0cbb
      Peter Maydell 提交于
      The Cortex-A15 and Cortex-A7 both have EL2; now we've implemented
      it properly we can enable the feature bit.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Message-id: 20181109173553.22341-3-peter.maydell@linaro.org
      436c0cbb
    • P
      target/arm: Hyp mode R14 is shared with User and System · 593cfa2b
      Peter Maydell 提交于
      Hyp mode is an exception to the general rule that each AArch32
      mode has its own r13, r14 and SPSR -- it has a banked r13 and
      SPSR but shares its r14 with User and System mode. We were
      incorrectly implementing it as banked, which meant that on
      entry to Hyp mode r14 was 0 rather than the USR/SYS r14.
      
      We provide a new function r14_bank_number() which is like
      the existing bank_number() but provides the index into
      env->banked_r14[]; bank_number() provides the index to use
      for env->banked_r13[] and env->banked_cpsr[].
      
      All the points in the code that were using bank_number()
      to index into env->banked_r14[] are updated for consintency:
       * switch_mode() -- this is the only place where we fix
         an actual bug
       * aarch64_sync_32_to_64() and aarch64_sync_64_to_32():
         no behavioural change as we already special-cased Hyp R14
       * kvm32.c: no behavioural change since the guest can't ever
         be in Hyp mode, but conceptually the right thing to do
       * msr_banked()/mrs_banked(): we can never get to the case
         that accesses banked_r14[] with tgtmode == ARM_CPU_MODE_HYP,
         so no behavioural change
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20181109173553.22341-2-peter.maydell@linaro.org
      593cfa2b
    • P
      target/arm: Correctly implement handling of HCR_EL2.{VI, VF} · 89430fc6
      Peter Maydell 提交于
      In commit 8a0fc3a2 we tried to implement HCR_EL2.{VI,VF},
      but we got it wrong and had to revert it.
      
      In that commit we implemented them as simply tracking whether there
      is a pending virtual IRQ or virtual FIQ. This is not correct -- these
      bits cause a software-generated VIRQ/VFIQ, which is distinct from
      whether there is a hardware-generated VIRQ/VFIQ caused by the
      external interrupt controller. So we need to track separately
      the HCR_EL2 bit state and the external virq/vfiq line state, and
      OR the two together to get the actual pending VIRQ/VFIQ state.
      
      Fixes: 8a0fc3a2Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-id: 20181109134731.11605-4-peter.maydell@linaro.org
      89430fc6