30 May, 2005

9 commits


29 May, 2005

7 commits

  • This patch adds on-chip PCI bridge support for the PQ2 family. The
    incomplete existent code is updated with interrupt handling stuff and
    board-specific bits for 8272ADS and PQ2FADS; the related files were renamed
    (from m8260_pci to m82xx_pci) to be of more generic fashion. This is
    tested with 8266ADS and 8272ADS, should work on PQ2FADS as well.

    Signed-off-by: Vitaly Bordug
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vitaly Bordug
     
  • This var is currently useless, as it's apparent from reading the code. Until
    2.6.11 it was used in some code related to jail mode, in the same proc.:

    if(jail){
    while(!reading) sched_yield();
    }

    jail mode has been dropped, together with that use, so let's finish dropping
    this.

    Also, remove some other useless definitions I met.

    Acked-by: Jeff Dike
    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • After porting this fixlet to UML:

    http://linux.bkbits.net:8080/linux-2.5/cset@41791ab52lfMuF2i3V-eTIGRBbDYKQ

    , I've also added a warning which should refuse compilation with insane values
    for PREEMPT_ACTIVE... maybe we should simply move PREEMPT_ACTIVE out of
    architectures using GENERIC_IRQS.

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • Port Paulus's ppc64 fix to sh:

    When the generic IRQ stuff went in, it seems that HARDIRQ_BITS got bumped
    from 9 (for ppc64) up to 12. Consequently, the PREEMPT_ACTIVE bit is now
    within HARDIRQ_MASK, and I get in_interrupt() falsely returning true when
    PREEMPT_ACTIVE is set, and thus a BUG_ON tripping in arch/ppc64/mm/tlb.c.

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

    Paul Mundt
     
  • This is a continuation for UML of:

    http://linux.bkbits.net:8080/linux-2.5/cset@41791ab52lfMuF2i3V-eTIGRBbDYKQ

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Cc: Paul Mackerras
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • Copy (and adapt) to UML the stack code dumper used in i386 when
    CONFIG_FRAME_POINTER is enabled.

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • Eliminate an unused variable warning in ptrace.c and a size mismatch warning
    by adding a cast to __pa.

    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

28 May, 2005

1 commit

  • This patch adds dummy gameport_register_port, gameport_unregister_port
    and gameport_set_phys functions to gameport.h for the case when a driver
    can't use gameport.

    This fixes the compilation of some OSS drivers with GAMEPORT=n without
    the need to #if inside every single driver.

    This patch also removes the non-working and now obsolete SOUND_GAMEPORT.

    This patch is also an alternative solution for ALSA drivers with similar
    problems (but #if's inside the drivers might have the advantage of
    saving some more bytes of gameport is not available).

    The only user-visible change is that for GAMEPORT=m the affected OSS
    drivers are now allowed to be built statically (but they won't have
    gameport support).

    Signed-off-by: Adrian Bunk
    Signed-off-by: Vojtech Pavlik
    Signed-off-by: Dmitry Torokhov

    Adrian Bunk
     

27 May, 2005

