04 Jul, 2006

40 commits

  • This patch adds a generic Bluetooth platform device that can be used
    as parent device by virtual and serial devices.

    Signed-off-by: Marcel Holtmann

    Marcel Holtmann
     
  • This patch introduces the automatic sniff mode feature. This allows
    the host to switch idle connections into sniff mode to safe power.

    Signed-off-by: Ulisses Furquim
    Signed-off-by: Marcel Holtmann

    Marcel Holtmann
     
  • This patch introduces a quirk that allows the drivers to tell the host
    to correct the SCO buffer size values.

    Signed-off-by: Olivier Galibert
    Signed-off-by: Marcel Holtmann

    Marcel Holtmann
     
  • This patch implements the suspend/resume methods for the HCI USB
    driver by killing all outstanding URBs on suspend, and re-issuing
    them on resume.

    Signed-off-by: Johannes Berg
    Signed-off-by: Marcel Holtmann

    Marcel Holtmann
     
  • The Frontline sniffer device looks like a normal H:2 Bluetooth device,
    but it is not and so mark it as raw mode device.

    Signed-off-by: Marcel Holtmann

    Marcel Holtmann
     
  • Fix for inability of br_dump_ifinfo to handle non-zero start index:
    loop index never increases when entered with non-zero start.
    Spotted by Kirill Korotaev.

    Signed-off-by: Andrey Savochkin
    Signed-off-by: David S. Miller

    Andrey Savochkin
     
  • ATM: add and use POISON define values.

    Signed-off-by: Randy Dunlap
    Signed-off-by: David S. Miller

    Randy Dunlap
     
  • Add and use poison defines in net/.

    Signed-off-by: Randy Dunlap
    Signed-off-by: David S. Miller

    Randy Dunlap
     
  • Fix kernel-doc warnings in drivers/dma/:
    - use correct function & parameter names
    - add descriptions where omitted

    Signed-off-by: Randy Dunlap
    Signed-off-by: David S. Miller

    Randy Dunlap
     
  • Fix kernel-doc problems in include/linux/dmaengine.h:
    - add some fields/parameters
    - expand some descriptions
    - fix typos

    Signed-off-by: Randy Dunlap
    Signed-off-by: David S. Miller

    Randy Dunlap
     
  • Enable ipv6 TSO feature on chips that support it.

    Update version to 3.61.

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

    Michael Chan
     
  • Fix ipv6 GSO payload length calculation.

    The ipv6 payload length excludes the ipv6 base header length and so
    must be subtracted.

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

    Michael Chan
     
  • The recent change to direct inspection of bundle buffer tailroom did not
    account for the possiblity of unrequested tailroom added by skb_alloc(),
    thereby allowing a bundle to be created that exceeds the current link MTU.
    An additional check now ensures that bundling works correctly no matter
    if the bundle buffer is smaller, larger, or equal to the link MTU.

    Signed-off-by: Allan Stephens
    Signed-off-by: Per Liden
    Signed-off-by: David S. Miller

    Allan Stephens
     
  • We don't want nasty Xen guests to pass a TCPv6 packet in with gso_type set
    to TCPv4 or even UDP (or a packet that's both TCP and UDP).

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     
  • * Derived from http://www.linuxvirtualserver.org/docs/sysctl.html, v1.4
    maintained by Wensong Zhang

    * Adjusted preample to match ip-sysctl.txt

    * Sorted options into alphabetical order

    * Added expire_quiescent_template

    * Removed timeout_* which are no longer present

    * Incoporated doc/debug-levels.txt from IPVS source tree into
    description of ipvs_debug

    * Minor spelling fixes

    * Further editing more than welcome

    Signed-Off-By: Horms
    Signed-off-by: David S. Miller

    Horms
     
  • From Jean-Paul F6FBB

    ROSE will only try to establish a route using the first route in its
    routing table. Fix to iterate through all additional routes if a
    connection attempt has failed.

    Signed-off-by: Ralf Baechle
    Signed-off-by: David S. Miller

    Ralf Baechle
     
  • Signed-off-by: Ralf Baechle DL5RB
    Signed-off-by: David S. Miller

    Ralf Baechle DL5RB
     
  • In the past routes could be freed even though the were possibly in use ...

    Signed-off-by: Ralf Baechle DL5RB
    Signed-off-by: David S. Miller

    Ralf Baechle DL5RB
     
  • If rose_route_frame return success we'll dereference a stale pointer.
    Likely this is only going to result in bad statistics for the ROSE
    interface.

    This fixes coverity 946.

    Signed-off-by: Ralf Baechle
    Signed-off-by: David S. Miller

    Ralf Baechle
     
  • drivers/dma/ioatdma.c: In function 'ioat_init_module':
    drivers/dma/ioatdma.c:830: warning: control reaches end of non-void function

    Signed-off-by: Benoit Boissinot
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Benoit Boissinot
     
  • This patch makes the needlessly global num_pages_spanned() static.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Adrian Bunk
     
  • The unix_get_peersec_dgram() stub should have been inlined so that it
    disappears.

    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Andrew Morton
     
  • Fix sparse warning:
    drivers/dma/ioatdma.c:444:32: warning: constant 0xFFFFFFFFFFFFFFC0 is so big it is unsigned long

    Also needs a MAINTAINERS entry.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Randy Dunlap
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    powerpc: add defconfig for Freescale MPC8349E-mITX board
    powerpc: Add base support for the Freescale MPC8349E-mITX eval board
    Documentation: correct values in MPC8548E SEC example node
    [POWERPC] Actually copy over i8259.c to arch/ppc/syslib this time
    [POWERPC] Add new interrupt mapping core and change platforms to use it
    [POWERPC] Copy i8259 code back to arch/ppc
    [POWERPC] New device-tree interrupt parsing code
    [POWERPC] Use the genirq framework
    [PATCH] genirq: Allow fasteoi handler to retrigger disabled interrupts
    [POWERPC] Update the SWIM3 (powermac) floppy driver
    [POWERPC] Fix error handling in detecting legacy serial ports
    [POWERPC] Fix booting on Momentum "Apache" board (a Maple derivative)
    [POWERPC] Fix various offb and BootX-related issues
    [POWERPC] Add a default config for 32-bit CHRP machines
    [POWERPC] fix implicit declaration on cell.
    [POWERPC] change get_property to return void *

    Linus Torvalds
     
  • convert:

    - runqueue_t to 'struct rq'
    - prio_array_t to 'struct prio_array'
    - migration_req_t to 'struct migration_req'

    I was the one who added these but they are both against the kernel coding
    style and also were used inconsistently at places. So just get rid of them at
    once, now that we are flushing the scheduler patch-queue anyway.

    Conversion was mostly scripted, the result was reviewed and all secondary
    whitespace and style impact (if any) was fixed up by hand.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • cleanup: remove task_t and convert all the uses to struct task_struct. I
    introduced it for the scheduler anno and it was a mistake.

    Conversion was mostly scripted, the result was reviewed and all
    secondary whitespace and style impact (if any) was fixed up by hand.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Clean up some of the impact of recent (and not so recent) scheduler
    changes:

    - turning macros into nice inline functions
    - sanitizing and unifying variable definitions
    - whitespace, style consistency, 80-lines, comment correctness, spelling
    and curly braces police

    Due to the macro hell and variable placement simplifications there's even 26
    bytes of .text saved:

    text data bss dec hex filename
    25510 4153 192 29855 749f sched.o.before
    25484 4153 192 29829 7485 sched.o.after

    [akpm@osdl.org: build fix]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • At the moment, powerpc and s390 have their own versions of do_softirq which
    include local_bh_disable() and __local_bh_enable() calls. They end up
    calling __do_softirq (in kernel/softirq.c) which also does
    local_bh_disable/enable.

    Apparently the two levels of disable/enable trigger a warning from some
    validation code that Ingo is working on, and he would like to see the outer
    level removed. But to do that, we have to move the account_system_vtime
    calls that are currently in the arch do_softirq() implementations for
    powerpc and s390 into the generic __do_softirq() (this is a no-op for other
    archs because account_system_vtime is defined to be an empty inline
    function on all other archs). This patch does that.

    Signed-off-by: Paul Mackerras
    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Mackerras
     
  • nv_do_nic_poll() is called from timer softirqs, which has interrupts enabled,
    but np->lock might also be taken by some other interrupt context.

    The driver does disable_irq() to get around this problem, so annotate the
    disable_irq()/enable_irq() calls for lockdep.

    Has no effect on non-lockdep kernels.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Cc: Ayaz Abdulla
    Cc: Manfred Spraul
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Someone went nuts in there.

    Cc: Ayaz Abdulla
    Cc: Manfred Spraul
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • On Fri, 2006-06-30 at 15:45 -0700, Miles Lane wrote:
    > Okay, I rebuilt my kernel with your combo patch applied.
    > Then, I inserted my US Robotics USR2210 PCMCIA wifi card,
    > ran "pccardutil eject", popped out the card and then inserted
    > a Compaq iPaq wifi card. This triggered the following.
    >
    > [ INFO: possible circular locking dependency detected ]
    > -------------------------------------------------------
    > syslogd/1886 is trying to acquire lock:
    > (&dev->queue_lock){-+..}, at: [] dev_queue_xmit+0x120/0x24b
    >
    > but task is already holding lock:
    > (&dev->_xmit_lock){-+..}, at: [] dev_queue_xmit+0x183/0x24b
    >
    > which lock already depends on the new lock.

    ok this appears to be hostap playing games... it has 2 network devices
    for one piece of hardware and one calls the other via the networking
    layer; there is thankfully a natural ordering between the two, so just
    making the slave one a separate type ought to make this work.

    Signed-off-by: Ingo Molnar
    Cc: Arjan van de Ven
    Cc: "John W. Linville"
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • Teach sk_lock semantics to the lock validator. In the softirq path the
    slock has mutex_trylock()+mutex_unlock() semantics, in the process context
    sock_lock() case it has mutex_lock()/mutex_unlock() semantics.

    Thus we treat sock_owned_by_user() flagged areas as an exclusion area too,
    not just those areas covered by a held sk_lock.slock.

    Effect on non-lockdep kernels: minimal, sk_lock_sock_init() has been turned
    into an inline function.

    Signed-off-by: Ingo Molnar
    Cc: Arjan van de Ven
    Cc: "David S. Miller"
    Cc: Herbert Xu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • lockdep needs to have the waitqueue lock initialized for on-stack
    waitqueues implicitly initialized by DECLARE_COMPLETION().

    Annotate mmc_wait_for_req()'s on-stack completion accordingly.

    Has no effect on non-lockdep kernels.

    Signed-off-by: Ingo Molnar
    Cc: Arjan van de Ven
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • vlan network devices have devices nesting below it, and are a special
    "super class" of normal network devices; split their locks off into a
    separate class since they always nest.

    [deweerdt@free.fr: fix possible null-pointer deref]
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Ingo Molnar
    Signed-off-by: Frederik Deweerdt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • Teach special (recursive) locking code to the lock validator.

    Effects on non-lockdep kernels:

    - the introduction of the following function variants:

    extern struct block_device *open_partition_by_devnum(dev_t, unsigned);

    extern int blkdev_put_partition(struct block_device *);

    static int
    blkdev_get_whole(struct block_device *bdev, mode_t mode, unsigned flags);

    which on non-lockdep are the same as open_by_devnum(), blkdev_put()
    and blkdev_get().

    - a subclass parameter to do_open(). [unused on non-lockdep]

    - a subclass parameter to __blkdev_put(), which is a new internal
    function for the main blkdev_put*() functions. [parameter unused
    on non-lockdep kernels, except for two sanity check WARN_ON()s]

    these functions carry no semantical difference - they only express
    object dependencies towards the lockdep subsystem.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Teach special (recursive) locking code to the lock validator. Has no effect
    on non-lockdep kernels.

    Fix initialize-locks-via-memcpy assumptions.

    Effects on non-lockdep kernels: the subclass nesting parameter is passed into
    cache_free_alien() and __cache_free(), and turns one internal
    kmem_cache_free() call into an open-coded __cache_free() call.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Cc: Pekka Enberg
    Cc: Christoph Lameter
    Cc: Manfred Spraul
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • The s_umount rwsem needs to be classified as per-superblock since it's
    perfectly legit to keep multiple of those recursively in the VFS locking
    rules.

    Has no effect on non-lockdep kernels.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • Teach special (per-filesystem) locking code to the lock validator.

    Minimal effect on non-lockdep kernels: one extra parameter to alloc_super().

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • Annotate the qeth driver which uses a private skb-queue-head that is safely
    used in hardirq context too.

    Has no effect on non-lockdep kernels.

    Signed-off-by: Heiko Carstens
    Acked-by: Ingo Molnar
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     
  • lockdep needs to have the waitqueue lock initialized for on-stack waitqueues
    implicitly initialized by DECLARE_COMPLETION(). Annotate on-stack completions
    accordingly.

    Has no effect on non-lockdep kernels.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar