23 Jul, 2007

1 commit

  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds: Convert from struct class_device to struct device
    leds: leds-gpio for ngw100
    leds: Add warning printks in error paths
    leds: Fix trigger unregister_simple if register_simple fails
    leds: Use menuconfig objects II - LED
    leds: Teach leds-gpio to handle timer-unsafe GPIOs
    leds: Add generic GPIO LED driver

    Linus Torvalds
     

20 Jul, 2007

1 commit

  • This patch completes Linus's wish that the fault return codes be made into
    bit flags, which I agree makes everything nicer. This requires requires
    all handle_mm_fault callers to be modified (possibly the modifications
    should go further and do things like fault accounting in handle_mm_fault --
    however that would be for another patch).

    [akpm@linux-foundation.org: fix alpha build]
    [akpm@linux-foundation.org: fix s390 build]
    [akpm@linux-foundation.org: fix sparc build]
    [akpm@linux-foundation.org: fix sparc64 build]
    [akpm@linux-foundation.org: fix ia64 build]
    Signed-off-by: Nick Piggin
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Russell King
    Cc: Ian Molton
    Cc: Bryan Wu
    Cc: Mikael Starvik
    Cc: David Howells
    Cc: Yoshinori Sato
    Cc: "Luck, Tony"
    Cc: Hirokazu Takata
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Greg Ungerer
    Cc: Matthew Wilcox
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: Kazumoto Kojima
    Cc: Richard Curnow
    Cc: William Lee Irwin III
    Cc: "David S. Miller"
    Cc: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Cc: Miles Bader
    Cc: Chris Zankel
    Acked-by: Kyle McMartin
    Acked-by: Haavard Skinnemoen
    Acked-by: Ralf Baechle
    Acked-by: Andi Kleen
    Signed-off-by: Andrew Morton
    [ Still apparently needs some ARM and PPC loving - Linus ]
    Signed-off-by: Linus Torvalds

    Nick Piggin
     

19 Jul, 2007

9 commits


18 Jul, 2007

3 commits

  • Identical implementations of PTRACE_POKEDATA go into generic_ptrace_pokedata()
    function.

    AFAICS, fix bug on xtensa where successful PTRACE_POKEDATA will nevertheless
    return EPERM.

    Signed-off-by: Alexey Dobriyan
    Cc: Christoph Hellwig
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • Identical implementations of PTRACE_PEEKDATA go into generic_ptrace_peekdata()
    function.

    Signed-off-by: Alexey Dobriyan
    Cc: Christoph Hellwig
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • If the kernel OOPSed or BUGed then it probably should be considered as
    tainted. Thus, all subsequent OOPSes and SysRq dumps will report the
    tainted kernel. This saves a lot of time explaining oddities in the
    calltraces.

    Signed-off-by: Pavel Emelianov
    Acked-by: Randy Dunlap
    Cc:
    Signed-off-by: Andrew Morton
    [ Added parisc patch from Matthew Wilson -Linus ]
    Signed-off-by: Linus Torvalds

    Pavel Emelianov
     

17 Jul, 2007

1 commit

  • The current generic bug implementation has a call to dump_stack() in case a
    WARN_ON(whatever) gets hit. Since report_bug(), which calls dump_stack(),
    gets called from an exception handler we can do better: just pass the
    pt_regs structure to report_bug() and pass it to show_regs() in case of a
    warning. This will give more debug informations like register contents,
    etc... In addition this avoids some pointless lines that dump_stack()
    emits, since it includes a stack backtrace of the exception handler which
    is of no interest in case of a warning. E.g. on s390 the following lines
    are currently always present in a stack backtrace if dump_stack() gets
    called from report_bug():

    [] show_trace+0x92/0xe8)
    [] show_stack+0xa0/0xd0
    [] dump_stack+0x2e/0x3c
    [] report_bug+0x98/0xf8
    [] illegal_op+0x1fc/0x21c
    [] sysc_return+0x0/0x10

    Acked-by: Jeremy Fitzhardinge
    Acked-by: Haavard Skinnemoen
    Cc: Andi Kleen
    Cc: Kyle McMartin
    Cc: Paul Mackerras
    Cc: Paul Mundt
    Cc: Martin Schwidefsky
    Signed-off-by: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