7 commits

  • Delete quirk_via_bridge(), restore quirk_via_irqpic() -- but now
    improved to be invoked upon device ENABLE, and now only for VIA devices
    -- not all devices behind VIA bridges.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Len Brown
     
  • Jens Axboe pointed out that the iounmap() call in libata was occurring
    too early, and some drivers (ahci, probably others) were using ioremap'd
    memory after it had been unmapped.

    The patch should address that problem by way of improving the libata
    driver API:

    * move ->host_stop() call after all ->port_stop() calls have occurred.

    * create default helper function ata_host_stop(), and move iounmap()
    call there.

    * add ->host_stop_prewalk() hook, use it in sata_qstor.c (hi Mark).
    sata_qstor appears to require the host-stop-before-port-stop ordering
    that existed prior to applying the attached patch.

    Jeff Garzik
     
  • We fixed this bug before, but it didn't take. It may have been the case
    that the problem was first noticed to occur in a CONFIG_REGPARM compile.
    But it's not regparm functions that need not to make tail calls, it's
    asmlinkage functions called with a user pt_regs frame on the stack
    supplying their arguments. prevent_tail_call probably doesn't do anything
    at all in regparm functions (your argument registers are going to be
    clobbered, period). It was a braino to conditionalize that definition in
    the first place.

    Signed-off-by: Roland McGrath
    Signed-off-by: Linus Torvalds

    Roland McGrath
     
  • A new driver bnx2 for Broadcom bcm5706 is available.

    The patch also includes new 1000BASE-X advertisement bit definitions in
    mii.h

    Thanks to David Miller and Jeff Garzik for reviewing and their valuable
    feedback.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • [XFRM] Call dst_check() with appropriate cookie

    This fixes infinite loop issue with IPv6 tunnel mode.

    Signed-off-by: Kazunori Miyazawa
    Signed-off-by: Hideaki YOSHIFUJI
    Signed-off-by: David S. Miller

    Hideaki YOSHIFUJI
     
  • Here is a fixed up version of the reorder feature of netem.
    It is the same as the earlier patch plus with the bugfix from Julio merged in.
    Has expected backwards compatibility behaviour.

    Go ahead and merge this one, the TCP strangeness I was seeing was due
    to the reordering bug, and previous version of TSO patch.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Stephen Hemminger
     

26 May, 2005

5 commits

  • * add ide_bus_match() and export ide_bus_type
    * split ide_remove_driver_from_hwgroup() out of ide_unregister()
    * move device cleanup from ide_unregister() to drive_release_dev()
    * convert ide_driver_t->name to driver->name
    * convert ide_driver_t->{attach,cleanup} to driver->{probe,remove}
    * remove ide_driver_t->busy as ide_bus_type->subsys.rwsem
    protects against concurrent ->{probe,remove} calls
    * make ide_{un}register_driver() void as it cannot fail now
    * use driver_{un}register() directly, remove ide_{un}register_driver()
    * use device_register() instead of ata_attach(), remove ata_attach()
    * add proc_print_driver() and ide_drivers_show(), remove ide_drivers_op
    * fix ide_replace_subdriver() and move it to ide-proc.c
    * remove ide_driver_t->drives, ide_drives and drives_lock
    * remove ide_driver_t->drivers, drivers and drivers_lock
    * remove ide_drive_t->driver and DRIVER() macro

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Linus Torvalds
     
  • Fixes some !CONFIG_BUG warnings:
    include/asm/mmu_context.h: I funktion `switch_mm':
    include/asm/mmu_context.h:57: varning: implicit declaration of function `out_of_line_bug'

    Signed-off-by: Alexander Nyberg
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexander Nyberg
     
  • David S. Miller
     
  • For quite a while, there has existed a hypervisor bug on legacy iSeries
    which means that we do not get the boot time set in the kernel. This
    patch works around that bug. This was most noticable when the root
    partition needed to be checked at every boot as the kernel thought it
    was some time in 1905 until user mode reset the time correctly.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     

25 May, 2005

2 commits


24 May, 2005

5 commits


22 May, 2005

2 commits

  • Linus Torvalds
     
  • In _spin_unlock_bh(lock):
    do { \
    _raw_spin_unlock(lock); \
    preempt_enable(); \
    local_bh_enable(); \
    __release(lock); \
    } while (0)

    there is no reason for using preempt_enable() instead of a simple
    preempt_enable_no_resched()

    Since we know bottom halves are disabled, preempt_schedule() will always
    return at once (preempt_count!=0), and hence preempt_check_resched() is
    useless here...

    This fixes it by using "preempt_enable_no_resched()" instead of the
    "preempt_enable()", and thus avoids the useless preempt_check_resched()
    just before re-enabling bottom halves.

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

    Samuel Thibault
     

21 May, 2005

2 commits