Skip to content
Snippets Groups Projects
  1. Oct 12, 2018
    • Tony Krowiak's avatar
      s390x/cpumodel: Set up CPU model for AP device support · c5cd17af
      Tony Krowiak authored
      
      A new CPU model feature and two new CPU model facilities are
      introduced to support AP devices for a KVM guest.
      
      CPU model features:
      
      1. The S390_FEAT_AP CPU model feature indicates whether AP
         instructions are available to the guest. This feature will
         be enabled only if the AP instructions are available on the
         linux host as determined by the availability of the
         KVM_S390_VM_CRYPTO_ENABLE_APIE VM attribute which is exposed
         by KVM only if the AP instructions are available on the
         host.
      
         This feature must be turned on from userspace to execute AP
         instructions on the KVM guest. The QEMU command line to turn
         this feature on looks something like this:
      
      	qemu-system-s390x ... -cpu xxx,ap=on ...
      
         This feature will be supported for zEC12 and newer CPU models.
         The feature will not be supported for older models because
         there are few older systems on which to test and the older
         crypto cards will be going out of service in the relatively
         near future.
      
      CPU model facilities:
      
      1. The S390_FEAT_AP_QUERY_CONFIG_INFO feature indicates whether the
         AP Query Configuration Information (QCI) facility is available
         to the guest as determined by whether the facility is available
         on the host. This feature will be exposed by KVM only if the
         QCI facility is installed on the host.
      
      2. The S390_FEAT_AP_FACILITY_TEST feature indicates whether the AP
         Facility Test (APFT) facility is available to the guest as
         determined by whether the facility is available on the host.
         This feature will be exposed by KVM only if APFT is installed
         on the host.
      
      Signed-off-by: default avatarTony Krowiak <akrowiak@linux.ibm.com>
      Tested-by: default avatarPierre Morel <pmorel@linux.ibm.com>
      Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
      Reviewed-by: default avatarHalil Pasic <pasic@linux.ibm.com>
      Reviewed-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
      Tested-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
      Message-Id: <20181010170309.12045-3-akrowiak@linux.ibm.com>
      Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
      c5cd17af
    • Cornelia Huck's avatar
      linux-headers: update · 8f3cd250
      Cornelia Huck authored
      Update to kvm/next commit dd5bd0a65ff6 ("Merge tag 'kvm-s390-next-4.20-1'
      of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux
      
       into HEAD")
      
      Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
      8f3cd250
    • Thomas Huth's avatar
      target/s390x/excp_helper: Remove DPRINTF() macro · c91a2a21
      Thomas Huth authored
      
      Debug macros that are disabled by default should be avoided (since the
      code bit-rots quite easily). Thus turn these debug prints into proper
      qemu_log_mask(CPU_LOG_xxx, ...) statements instead. The DPRINTF statements
      in do_[ext|io|mchk]_interrupt can even be removed completely since we can
      log the information in a central place, s390_cpu_do_interrupt, instead.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <1538751601-7433-1-git-send-email-thuth@redhat.com>
      Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
      Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
      c91a2a21
  2. Oct 11, 2018
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2018-10-10' into staging · 75e50c80
      Peter Maydell authored
      
      Miscellaneous patches for 2018-10-10
      
      # gpg: Signature made Wed 10 Oct 2018 07:03:10 BST
      # gpg:                using RSA key 3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-misc-2018-10-10:
        ivshmem: Fix unplug of device "ivshmem-plain"
        libqtest: Inline g_assert_no_errno()
        tests: Restore check-qdict unit test
        qapi/misc.json: Remove superfluous words in CpuModelExpansionType
        tests/check-qjson: fix a leak
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      75e50c80
  3. Oct 10, 2018
  4. Oct 09, 2018
  5. Oct 08, 2018
Loading