1. 21 8月, 2018 26 次提交
  2. 20 8月, 2018 14 次提交
    • P
      Merge remote-tracking branch 'remotes/marcel/tags/rdma-pull-request' into staging · c8090972
      Peter Maydell 提交于
      RDMA queue
      
      # gpg: Signature made Sat 18 Aug 2018 16:01:46 BST
      # gpg:                using RSA key 36D4C0F0CF2FE46D
      # gpg: Good signature from "Marcel Apfelbaum <marcel.apfelbaum@zoho.com>"
      # gpg:                 aka "Marcel Apfelbaum <marcel@redhat.com>"
      # gpg:                 aka "Marcel Apfelbaum <marcel.apfelbaum@gmail.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: B1C6 3A57 F92E 08F2 640F  31F5 36D4 C0F0 CF2F E46D
      
      * remotes/marcel/tags/rdma-pull-request:
        config: split PVRDMA from RDMA
        hw/pvrdma: remove not needed include
        hw/rdma: Add reference to pci_dev in backend_dev
        hw/rdma: Bugfix - Support non-aligned buffers
        hw/rdma: Print backend QP number in hex format
        hw/rdma: Cosmetic change - move to generic function
        hw/pvrdma: Cosmetic change - indent right
        hw/rdma: Reorder resource cleanup
        hw/rdma: Do not allocate memory for non-dma MR
        hw/rdma: Delete useless structure RdmaRmUserMR
        hw/pvrdma: Make default pkey 0xFFFF
        hw/pvrdma: Clean CQE before use
        hw/rdma: Modify debug macros
        hw/pvrdma: Bugfix - provide the correct attr_mask to query_qp
        hw/rdma: Make distinction between device init and start modes
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c8090972
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180820' into staging · 62c34848
      Peter Maydell 提交于
      target-arm queue:
       * Fix crash on conditional instruction in an IT block
       * docs/generic-loader: mention U-Boot and Intel HEX executable formats
       * hw/intc/arm_gicv3_its: downgrade error_report to warn_report in kvm_arm_its_reset
       * imx_serial: Generate interrupt on receive data ready if enabled
       * Fix various minor bugs in AArch32 Hyp related coprocessor registers
       * Permit accesses to ELR_Hyp from Hyp mode via MSR/MRS (banked)
       * Implement AArch32 ERET instruction
       * hw/arm/virt: Add virt-3.1 machine type
       * sdhci: add i.MX SD Stable Clock bit
       * Remove now-obsolete MMIO request_ptr APIs
       * hw/timer/m48t59: Move away from old_mmio accessors
       * hw/watchdog/cmsdk_apb_watchdog: Implement CMSDK APB watchdog module
       * nvic: Expose NMI line
       * hw/dma/pl080: cleanups and new features required for use in MPS boards
      
      # gpg: Signature made Mon 20 Aug 2018 11:30:12 BST
      # 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-20180820: (25 commits)
        hw/dma/pl080: Remove hw_error() if DMA is enabled
        hw/dma/pl080: Correct bug in register address decode logic
        hw/dma/pl080: Provide device reset function
        hw/dma/pl080: Don't use CPU address space for DMA accesses
        hw/dma/pl080: Support all three interrupt lines
        hw/dma/pl080: Allow use as embedded-struct device
        nvic: Expose NMI line
        hw/watchdog/cmsdk_apb_watchdog: Implement CMSDK APB watchdog module
        hw/timer/m48t59: Move away from old_mmio accessors
        hw/misc: Remove mmio_interface device
        memory: Remove MMIO request_ptr APIs
        hw/ssi/xilinx_spips: Remove unneeded MMIO request_ptr code
        sdhci: add i.MX SD Stable Clock bit
        hw/arm/virt: Add virt-3.1 machine type
        target/arm: Implement AArch32 ERET instruction
        target/arm: Permit accesses to ELR_Hyp from Hyp mode via MSR/MRS (banked)
        target/arm: Implement ESR_EL2/HSR for AArch32 and no-EL2
        target/arm: Implement AArch32 Hyp FARs
        target/arm: Implement AArch32 HVBAR
        target/arm: Add missing .cp = 15 to HMAIR1 and HAMAIR1 regdefs
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      62c34848
    • J
      s390x: Enable KVM huge page backing support · 09c6c754
      Janosch Frank 提交于
      QEMU has had huge page support for a longer time already, but KVM
      memory management under s390x needed some changes to work with huge
      backings.
      
      Now that we have support, let's enable it if requested and
      available. Otherwise we now properly tell the user if there is no
      support and back out instead of failing to run the VM later on.
      Signed-off-by: NJanosch Frank <frankja@linux.ibm.com>
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Message-Id: <20180802070201.257406-1-frankja@linux.ibm.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      09c6c754
    • C
      s390x/kvm: add etoken facility · 27e84d4e
      Christian Borntraeger 提交于
      Provide the etoken facility. We need to handle cpu model, migration and
      clear reset.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NJanosch Frank <frankja@linux.ibm.com>
      Message-Id: <20180731090448.36662-3-borntraeger@de.ibm.com>
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      27e84d4e
    • C
      linux-headers: update · d36f7de8
      Cornelia Huck 提交于
      Update to Linux upstream commit 2ad0d5269970
      ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net")
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      d36f7de8
    • D
      s390x/cpumodel: Add "-cpu max" support · c6117788
      David Hildenbrand 提交于
      The "max" CPU model behaves like "-cpu host" when KVM is enabled, and like
      a CPU with the maximum possible feature set when TCG is enabled.
      
      While the "host" model can not be used under TCG ("kvm_required"), the
      "max" model can and "Enables all features supported by the accelerator in
      the current host".
      
      So we can treat "host" just as a special case of "max" (like x86 does).
      It differs to the "qemu" CPU model under TCG such that compatibility
      handling will not be performed and that some experimental CPU features
      not yet part of the "qemu" model might be indicated.
      
      These are right now under TCG (see "qemu_MAX"):
      - stfle53
      - msa5-base
      - zpci
      
      This will result right now in the following warning when starting QEMU TCG
      with the "max" model:
          "qemu-system-s390x: warning: 'msa5-base' requires 'kimd-sha-512'."
      
      The "qemu" model (used as default in QEMU under TCG) will continue to
      work without such warnings. The "max" model in the current form
      might be interesting for kvm-unit-tests (where we would e.g. now also
      test "msa5-base").
      
      The "max" model is neither static nor migration safe (like the "host"
      model). It is independent of the machine but dependends on the accelerator.
      It can be used to detect the maximum CPU model also under TCG from upper
      layers without having to care about CPU model names for CPU model
      expansion.
      Signed-off-by: NDavid Hildenbrand <david@redhat.com>
      Message-Id: <20180725091233.3300-1-david@redhat.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      [CH: minor wording changes]
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      c6117788
    • C
      s390x: remove 's390-squash-mcss' option · 36699ab4
      Cornelia Huck 提交于
      This option has been deprecated for two releases; remove it.
      Acked-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Acked-by: NHalil Pasic <pasic@linux.ibm.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      36699ab4
    • M
      s390x/cpumodel: enum type S390FeatGroup now gets generated · a5f9ecc4
      Michael Mueller 提交于
      The enumeration type S390FeatGroup is now generated as well.
      This shall simplify the definition of new feature groups
      without the requirement to modify existing code.
      Signed-off-by: NMichael Mueller <mimu@linux.ibm.com>
      Message-Id: <20180725143617.8731-1-mimu@linux.ibm.com>
      Acked-by: NDavid Hildenbrand <david@redhat.com>
      Acked-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      a5f9ecc4
    • C
      s390x: introduce 3.1 compat machine · 9ca056d6
      Cornelia Huck 提交于
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      9ca056d6
    • P
      hw/dma/pl080: Remove hw_error() if DMA is enabled · b85fad15
      Peter Maydell 提交于
      The PL08x model currently will unconditionally call hw_error()
      if the DMA engine is enabled by the guest. This has been
      present since the PL080 model was edded in 2006, and is
      presumably either unintentional debug code left enabled,
      or a guard against untested DMA engine code being used.
      
      Remove the hw_error(), since we now have a guest which
      will actually try to use the DMA engine (the self-test
      binary for the AN505 MPS2 FPGA image).
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      b85fad15
    • P
      hw/dma/pl080: Correct bug in register address decode logic · 156448ab
      Peter Maydell 提交于
      A bug in the handling of the register address decode logic
      for the PL08x meant that we were incorrectly treating
      accesses to the DMA channel registers (DMACCxSrcAddr,
      DMACCxDestaddr, DMACCxLLI, DMACCxControl, DMACCxConfiguration)
      as bad offsets. Fix this long-standing bug.
      
      Fixes: https://bugs.launchpad.net/qemu/+bug/1637974Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      156448ab
    • P
      hw/dma/pl080: Provide device reset function · c193304d
      Peter Maydell 提交于
      The PL080/PL081 model is missing a reset function; implement it.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      c193304d
    • P
      hw/dma/pl080: Don't use CPU address space for DMA accesses · 112a829f
      Peter Maydell 提交于
      Currently our PL080/PL081 model uses a combination of the CPU's
      address space (via cpu_physical_memory_{read,write}()) and the
      system address space for performing DMA accesses.
      
      For the PL081s in the MPS FPGA images, their DMA accesses
      must go via Master Security Controllers. Switch the
      PL080/PL081 model to take a MemoryRegion property which
      defines its downstream for making DMA accesses.
      
      Since the PL08x are only used in two board models, we
      make provision of the 'downstream' link mandatory and convert
      both users at once, rather than having it be optional with
      a default to the system address space.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      112a829f
    • P
      hw/dma/pl080: Support all three interrupt lines · 6d0ed6ba
      Peter Maydell 提交于
      The PL080 and PL081 have three outgoing interrupt lines:
       * DMACINTERR signals DMA errors
       * DMACINTTC is the DMA count interrupt
       * DMACINTR is a combined interrupt, the logical OR of the other two
      
      We currently only implement DMACINTR, because that's all the
      realview and versatile boards needed, but the instances of the
      PL081 in the MPS2 firmware images use all three interrupt lines.
      Implement the missing DMACINTERR and DMACINTTC.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      6d0ed6ba