27 Sep, 2006

6 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (108 commits)
    sh: Fix occasional flush_cache_4096() stack corruption.
    sh: Calculate shm alignment at runtime.
    sh: dma-mapping compile fixes.
    sh: Initial vsyscall page support.
    sh: Clean up PAGE_SIZE definition for assembly use.
    sh: Selective flush_cache_mm() flushing.
    sh: More intelligent entry_mask/way_size calculation.
    sh: Support for L2 cache on newer SH-4A CPUs.
    sh: Update kexec support for API changes.
    sh: Optimized readsl()/writesl() support.
    sh: Report movli.l/movco.l capabilities.
    sh: CPU flags in AT_HWCAP in ELF auxvt.
    sh: Add support for 4K stacks.
    sh: Enable /proc/kcore support.
    sh: stack debugging support.
    sh: select CONFIG_EMBEDDED.
    sh: machvec rework.
    sh: Solution Engine SH7343 board support.
    sh: SH7710VoIPGW board support.
    sh: Enable verbose BUG() support.
    ...

    Linus Torvalds
     
  • Set the backing device info capabilities for /dev/mem and /dev/kmem to
    permit direct sharing under no-MMU conditions and full mapping capabilities
    under MMU conditions. Make the BDI used by these available to all directly
    mappable character devices.

    Also comment the capabilities for /dev/zero.

    [akpm@osdl.org: ifdef reductions]
    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Implement the special memory driver (mspec) based on the do_no_pfn
    approach. The driver is currently used only on SN2 hardware with special
    fetchop support but could be beneficial on other architectures using the
    uncached mode.

    Signed-off-by: Jes Sorensen
    Cc: Hugh Dickins
    Cc: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jes Sorensen
     
  • In some applications people have expressed a need for an mmap() method,
    so we implement a simple stub for this that maps back a page with the
    counter in it.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • With the new RTC class driver, we can get rid of most of the
    old left over cruft.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • We had quite a bit of whitespace damage, clean most of it up..

    Signed-off-by: Stuart Menefy
    Signed-off-by: Arthur Othieno
    Signed-off-by: Paul Mundt

    Paul Mundt
     

26 Sep, 2006

2 commits

  • virtual addresses don't belong into kernel logs for non debugging

    Cc: clemens@ladisch.de
    Signed-off-by: Andi Kleen

    Andi Kleen
     
  • BUG: warning at kernel/lockdep.c:1816/trace_hardirqs_on() (Not tainted)
    [] show_trace_log_lvl+0x58/0x171
    [] show_trace+0xd/0x10
    [] dump_stack+0x19/0x1b
    [] trace_hardirqs_on+0xa2/0x11e
    [] _spin_unlock_irq+0x22/0x26
    [] rtc_get_rtc_time+0x32/0x176
    [] hpet_rtc_interrupt+0x92/0x14d
    [] handle_IRQ_event+0x20/0x4d
    [] __do_IRQ+0x94/0xef
    [] do_IRQ+0x9e/0xbd
    [] common_interrupt+0x25/0x2c
    DWARF2 unwinder stuck at common_interrupt+0x25/0x2c

    Signed-off-by: Peter Zijlstra
    Acked-by: Ingo Molnar
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     

24 Sep, 2006

2 commits


23 Sep, 2006

