1. 12 2月, 2009 1 次提交
  2. 23 10月, 2008 1 次提交
    • D
      [ARM] 5316/1: AT91: oops (regression) fix on gpio irq · 085eefb5
      David Brownell 提交于
      From: David Brownell <dbrownell@users.sourceforge.net>
      
      The "5298/1: Drop desc_handle_irq()" patch went overboard
      and deleted an essential line of code, causing all AT91
      GPIO interrupts to oops (in irq).  Trimmed example:
      
      Unable to handle kernel NULL pointer dereference at virtual address 000000c4
      ...
      PC is at gpio_irq_handler+0x78/0xd0
      LR is at gpio_irq_handler+0x38/0xd0
      ...
      Backtrace:
      [<c0029884>] (gpio_irq_handler+0x0/0xd0) from [<c0020054>] (__exception_text_start+0x54/0x7c)
      [<c0020000>] (__exception_text_start+0x0/0x7c) from [<c00209ec>] (__irq_svc+0x2c/0x60)
      Exception stack(0xc1c1de00 to 0xc1c1de48)
      [<c01f4ca8>] (_spin_unlock_irq+0x0/0x3c) from [<c01389f8>] (at91ether_open+0x220/0x318)
      [<c01387d8>] (at91ether_open+0x0/0x318) from [<c018caa4>] (dev_open+0xa8/0x10c)
      [<c018c9fc>] (dev_open+0x0/0x10c) from [<c018b874>] (dev_change_flags+0x98/0x164)
      [<c018b7dc>] (dev_change_flags+0x0/0x164) from [<c0019f8c>] (ip_auto_config+0x164/0xe28)
      [<c0019e28>] (ip_auto_config+0x0/0xe28) from [<c0020318>] (__exception_text_end+0x60/0x180)
      [<c00202b8>] (__exception_text_end+0x0/0x180) from [<c0008738>] (kernel_init+0x70/0xd8)
      [<c00086c8>] (kernel_init+0x0/0xd8) from [<c00398e0>] (do_exit+0x0/0x6ac)
      
      This patch restores the missing line'o'code.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      085eefb5
  3. 09 10月, 2008 1 次提交
  4. 06 9月, 2008 1 次提交
  5. 07 8月, 2008 2 次提交
  6. 06 3月, 2008 1 次提交
  7. 04 2月, 2008 1 次提交
    • D
      [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work · e83aff58
      David Brownell 提交于
      On the at91sam9263, IRQs for GPIO banks C and D don't currently work.
      This is because banks C, D, and E share one clock and toplevel IRQ, but
      the AT91 code setting up and handling GPIO IRQs expects no sharing.
      This patch:
      
       - Fixes GPIO IRQ setup and handling to cope with GPIO banks that are
         shared like on sam9263 chips, by setting up a list of those banks
         and making the IRQ dispatching logic scan that list.
      
       - Precomputes the address of each bank's registers, saving it with
         other per-bank data so that it no longer needs to be constantly
         recomputed during IRQs and other GPIO operations.  That shrinks
         hot-path code, while helping the GPIO bank irq updates.
      
       - Fixes a minor bug where IRQ_TYPE_NONE was wrongly rejected (it just
         means "use the default", which is "both edges" here).
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e83aff58
  8. 26 1月, 2008 1 次提交
  9. 20 10月, 2007 1 次提交
  10. 17 3月, 2007 1 次提交
  11. 22 2月, 2007 1 次提交
  12. 08 2月, 2007 1 次提交
  13. 24 1月, 2007 1 次提交
  14. 01 12月, 2006 1 次提交
  15. 30 11月, 2006 1 次提交
  16. 07 10月, 2006 1 次提交
  17. 28 9月, 2006 2 次提交
  18. 02 8月, 2006 1 次提交
  19. 02 7月, 2006 1 次提交
  20. 21 6月, 2006 1 次提交
  21. 19 6月, 2006 1 次提交
  22. 22 3月, 2006 1 次提交
  23. 25 2月, 2006 1 次提交
  24. 23 2月, 2006 1 次提交
  25. 10 1月, 2006 1 次提交