16 Jul, 2007

1 commit


23 Jun, 2007

4 commits

  • Update defconfigs for ATNGW100 and ATSTK1002. This will enable the
    SLUB allocator by default on both, and will enable NFS root on
    ATSTK1002 (ATNGW100 had it enabled before.)

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • The current at32ap7000 platform devices aren't declared as supporting DMA,
    so that layered drivers can't tell whether they need to manage DMA.

    This patch makes all those platform devices report that they support DMA.
    Most do, but in a few cases this is inappropriate.

    Signed-off-by: David Brownell
    Signed-off-by: Haavard Skinnemoen

    David Brownell
     
  • USART mapping used to be accomplished by the manual filling of
    at32_usart_map[] and at32_nr_usarts. This has now been replaced
    with at32_map_usart() so we can remove these variables.

    Signed-off-by: Ben Nizette
    Signed-off-by: Haavard Skinnemoen

    ben.nizette@iinet.net.au
     
  • If (start + size) is not cacheline aligned and (start & mask) > (end &
    mask), the last but one cacheline won't be invalidated as it should.
    Fix this by rounding `end' down to the nearest cacheline boundary if
    it gets adjusted due to misalignment.

    Also flush the write buffer unconditionally -- if the dcache wrote
    back a line just before we invalidated it, the dirty data may be
    sitting in the write buffer waiting to corrupt our buffer later.

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     

15 Jun, 2007

2 commits


19 May, 2007

2 commits


15 May, 2007

1 commit


13 May, 2007

3 commits


10 May, 2007

2 commits


09 May, 2007

7 commits

  • Tested with a slightly hacked version of the test case included with
    the original utimensat patch. All OK.

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Rename .taglist to .taglist.init to silence section mismatch warnings.
    The .taglist.init section was already placed in the .init output
    section along with .init.text, so the warning didn't indicate any real
    problems.

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Implement dma_alloc_writecombine() and its dma_free_writecombine()
    counterpart. These will do basically the same thing as
    dma_alloc_coherent() except that the virtual mapping will allow
    write buffering, causing better performance for certain use cases
    like frame buffers.

    The same API is already available on ARM.

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Signed-off-by: Thomas Gleixner
    Signed-off-by: Haavard Skinnemoen

    Thomas Gleixner
     
  • As Robert P. J. Day pointed out, the CONFIG_CPU_AT32AP7000 symbol
    wasn't used for anything. It should have been used to select the
    correct -mcpu= options for CFLAGS.

    -mcpu=ap7000 is the default anyway, so this patch shouldn't really
    make any difference, but it's always nice to do things correctly.

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Remove includes of where it is not used/needed.
    Suggested by Al Viro.

    Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
    sparc64, and arm (all 59 defconfigs).

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • This patch moves the die notifier handling to common code. Previous
    various architectures had exactly the same code for it. Note that the new
    code is compiled unconditionally, this should be understood as an appel to
    the other architecture maintainer to implement support for it aswell (aka
    sprinkling a notify_die or two in the proper place)

    arm had a notifiy_die that did something totally different, I renamed it to
    arm_notify_die as part of the patch and made it static to the file it's
    declared and used at. avr32 used to pass slightly less information through
    this interface and I brought it into line with the other architectures.

    [akpm@linux-foundation.org: build fix]
    [akpm@linux-foundation.org: fix vmalloc_sync_all bustage]
    [bryan.wu@analog.com: fix vmalloc_sync_all in nommu]
    Signed-off-by: Christoph Hellwig
    Cc:
    Cc: Russell King
    Signed-off-by: Bryan Wu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     

27 Apr, 2007

3 commits