1. 02 8月, 2006 1 次提交
  2. 09 6月, 2006 1 次提交
    • M
      [ARM] 3546/1: PATCH: subtle lost interrupts bug on i.MX · e2f04e18
      Matt Reimer 提交于
      Patch from Matt Reimer
      
      There is a subtle bug in the GPIO interrupt status register
      handling in arch/arm/mach-imx/irq.c:imx_gpio_ack_irq(). The
      documentation states that a 1 should be written to the relevant bit to
      acknowledge a GPIO interrupt, but that is not what the code does.
      
      The problem is that the |= writes back 1s for all the *other*
      interrupts represented in the register, so interrupts could get lost.
      For example, if interrupts are pending for GPIO B10 and B12, ISR_B
      would have the value 0x00001400. Then when the interrupt code handles
      GPIO B10, it eventually calls imx_gpio_ack_irq(IRQ_GPIOB(10)), which
      effectively does this:
      
      ISR_B |= 1 << 10;
      
      with the result that (0x00001400 | 0x00000400) is written, clearing
      the interrupt status bits for *both* GPIO B10 and B12.
      
      The fix is to write 1s only for the interrupts we want to clear.
      
      The same problem seems to be occurring in the DMA code; this patch
      does not address those issues.
      Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NMatt Reimer <mreimer@vpop.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e2f04e18
  3. 05 9月, 2005 2 次提交
  4. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4