1. 11 12月, 2008 9 次提交
  2. 07 12月, 2008 1 次提交
  3. 06 12月, 2008 1 次提交
    • L
      [ARM] 5340/1: fix stack placement after noexecstack changes · 794baba6
      Lennert Buytenhek 提交于
      Commit 8ec53663 ("[ARM] Improve
      non-executable support") added support for detecting non-executable
      stack binaries.  One of the things it does is to make READ_IMPLIES_EXEC
      be set in ->personality if we are running on a CPU that doesn't support
      the XN ("Execute Never") page table bit or if we are running a binary
      that needs an executable stack.
      
      This exposed a latent bug in ARM's asm/processor.h due to which we'll
      end up placing the stack at a very low address, where it will bump into
      the heap on any application that uses significant amount of stack or
      heap or both, causing many interesting crashes.
      
      Fix this by testing the ADDR_LIMIT_32BIT bit in ->personality instead
      of testing for equality against PER_LINUX_32BIT.
      Reviewed-by: NNicolas Pitre <nico@marvell.com>
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      794baba6
  4. 04 12月, 2008 1 次提交
    • N
      [ARM] 5339/1: fix __fls() on ARM · 94fc7336
      Nicolas Pitre 提交于
      Commit 0c65f459 intended to fix truncation issues with fls() on
      ARMv5+ by renaming it to __fls() and wrapping it into a C function.
      However that didn't take into account the fact that __fls() already
      already had different semantics in the kernel.
      
      Let's move the __fls() code into fls() function directly, and redefine
      __fls() with the appropriate semantics.  While at it, bring a generic
      __fls() definition for pre ARMv5 too.
      Signed-off-by: NNicolas Pitre <nico@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      94fc7336
  5. 03 12月, 2008 1 次提交
  6. 02 12月, 2008 2 次提交
  7. 27 11月, 2008 2 次提交
  8. 26 11月, 2008 3 次提交
  9. 22 11月, 2008 2 次提交
  10. 17 11月, 2008 1 次提交
  11. 16 11月, 2008 2 次提交
  12. 13 11月, 2008 4 次提交
  13. 12 11月, 2008 1 次提交
  14. 11 11月, 2008 1 次提交
  15. 09 11月, 2008 4 次提交
  16. 07 11月, 2008 3 次提交
  17. 05 11月, 2008 2 次提交
    • T
      ARM: OMAP: Fix define for twl4030 irqs · 5c32f62b
      Tony Lindgren 提交于
      Otherwise twl4030 gpios won't work.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5c32f62b
    • T
      ARM: OMAP: Fix get_irqnr_and_base to clear spurious interrupt bits · 52414739
      Tony Lindgren 提交于
      On omap24xx, INTCPS_SIR_IRQ_OFFSET bits [6:0] contains the current
      active interrupt number.
      
      However, on 34xx INTCPS_SIR_IRQ_OFFSET bits [31:7] also contains the
      SPURIOUSIRQFLAG, which gets set if the interrupt sorting information
      is invalid.
      
      If the SPURIOUSIRQFLAG bits are not ignored, the interrupt code will
      occasionally produce a bunch of confusing errors:
      
      irq -33, desc: c02ddcc8, depth: 0, count: 0, unhandled: 0
      ->handle_irq():  c006f23c, handle_bad_irq+0x0/0x22c
      ->chip(): 00000000, 0x0
      ->action(): 00000000
      
      Fix this by masking out only the ACTIVEIRQ bits. Also fix a
      confusing comment.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      52414739