3 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
    [AGPGART] Rework AGPv3 modesetting fallback.
    [AGPGART] Add suspend callback for i965
    [AGPGART] Fix number of aperture sizes in 830 gart structs.
    [AGPGART] Intel 965 Express support.
    [AGPGART] agp.h: constify struct agp_bridge_data::version
    [AGPGART] const'ify VIA AGP PCI table.
    [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c
    [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c
    [AGPGART] Const'ify the agpgart driver version.
    [AGPGART] remove private page protection map

    Linus Torvalds
     
  • memcpy() from iomem is a bad thing...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (114 commits)
    [POWERPC] Fix ohare IDE irq workaround on old powermacs
    [POWERPC] EEH: Power4 systems sometimes need multiple resets.
    [POWERPC] Include in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t.
    [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c
    [POWERPC] Maple U3 HT - reject inappropriate config space access
    [POWERPC] Fix IPIC pending register assignments
    [POWERPC] powerpc: fix building gdb against asm/ptrace.h
    [POWERPC] Remove DISCONTIGMEM cruft from page.h
    [POWERPC] Merge iSeries i/o operations with the rest
    [POWERPC] 40x: Fix debug status register defines
    [POWERPC] Fix compile error in sbc8560
    [POWERPC] EEH: support MMIO enable recovery step
    [POWERPC] EEH: enable MMIO/DMA on frozen slot
    [POWERPC] EEH: code comment cleanup
    [POWERPC] EEH: balance pcidev_get/put calls
    [POWERPC] PPC: Fix xmon stack frame address in backtrace
    [POWERPC] Add AT_PLATFORM value for Xilinx Virtex-4 FX
    [POWERPC] Start arch/powerpc/boot code reorganization
    [POWERPC] Define of_read_ulong helper
    [POWERPC] iseries: eliminate a couple of warnings
    ...

    Linus Torvalds
     

17 Sep, 2006

3 commits


14 Sep, 2006

1 commit


13 Sep, 2006

1 commit

  • No other tty driver will print on the console when the open of it fails.

    On systems that happen to be configured for both ttyS0 and hvc0 console,
    this will keep flooding the console output. This is most likely to
    happen with systems booted between with and without hypervisor from the
    same filesystem.

    Let's just remove it. When it's really needed (i.e. when the open fails
    and someone is trying to debug it), noone will see the output anyway. And
    init will report the opens failing in due time through the syslog.

    Signed-off-by: Olof Johansson
    Acked-by: Ryan S. Arnold
    Signed-off-by: Paul Mackerras

    Olof Johansson
     

11 Sep, 2006

2 commits

  • Sometimes the logic to handle AGPx8->AGPx4 fallback failed, as can
    be seen in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197346

    The failures occured if the bridge was in AGPx8 mode, but the
    user hadn't specified a mode in their X config. We weren't
    setting the mode to the highest mode capable by the video card+bridge
    (as we do in the AGPv2 case), which was leading to all kinds of
    mayhem including us believing that after falling back from AGPx8, that
    we couldn't do x4 mode (which is disastrous in AGPv3, as those are
    the only two modes possible).

    Signed-off-by: Dave Jones

    Dave Jones
     
  • Signed-off-by: Dave Jones

    Dave Jones
     

06 Sep, 2006

4 commits


02 Sep, 2006

3 commits

  • Olaf Kirch of SuSE tracked down a problem where module unloads of the IPMI
    driver would occasionally result in Oopses. He tracked that down to a
    variable that wasn't always initialized properly in some situations. This
    patch initializes that variable. Olaf sent a patch that kzalloc-ed the
    data, but this structure is large enough that I would perfer to not do
    that. Thanks Olaf!

    Signed-off-by: Corey Minyard
    Cc: Olaf Kirch
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • The last argument of module_param is permissions, not default value.

    Acked-by: Wim Van Sebroeck
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ian E. Morgan
     
  • Fix receive tty error handling in synclink_gt driver. Adrian reported
    compiler warning for incorrect bit test against char variable. I
    determined these and other device specific error bits were incorrectly
    defined.

    Signed-off-by: Paul Fulghum
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     

31 Aug, 2006

2 commits


28 Aug, 2006

5 commits

  • Unlike the other tty comment patch this one has code changes. Specifically
    it limits the queue size for a tty to 64K characters (128Kbytes) worst case
    even if the tty is ignoring tty->throttle. This is because certain drivers
    don't honour the throttle value correctly, although it is a useful
    safeguard anyway.

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Doesn't fix them but does show up some interesting areas that need review
    and fixing.

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • When reading /dev/vcsa while a font with more than 256 characters is
    loaded, one of the attribute bits records the 9th bit of the character.
    But depending on the console driver (vgacon or fbcon for instance), that's
    bit 3 or bit 0. And there is no way for userland to know that, thus no way
    for userland to safely grab the screen content. So here is a (tested)
    patch:

    Add a VT_GETHIFONTMASK ioctl for knowing which bit is the 9th bit for VC
    text (vc_hi_font_mask field of the vc_data structure).

    Signed-off-by: Samuel Thibault
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samuel Thibault
     
  • While testing Moxa C218T/PCI on PowerPC 405EP I found that loading firmware
    using the linux kernel driver fails because calculation of the checksum is
    not endianess independent in the original code.

    After I fixed this I found that uploading firmware in a system with
    multiple cards causes a kernel oops. I had a look in the recent moxa
    sources and found that they do some kind of locking there. Applying this
    lock fixed the problem.

    Alan sayeth:

    Checksum changes are clearly correct. Other changes is an improvement but
    not I think enough to handle malicious firmware attacks. That said such an
    attacker has CAP_SYS_RAWIO anyway so that part is irrelevant except for
    neatness.

    [akpm@osdl.org: cleanups]
    Signed-off-by: Dirk Eibach
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dirk Eibach
     
  • When cdev_add() failed there is no reason to call cdev_del().

    Signed-off-by: Rolf Eike Beer
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rolf Eike Beer
     

25 Aug, 2006

1 commit


15 Aug, 2006

1 commit


12 Aug, 2006

4 commits