1. 25 8月, 2014 6 次提交
  2. 05 8月, 2014 1 次提交
    • P
      KVM: irqchip: Provide and use accessors for irq routing table · 8ba918d4
      Paul Mackerras 提交于
      This provides accessor functions for the KVM interrupt mappings, in
      order to reduce the amount of code that accesses the fields of the
      kvm_irq_routing_table struct, and restrict that code to one file,
      virt/kvm/irqchip.c.  The new functions are kvm_irq_map_gsi(), which
      maps from a global interrupt number to a set of IRQ routing entries,
      and kvm_irq_map_chip_pin, which maps from IRQ chip and pin numbers to
      a global interrupt number.
      
      This also moves the update of kvm_irq_routing_table::chip[][]
      into irqchip.c, out of the various kvm_set_routing_entry
      implementations.  That means that none of the kvm_set_routing_entry
      implementations need the kvm_irq_routing_table argument anymore,
      so this removes it.
      
      This does not change any locking or data lifetime rules.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Tested-by: NEric Auger <eric.auger@linaro.org>
      Tested-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      8ba918d4
  3. 31 7月, 2014 1 次提交
  4. 21 7月, 2014 4 次提交
  5. 30 5月, 2014 1 次提交
  6. 16 5月, 2014 1 次提交
    • D
      KVM: s390: interpretive execution of SIGP EXTERNAL CALL · 4953919f
      David Hildenbrand 提交于
      If the sigp interpretation facility is installed, most SIGP EXTERNAL CALL
      operations will be interpreted instead of intercepted. A partial execution
      interception will occurr at the sending cpu only if the target cpu is in the
      wait state ("W" bit in the cpuflags set). Instruction interception will only
      happen in error cases (e.g. cpu addr invalid).
      
      As a sending cpu might set the external call interrupt pending flags at the
      target cpu at every point in time, we can't handle this kind of interrupt using
      our kvm interrupt injection mechanism. The injection will be done automatically
      by the SIE when preparing the start of the target cpu.
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Reviewed-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      CC: Thomas Huth <thuth@linux.vnet.ibm.com>
      [Adopt external call injection to check for sigp interpretion]
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      4953919f
  7. 06 5月, 2014 1 次提交
  8. 29 4月, 2014 1 次提交
  9. 22 4月, 2014 9 次提交
  10. 25 3月, 2014 1 次提交
  11. 21 3月, 2014 2 次提交
  12. 17 3月, 2014 1 次提交
  13. 04 3月, 2014 1 次提交
  14. 27 2月, 2014 1 次提交
  15. 30 1月, 2014 3 次提交
  16. 22 10月, 2013 1 次提交
    • M
      s390/time: correct use of store clock fast · 8c071b0f
      Martin Schwidefsky 提交于
      The result of the store-clock-fast (STCKF) instruction is a bit fuzzy.
      It can happen that the value stored on one CPU is smaller than the value
      stored on another CPU, although the order of the stores is the other
      way around. This can cause deltas of get_tod_clock() values to become
      negative when they should not be.
      
      We need to be more careful with store-clock-fast, this patch partially
      reverts git commit e4b7b4238e666682555461fa52eecd74652f36bb "time:
      always use stckf instead of stck if available". The get_tod_clock()
      function now uses the store-clock-extended (STCKE) instruction.
      get_tod_clock_fast() can be used if the fuzziness of store-clock-fast
      is acceptable e.g. for wait loops local to a CPU.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      8c071b0f
  17. 25 9月, 2013 1 次提交
  18. 17 6月, 2013 1 次提交
  19. 08 3月, 2013 3 次提交