1. 23 10月, 2010 9 次提交
  2. 21 10月, 2010 1 次提交
  3. 19 10月, 2010 1 次提交
  4. 18 10月, 2010 13 次提交
  5. 12 10月, 2010 1 次提交
  6. 05 10月, 2010 1 次提交
  7. 25 8月, 2010 2 次提交
    • J
      xen: handle events as edge-triggered · dffe2e1e
      Jeremy Fitzhardinge 提交于
      Xen events are logically edge triggered, as Xen only calls the event
      upcall when an event is newly set, but not continuously as it remains set.
      As a result, use handle_edge_irq rather than handle_level_irq.
      
      This has the important side-effect of fixing a long-standing bug of
      events getting lost if:
       - an event's interrupt handler is running
       - the event is migrated to a different vcpu
       - the event is re-triggered
      
      The most noticable symptom of these lost events is occasional lockups
      of blkfront.
      
      Many thanks to Tom Kopec and Daniel Stodden in tracking this down.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Tom Kopec <tek@acm.org>
      Cc: Daniel Stodden <daniel.stodden@citrix.com>
      Cc: Stable Kernel <stable@kernel.org>
      dffe2e1e
    • J
      xen: use percpu interrupts for IPIs and VIRQs · aaca4964
      Jeremy Fitzhardinge 提交于
      IPIs and VIRQs are inherently per-cpu event types, so treat them as such:
       - use a specific percpu irq_chip implementation, and
       - handle them with handle_percpu_irq
      
      This makes the path for delivering these interrupts more efficient
      (no masking/unmasking, no locks), and it avoid problems with attempts
      to migrate them.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stable Kernel <stable@kernel.org>
      aaca4964
  8. 21 8月, 2010 1 次提交
  9. 08 8月, 2010 1 次提交
    • D
      xenbus: Make xenbus_switch_state transactional · 5b61cb90
      Daniel Stodden 提交于
      According to the comments, this was how it's been done years ago, but
      apparently took an xbt pointer from elsewhere back then. The code was
      removed because of consistency issues: cancellation wont't roll back
      the saved xbdev->state.
      
      Still, unsolicited writes to the state field remain an issue,
      especially if device shutdown takes thread synchronization, and subtle
      races cause accidental recreation of the device node.
      
      Fixed by reintroducing the transaction. An internal one is sufficient,
      so the xbdev->state value remains consistent.
      
      Also fixes the original hack to prevent infinite recursion. Instead of
      bailing out on the first attempt to switch to Closing, checks call
      depth now.
      Signed-off-by: NDaniel Stodden <daniel.stodden@citrix.com>
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      5b61cb90
  10. 05 8月, 2010 1 次提交
  11. 30 7月, 2010 1 次提交
  12. 29 7月, 2010 1 次提交
    • I
      xen: Do not suspend IPI IRQs. · 4877c737
      Ian Campbell 提交于
      In general the semantics of IPIs are that they are are expected to
      continue functioning after dpm_suspend_noirq().
      
      Specifically I have seen a deadlock between the callfunc IPI and the
      stop machine used by xen's do_suspend() routine. If one CPU has already
      called dpm_suspend_noirq() then there is a window where it can be sent
      a callfunc IPI before all the other CPUs have entered stop_cpu().
      
      If this happens then the first CPU ends up spinning in stop_cpu()
      waiting for the other to rendezvous in state STOPMACHINE_PREPARE while
      the other is spinning in csd_lock_wait().
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: xen-devel@lists.xensource.com
      LKML-Reference: <1280398595-29708-4-git-send-email-ian.campbell@citrix.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      4877c737
  13. 27 7月, 2010 4 次提交
  14. 23 7月, 2010 3 次提交