1. 10 May, 2011 3 commits
    • Stefano Stabellini's avatar
      xen: do not clear and mask evtchns in __xen_evtchn_do_upcall · 7e186bdd
      Stefano Stabellini authored
      Change the irq handler of evtchns and pirqs that don't need EOI (pirqs
      that correspond to physical edge interrupts) to handle_edge_irq.
      
      Use handle_fasteoi_irq for pirqs that need eoi (they generally
      correspond to level triggered irqs), no risk in loosing interrupts
      because we have to EOI the irq anyway.
      
      This change has the following benefits:
      
      - it uses the very same handlers that Linux would use on native for the
      same irqs (handle_edge_irq for edge irqs and msis, and
      handle_fasteoi_irq for everything else);
      
      - it uses these handlers in the same way native code would use them: it
      let Linux mask\unmask and ack the irq when Linux want to mask\unmask
      and ack the irq;
      
      - it fixes a problem occurring when a driver calls disable_irq() in its
      handler: the old code was unconditionally unmasking the evtchn even if
      the irq is disabled when irq_eoi was called.
      
      See Documentation/DocBook/genericirq.tmpl for more informations.
      Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
      [v1: Fixed space/tab issues]
      Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      7e186bdd
    • Linus Torvalds's avatar
      Linux 2.6.39-rc7 · 693d92a1
      Linus Torvalds authored
      693d92a1
    • Hugh Dickins's avatar
      vm: fix vm_pgoff wrap in upward expansion · 42c36f63
      Hugh Dickins authored
      Commit a626ca6a ("vm: fix vm_pgoff wrap in stack expansion") fixed
      the case of an expanding mapping causing vm_pgoff wrapping when you had
      downward stack expansion.  But there was another case where IA64 and
      PA-RISC expand mappings: upward expansion.
      
      This fixes that case too.
      Signed-off-by: default avatarHugh Dickins <hughd@google.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      42c36f63
  2. 09 May, 2011 27 commits
  3. 08 May, 2011 6 commits
  4. 07 May, 2011 2 commits
  5. 06 May, 2011 2 commits