1. 29 7月, 2015 2 次提交
  2. 08 5月, 2015 2 次提交
  3. 01 4月, 2015 2 次提交
    • J
      KVM: s390: migrate vcpu interrupt state · 816c7667
      Jens Freimann 提交于
      This patch adds support to migrate vcpu interrupts. Two new vcpu ioctls
      are added which get/set the complete status of pending interrupts in one
      go. The ioctls are marked as available with the new capability
      KVM_CAP_S390_IRQ_STATE.
      
      We can not use a ONEREG, as the number of pending local interrupts is not
      constant and depends on the number of CPUs.
      
      To retrieve the interrupt state we add an ioctl KVM_S390_GET_IRQ_STATE.
      Its input parameter is a pointer to a struct kvm_s390_irq_state which
      has a buffer and length.  For all currently pending interrupts, we copy
      a struct kvm_s390_irq into the buffer and pass it to userspace.
      
      To store interrupt state into a buffer provided by userspace, we add an
      ioctl KVM_S390_SET_IRQ_STATE. It passes a struct kvm_s390_irq_state into
      the kernel and injects all interrupts contained in the buffer.
      Signed-off-by: NJens Freimann <jfrei@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      816c7667
    • J
      KVM: s390: deliver floating interrupts in order of priority · 6d3da241
      Jens Freimann 提交于
      This patch makes interrupt handling compliant to the z/Architecture
      Principles of Operation with regard to interrupt priorities.
      
      Add a bitmap for pending floating interrupts. Each bit relates to a
      interrupt type and its list. A turned on bit indicates that a list
      contains items (interrupts) which need to be delivered.  When delivering
      interrupts on a cpu we can merge the existing bitmap for cpu-local
      interrupts and floating interrupts and have a single mechanism for
      delivery.
      Currently we have one list for all kinds of floating interrupts and a
      corresponding spin lock. This patch adds a separate list per
      interrupt type. An exception to this are service signal and machine check
      interrupts, as there can be only one pending interrupt at a time.
      Signed-off-by: NJens Freimann <jfrei@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      6d3da241
  4. 17 3月, 2015 3 次提交
  5. 06 3月, 2015 2 次提交
  6. 04 3月, 2015 1 次提交
    • M
      KVM: s390: include guest facilities in kvm facility test · 981467c9
      Michael Mueller 提交于
      Most facility related decisions in KVM have to take into account:
      
      - the facilities offered by the underlying run container (LPAR/VM)
      - the facilities supported by the KVM code itself
      - the facilities requested by a guest VM
      
      This patch adds the KVM driver requested facilities to the test routine.
      
      It additionally renames struct s390_model_fac to kvm_s390_fac and its field
      names to be more meaningful.
      
      The semantics of the facilities stored in the KVM architecture structure
      is changed. The address arch.model.fac->list now points to the guest
      facility list and arch.model.fac->mask points to the KVM facility mask.
      
      This patch fixes the behaviour of KVM for some facilities for guests
      that ignore the guest visible facility bits, e.g. guests could use
      transactional memory intructions on hosts supporting them even if the
      chosen cpu model would not offer them.
      
      The userspace interface is not affected by this change.
      Signed-off-by: NMichael Mueller <mimu@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      981467c9
  7. 09 2月, 2015 1 次提交
  8. 23 1月, 2015 3 次提交
  9. 28 11月, 2014 2 次提交
  10. 17 9月, 2014 1 次提交
  11. 10 9月, 2014 1 次提交
  12. 25 8月, 2014 3 次提交
  13. 21 7月, 2014 2 次提交
  14. 10 7月, 2014 2 次提交
  15. 16 5月, 2014 4 次提交
  16. 29 4月, 2014 1 次提交
  17. 22 4月, 2014 8 次提交