1. 31 1月, 2020 2 次提交
  2. 10 10月, 2019 1 次提交
  3. 05 10月, 2019 2 次提交
  4. 04 10月, 2019 1 次提交
  5. 12 9月, 2019 2 次提交
  6. 04 9月, 2019 1 次提交
  7. 29 8月, 2019 1 次提交
  8. 05 8月, 2019 1 次提交
  9. 02 7月, 2019 1 次提交
  10. 05 6月, 2019 2 次提交
  11. 28 5月, 2019 1 次提交
    • T
      KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_ID · a86cb413
      Thomas Huth 提交于
      KVM_CAP_MAX_VCPU_ID is currently always reporting KVM_MAX_VCPU_ID on all
      architectures. However, on s390x, the amount of usable CPUs is determined
      during runtime - it is depending on the features of the machine the code
      is running on. Since we are using the vcpu_id as an index into the SCA
      structures that are defined by the hardware (see e.g. the sca_add_vcpu()
      function), it is not only the amount of CPUs that is limited by the hard-
      ware, but also the range of IDs that we can use.
      Thus KVM_CAP_MAX_VCPU_ID must be determined during runtime on s390x, too.
      So the handling of KVM_CAP_MAX_VCPU_ID has to be moved from the common
      code into the architecture specific code, and on s390x we have to return
      the same value here as for KVM_CAP_MAX_VCPUS.
      This problem has been discovered with the kvm_create_max_vcpus selftest.
      With this change applied, the selftest now passes on s390x, too.
      Reviewed-by: NAndrew Jones <drjones@redhat.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Message-Id: <20190523164309.13345-9-thuth@redhat.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      a86cb413
  12. 25 5月, 2019 1 次提交
  13. 20 5月, 2019 1 次提交
  14. 26 4月, 2019 1 次提交
  15. 25 4月, 2019 2 次提交
  16. 18 4月, 2019 5 次提交
  17. 16 4月, 2019 1 次提交
  18. 22 2月, 2019 2 次提交
  19. 05 2月, 2019 6 次提交
  20. 18 12月, 2018 2 次提交
  21. 14 12月, 2018 1 次提交
  22. 05 10月, 2018 2 次提交
  23. 01 10月, 2018 1 次提交