16 Sep, 2009

1 commit


15 Sep, 2009

13 commits

  • After the recent mq change there is the new select_queue qdisc class
    method used in tc_modify_qdisc, but it works OK only for direct child
    qdiscs of mq qdisc. Grandchildren always get the first tx queue, which
    would give wrong qdisc_root etc. results (e.g. for sch_htb as child of
    sch_prio). This patch fixes it by using parent's dev_queue for such
    grandchildren qdiscs. The select_queue method's return type is changed
    BTW.

    With feedback from: Patrick McHardy

    Signed-off-by: Jarek Poplawski
    Signed-off-by: David S. Miller

    Jarek Poplawski
     
  • Parse RxRPC security index 5 type keys (Kerberos 5 tokens).

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Allow add_key() and KEYCTL_INSTANTIATE to accept key payloads in XDR form as
    described by openafs-1.4.10/src/auth/afs_token.xg. This provides a way of
    passing kaserver, Kerberos 4, Kerberos 5 and GSSAPI keys from userspace, and
    allows for future expansion.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Declare the security index constants symbolically rather than just referring
    to them numerically.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • struct socket has a 16 bit hole that triggers kmemcheck warnings.

    As suggested by Ingo, use kmemcheck annotations

    Signed-off-by: Eric Dumazet
    Acked-by: Ingo Molnar
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • This patch fixes commit e36b9d16c6a6d0f59803b3ef04ff3c22c3844c10. The approach
    there is to call dev_close()/dev_open() whenever the device type is changed in
    order to remap the device IP multicast addresses to HW multicast addresses.
    This approach suffers from 2 drawbacks:

    *. It assumes tha the device is UP when calling dev_close(), or otherwise
    dev_close() has no affect. It is worth to mention that initscripts (Redhat)
    and sysconfig (Suse) doesn't act the same in this matter.
    *. dev_close() has other side affects, like deleting entries from the routing
    table, which might be unnecessary.

    The fix here is to directly remap the IP multicast addresses to HW multicast
    addresses for a bonding device that changes its type, and nothing else.

    Reported-by: Jason Gunthorpe
    Signed-off-by: Moni Shoua
    Signed-off-by: David S. Miller

    Moni Shoua
     
  • It was once upon time so that snd_sthresh was a 16-bit quantity.
    ...That has not been true for long period of time. I run across
    some ancient compares which still seem to trust such legacy.
    Put all that magic into a single place, I hopefully found all
    of them.

    Compile tested, though linking of allyesconfig is ridiculous
    nowadays it seems.

    Signed-off-by: Ilpo Järvinen
    Signed-off-by: David S. Miller

    Ilpo Järvinen
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • Remove long removed "inet_protocol_base" declaration.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • Since my commits introducing netns awareness into
    genetlink we can get this problem:

    BUG: scheduling while atomic: modprobe/1178/0x00000002
    2 locks held by modprobe/1178:
    #0: (genl_mutex){+.+.+.}, at: [] genl_register_mc_grou
    #1: (rcu_read_lock){.+.+..}, at: [] genl_register_mc_g
    Pid: 1178, comm: modprobe Not tainted 2.6.31-rc8-wl-34789-g95cb731-dirty #
    Call Trace:
    [] __schedule_bug+0x85/0x90
    [] schedule+0x108/0x588
    [] netlink_table_grab+0xa1/0xf0
    [] netlink_change_ngroups+0x47/0x100
    [] genl_register_mc_group+0x12f/0x290

    because I overlooked that netlink_table_grab() will
    schedule, thinking it was just the rwlock. However,
    in the contention case, that isn't actually true.

    Fix this by letting the code grab the netlink table
    lock first and then the RCU for netns protection.

    Signed-off-by: Johannes Berg
    Signed-off-by: David S. Miller

    Johannes Berg
     
  • * 'osync_cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
    fsync: wait for data writeout completion before calling ->fsync
    vfs: Remove generic_osync_inode() and sync_page_range{_nolock}()
    fat: Opencode sync_page_range_nolock()
    pohmelfs: Use new syncing helper
    xfs: Convert sync_page_range() to simple filemap_write_and_wait_range()
    ocfs2: Update syncing after splicing to match generic version
    ntfs: Use new syncing helpers and update comments
    ext4: Remove syncing logic from ext4_file_write
    ext3: Remove syncing logic from ext3_file_write
    ext2: Update comment about generic_osync_inode
    vfs: Introduce new helpers for syncing after writing to O_SYNC file or IS_SYNC inode
    vfs: Rename generic_file_aio_write_nolock
    ocfs2: Use __generic_file_aio_write instead of generic_file_aio_write_nolock
    pohmelfs: Use __generic_file_aio_write instead of generic_file_aio_write_nolock
    vfs: Remove syncing from generic_file_direct_write() and generic_file_buffered_write()
    vfs: Export __generic_file_aio_write() and add some comments
    vfs: Introduce filemap_fdatawait_range

    Linus Torvalds
     
  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw:
    GFS2: Whitespace fixes
    GFS2: Remove unused sysfs file
    GFS2: Be extra careful about deallocating inodes
    GFS2: Remove no_formal_ino generating code
    GFS2: Rename eattr.[ch] as xattr.[ch]
    GFS2: Clean up of extended attribute support
    GFS2: Add explanation of extended attr on-disk format
    GFS2: Add "-o errors=panic|withdraw" mount options
    GFS2: jumping to wrong label?
    GFS2: free disk inode which is deleted by remote node -V2
    GFS2: Add a document explaining GFS2's uevents
    GFS2: Add sysfs link to device
    GFS2: Replace assertion with proper error handling
    GFS2: Improve error handling in inode allocation
    GFS2: Add some more info to uevents
    GFS2: Add online uevent to GFS2

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1623 commits)
    netxen: update copyright
    netxen: fix tx timeout recovery
    netxen: fix file firmware leak
    netxen: improve pci memory access
    netxen: change firmware write size
    tg3: Fix return ring size breakage
    netxen: build fix for INET=n
    cdc-phonet: autoconfigure Phonet address
    Phonet: back-end for autoconfigured addresses
    Phonet: fix netlink address dump error handling
    ipv6: Add IFA_F_DADFAILED flag
    net: Add DEVTYPE support for Ethernet based devices
    mv643xx_eth.c: remove unused txq_set_wrr()
    ucc_geth: Fix hangs after switching from full to half duplex
    ucc_geth: Rearrange some code to avoid forward declarations
    phy/marvell: Make non-aneg speed/duplex forcing work for 88E1111 PHYs
    drivers/net/phy: introduce missing kfree
    drivers/net/wan: introduce missing kfree
    net: force bridge module(s) to be GPL
    Subject: [PATCH] appletalk: Fix skb leak when ipddp interface is not loaded
    ...

    Fixed up trivial conflicts:

    - arch/x86/include/asm/socket.h

    converted to in the x86 tree. The generic
    header has the same new #define's, so that works out fine.

    - drivers/net/tun.c

    fix conflict between 89f56d1e9 ("tun: reuse struct sock fields") that
    switched over to using 'tun->socket.sk' instead of the redundantly
    available (and thus removed) 'tun->sk', and 2b980dbd ("lsm: Add hooks
    to the TUN driver") which added a new 'tun->sk' use.

    Noted in 'next' by Stephen Rothwell.

    Linus Torvalds
     

14 Sep, 2009

7 commits

  • Remove these three functions since nobody uses them anymore.

    Signed-off-by: Jan Kara

    Jan Kara
     
  • Introduce new function for generic inode syncing (vfs_fsync_range) and use
    it from fsync() path. Introduce also new helper for syncing after a sync
    write (generic_write_sync) using the generic function.

    Use these new helpers for syncing from generic VFS functions. This makes
    O_SYNC writes to block devices acquire i_mutex for syncing. If we really
    care about this, we can make block_fsync() drop the i_mutex and reacquire
    it before it returns.

    CC: Evgeniy Polyakov
    CC: ocfs2-devel@oss.oracle.com
    CC: Joel Becker
    CC: Felix Blyakher
    CC: xfs@oss.sgi.com
    CC: Anton Altaparmakov
    CC: linux-ntfs-dev@lists.sourceforge.net
    CC: OGAWA Hirofumi
    CC: linux-ext4@vger.kernel.org
    CC: tytso@mit.edu
    Acked-by: Christoph Hellwig
    Signed-off-by: Jan Kara

    Jan Kara
     
  • generic_file_aio_write_nolock() is now used only by block devices and raw
    character device. Filesystems should use __generic_file_aio_write() in case
    generic_file_aio_write() doesn't suit them. So rename the function to
    blkdev_aio_write() and move it to fs/blockdev.c.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Jan Kara

    Christoph Hellwig
     
  • Rename __generic_file_aio_write_nolock() to __generic_file_aio_write(), add
    comments to write helpers explaining how they should be used and export
    __generic_file_aio_write() since it will be used by some filesystems.

    CC: ocfs2-devel@oss.oracle.com
    CC: Joel Becker
    Acked-by: Evgeniy Polyakov
    Reviewed-by: Christoph Hellwig
    Signed-off-by: Jan Kara

    Jan Kara
     
  • This simple helper saves some filesystems conversion from byte offset
    to page numbers and also makes the fdata* interface more complete.

    Reviewed-by: Christoph Hellwig
    Signed-off-by: Jan Kara

    Jan Kara
     
  • …/git/tip/linux-2.6-tip

    * 'x86-percpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, percpu: Collect hot percpu variables into one cacheline
    x86, percpu: Fix DECLARE/DEFINE_PER_CPU_PAGE_ALIGNED()
    x86, percpu: Add 'percpu_read_stable()' interface for cacheable accesses

    Linus Torvalds
     
  • * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86/i386: Put aligned stack-canary in percpu shared_aligned section
    x86/i386: Make sure stack-protector segment base is cache aligned
    x86: Detect stack protector for i386 builds on x86_64
    x86: allow "=rm" in native_save_fl()
    x86: properly annotate alternatives.c
    x86: Introduce GDT_ENTRY_INIT(), initialize bad_bios_desc statically
    x86, 32-bit: Use generic sys_pipe()
    x86: Introduce GDT_ENTRY_INIT(), fix APM
    x86: Introduce GDT_ENTRY_INIT()
    x86: Introduce set_desc_base() and set_desc_limit()
    x86: Remove unused patch_espfix_desc()
    x86: Use get_desc_base()

    Linus Torvalds
     

12 Sep, 2009

19 commits

  • * git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (87 commits)
    NFSv4: Disallow 'mount -t nfs4 -overs=2' and 'mount -t nfs4 -overs=3'
    NFS: Allow the "nfs" file system type to support NFSv4
    NFS: Move details of nfs4_get_sb() to a helper
    NFS: Refactor NFSv4 text-based mount option validation
    NFS: Mount option parser should detect missing "port="
    NFS: out of date comment regarding O_EXCL above nfs3_proc_create()
    NFS: Handle a zero-length auth flavor list
    SUNRPC: Ensure that sunrpc gets initialised before nfs, lockd, etc...
    nfs: fix compile error in rpc_pipefs.h
    nfs: Remove reference to generic_osync_inode from a comment
    SUNRPC: cache must take a reference to the cache detail's module on open()
    NFS: Use the DNS resolver in the mount code.
    NFS: Add a dns resolver for use with NFSv4 referrals and migration
    SUNRPC: Fix a typo in cache_pipefs_files
    nfs: nfs4xdr: optimize low level decoding
    nfs: nfs4xdr: get rid of READ_BUF
    nfs: nfs4xdr: simplify decode_exchange_id by reusing decode_opaque_inline
    nfs: nfs4xdr: get rid of COPYMEM
    nfs: nfs4xdr: introduce decode_sessionid helper
    nfs: nfs4xdr: introduce decode_verifier helper
    ...

    Linus Torvalds
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev: (25 commits)
    pata_rz1000: use printk_once
    ahci: kill @force_restart and refine CLO for ahci_kick_engine()
    pata_cs5535: add pci id for AMD based CS5535 controllers
    ahci: Add AMD SB900 SATA/IDE controller device IDs
    drivers/ata: use resource_size
    sata_fsl: Defer non-ncq commands when ncq commands active
    libata: add SATA PMP revision information for spec 1.2
    libata: fix off-by-one error in ata_tf_read_block()
    ahci: Gigabyte GA-MA69VM-S2 can't do 64bit DMA
    ahci: make ahci_asus_m2a_vm_32bit_only() quirk more generic
    dmi: extend dmi_get_year() to dmi_get_date()
    dmi: fix date handling in dmi_get_year()
    libata: unbreak TPM filtering by reorganizing ata_scsi_pass_thru()
    sata_sis: convert to slave_link
    sata_sil24: always set protocol override for non-ATAPI data commands
    libata: Export AHCI capabilities
    libata: Delegate nonrot flag setting to SCSI
    [libata] Add pata_rdc driver for RDC ATA devices
    drivers/ata: Remove unnecessary semicolons
    libata: remove spindown skipping and warning
    ...

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (105 commits)
    ring-buffer: only enable ring_buffer_swap_cpu when needed
    ring-buffer: check for swapped buffers in start of committing
    tracing: report error in trace if we fail to swap latency buffer
    tracing: add trace_array_printk for internal tracers to use
    tracing: pass around ring buffer instead of tracer
    tracing: make tracing_reset safe for external use
    tracing: use timestamp to determine start of latency traces
    tracing: Remove mentioning of legacy latency_trace file from documentation
    tracing/filters: Defer pred allocation, fix memory leak
    tracing: remove users of tracing_reset
    tracing: disable buffers and synchronize_sched before resetting
    tracing: disable update max tracer while reading trace
    tracing: print out start and stop in latency traces
    ring-buffer: disable all cpu buffers when one finds a problem
    ring-buffer: do not count discarded events
    ring-buffer: remove ring_buffer_event_discard
    ring-buffer: fix ring_buffer_read crossing pages
    ring-buffer: remove unnecessary cpu_relax
    ring-buffer: do not swap buffers during a commit
    ring-buffer: do not reset while in a commit
    ...

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (64 commits)
    sched: Fix sched::sched_stat_wait tracepoint field
    sched: Disable NEW_FAIR_SLEEPERS for now
    sched: Keep kthreads at default priority
    sched: Re-tune the scheduler latency defaults to decrease worst-case latencies
    sched: Turn off child_runs_first
    sched: Ensure that a child can't gain time over it's parent after fork()
    sched: enable SD_WAKE_IDLE
    sched: Deal with low-load in wake_affine()
    sched: Remove short cut from select_task_rq_fair()
    sched: Turn on SD_BALANCE_NEWIDLE
    sched: Clean up topology.h
    sched: Fix dynamic power-balancing crash
    sched: Remove reciprocal for cpu_power
    sched: Try to deal with low capacity, fix update_sd_power_savings_stats()
    sched: Try to deal with low capacity
    sched: Scale down cpu_power due to RT tasks
    sched: Implement dynamic cpu_power
    sched: Add smt_gain
    sched: Update the cpu_power sum during load-balance
    sched: Add SD_PREFER_SIBLING
    ...

    Linus Torvalds
     
  • …/kernel/git/tip/linux-2.6-tip

    * 'perfcounters-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (60 commits)
    perf tools: Avoid unnecessary work in directory lookups
    perf stat: Clean up statistics calculations a bit more
    perf stat: More advanced variance computation
    perf stat: Use stddev_mean in stead of stddev
    perf stat: Remove the limit on repeat
    perf stat: Change noise calculation to use stddev
    x86, perf_counter, bts: Do not allow kernel BTS tracing for now
    x86, perf_counter, bts: Correct pointer-to-u64 casts
    x86, perf_counter, bts: Fail if BTS is not available
    perf_counter: Fix output-sharing error path
    perf trace: Fix read_string()
    perf trace: Print out in nanoseconds
    perf tools: Seek to the end of the header area
    perf trace: Fix parsing of perf.data
    perf trace: Sample timestamps as well
    perf_counter: Introduce new (non-)paranoia level to allow raw tracepoint access
    perf trace: Sample the CPU too
    perf tools: Work around strict aliasing related warnings
    perf tools: Clean up warnings list in the Makefile
    perf tools: Complete support for dynamic strings
    ...

    Linus Torvalds
     
  • * 'oprofile-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (55 commits)
    arch/x86/oprofile/op_model_amd.c: fix op_amd_handle_ibs() return type
    Revert "x86: oprofile/op_model_amd.c set return values for op_amd_handle_ibs()"
    x86/oprofile: Small coding style fixes
    x86/oprofile: Add counter reservation check for virtual counters
    x86/oprofile: Implement op_x86_virt_to_phys()
    oprofile: Adding switch counter to oprofile statistic variables
    x86/oprofile: Implement mux_clone()
    x86/oprofile: Enable multiplexing only if the model supports it
    x86/oprofile: Add function has_mux() to check multiplexing support
    x86/oprofile: Modify initialization of num_virt_counters
    x86/oprofile: Remove unused num_virt_controls from struct op_x86_model_spec
    x86/oprofile: Remove const qualifier from struct op_x86_model_spec
    x86/oprofile: Moving nmi_cpu_switch() in nmi_int.c
    x86/oprofile: Moving nmi_cpu_save/restore_mpx_registers() in nmi_int.c
    x86/oprofile: Moving nmi_setup_cpu_mux() in nmi_int.c
    x86/oprofile: Implement multiplexing setup/shutdown functions
    oprofile: Grouping multiplexing code in op_model_amd.c
    oprofile: Introduce op_x86_phys_to_virt()
    oprofile: Grouping multiplexing code in oprof.c
    oprofile: Remove oprofile_multiplexing_init()
    ...

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'irq-threaded-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    genirq: Do not mask oneshot edge type interrupts
    genirq: Support nested threaded irq handling
    genirq: Add buslock support
    genirq: Add oneshot support

    Linus Torvalds
     
  • * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    pci/intr_remapping: Allocate irq_iommu on node
    irq: Add irq_node() primitive
    irq: Make sure irq_desc for legacy irq get correct node setting
    genirq: Add prototype for handle_nested_irq()
    irq: Remove superfluous NULL pointer check in check_irq_resend()
    irq: Clean up by removing irqfixup MODULE_PARM_DESC()
    genirq: Fix comment describing suspend_device_irqs()
    genirq: Remove obsolete defines and typedefs

    Linus Torvalds
     
  • * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (28 commits)
    rcu: Move end of special early-boot RCU operation earlier
    rcu: Changes from reviews: avoid casts, fix/add warnings, improve comments
    rcu: Create rcutree plugins to handle hotplug CPU for multi-level trees
    rcu: Remove lockdep annotations from RCU's _notrace() API members
    rcu: Add #ifdef to suppress __rcu_offline_cpu() warning in !HOTPLUG_CPU builds
    rcu: Add CPU-offline processing for single-node configurations
    rcu: Add "notrace" to RCU function headers used by ftrace
    rcu: Remove CONFIG_PREEMPT_RCU
    rcu: Merge preemptable-RCU functionality into hierarchical RCU
    rcu: Simplify rcu_pending()/rcu_check_callbacks() API
    rcu: Use debugfs_remove_recursive() simplify code.
    rcu: Merge per-RCU-flavor initialization into pre-existing macro
    rcu: Fix online/offline indication for rcudata.csv trace file
    rcu: Consolidate sparse and lockdep declarations in include/linux/rcupdate.h
    rcu: Renamings to increase RCU clarity
    rcu: Move private definitions from include/linux/rcutree.h to kernel/rcutree.h
    rcu: Expunge lingering references to CONFIG_CLASSIC_RCU, optimize on !SMP
    rcu: Delay rcu_barrier() wait until beginning of next CPU-hotunplug operation.
    rcu: Fix typo in rcu_irq_exit() comment header
    rcu: Make rcupreempt_trace.c look at offline CPUs
    ...

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (32 commits)
    locking, m68k/asm-offsets: Rename signal defines
    locking: Inline spinlock code for all locking variants on s390
    locking: Simplify spinlock inlining
    locking: Allow arch-inlined spinlocks
    locking: Move spinlock function bodies to header file
    locking, m68k: Calculate thread_info offset with asm offset
    locking, m68k/asm-offsets: Rename pt_regs offset defines
    locking, sparc: Rename __spin_try_lock() and friends
    locking, powerpc: Rename __spin_try_lock() and friends
    lockdep: Remove recursion stattistics
    lockdep: Simplify lock_stat seqfile code
    lockdep: Simplify lockdep_chains seqfile code
    lockdep: Simplify lockdep seqfile code
    lockdep: Fix missing entries in /proc/lock_chains
    lockdep: Fix missing entry in /proc/lock_stat
    lockdep: Fix memory usage info of BFS
    lockdep: Reintroduce generation count to make BFS faster
    lockdep: Deal with many similar locks
    lockdep: Introduce lockdep_assert_held()
    lockdep: Fix style nits
    ...

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'core-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (59 commits)
    x86/gart: Do not select AGP for GART_IOMMU
    x86/amd-iommu: Initialize passthrough mode when requested
    x86/amd-iommu: Don't detach device from pt domain on driver unbind
    x86/amd-iommu: Make sure a device is assigned in passthrough mode
    x86/amd-iommu: Align locking between attach_device and detach_device
    x86/amd-iommu: Fix device table write order
    x86/amd-iommu: Add passthrough mode initialization functions
    x86/amd-iommu: Add core functions for pd allocation/freeing
    x86/dma: Mark iommu_pass_through as __read_mostly
    x86/amd-iommu: Change iommu_map_page to support multiple page sizes
    x86/amd-iommu: Support higher level PTEs in iommu_page_unmap
    x86/amd-iommu: Remove old page table handling macros
    x86/amd-iommu: Use 2-level page tables for dma_ops domains
    x86/amd-iommu: Remove bus_addr check in iommu_map_page
    x86/amd-iommu: Remove last usages of IOMMU_PTE_L0_INDEX
    x86/amd-iommu: Change alloc_pte to support 64 bit address space
    x86/amd-iommu: Introduce increase_address_space function
    x86/amd-iommu: Flush domains if address space size was increased
    x86/amd-iommu: Introduce set_dte_entry function
    x86/amd-iommu: Add a gneric version of amd_iommu_flush_all_devices
    ...

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'core-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    debug lockups: Improve lockup detection, fix generic arch fallback
    debug lockups: Improve lockup detection

    Linus Torvalds
     
  • Signed-off-by: Rémi Denis-Courmont
    Signed-off-by: David S. Miller

    Rémi Denis-Courmont
     
  • In some cases, the network device driver knows what layer-3 address the
    device should have. This adds support for the Phonet stack to
    automatically request from the driver and add that address to the
    network device.

    Signed-off-by: Rémi Denis-Courmont
    Signed-off-by: David S. Miller

    Rémi Denis-Courmont
     
  • Add IFA_F_DADFAILED flag to denote an IPv6 address that has
    failed Duplicate Address Detection, that way tools like
    /sbin/ip can be more informative.

    3: eth0: mtu 1500 qlen 1000
    inet6 2001:db8::1/64 scope global tentative dadfailed
    valid_lft forever preferred_lft forever

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     
  • The Ethernet framing is used for a lot of devices these days. Most
    prominent are WiFi and WiMAX based devices. However for userspace
    application it is important to classify these devices correctly and
    not only see them as Ethernet devices. The daemons like HAL, DeviceKit
    or even NetworkManager with udev support tries to do the classification
    in userspace with a lot trickery and extra system calls. This is not
    good and actually reaches its limitations. Especially since the kernel
    does know the type of the Ethernet device it is pretty stupid.

    To solve this problem the underlying device type needs to be set and
    then the value will be exported as DEVTYPE via uevents and available
    within udev.

    # cat /sys/class/net/wlan0/uevent
    DEVTYPE=wlan
    INTERFACE=wlan0
    IFINDEX=5

    This is similar to subsystems like USB and SCSI that distinguish
    between hosts, devices, disks, partitions etc.

    The new SET_NETDEV_DEVTYPE() is a convenience helper to set the actual
    device type. All device types are free form, but for convenience the
    same strings as used with RFKILL are choosen.

    Signed-off-by: Marcel Holtmann
    Signed-off-by: David S. Miller

    Marcel Holtmann
     
  • Trond Myklebust
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (102 commits)
    crypto: sha-s390 - Fix warnings in import function
    crypto: vmac - New hash algorithm for intel_txt support
    crypto: api - Do not displace newly registered algorithms
    crypto: ansi_cprng - Fix module initialization
    crypto: xcbc - Fix alignment calculation of xcbc_tfm_ctx
    crypto: fips - Depend on ansi_cprng
    crypto: blkcipher - Do not use eseqiv on stream ciphers
    crypto: ctr - Use chainiv on raw counter mode
    Revert crypto: fips - Select CPRNG
    crypto: rng - Fix typo
    crypto: talitos - add support for 36 bit addressing
    crypto: talitos - align locks on cache lines
    crypto: talitos - simplify hmac data size calculation
    crypto: mv_cesa - Add support for Orion5X crypto engine
    crypto: cryptd - Add support to access underlaying shash
    crypto: gcm - Use GHASH digest algorithm
    crypto: ghash - Add GHASH digest algorithm for GCM
    crypto: authenc - Convert to ahash
    crypto: api - Fix aligned ctx helper
    crypto: hmac - Prehash ipad/opad
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (377 commits)
    ASoC: au1x: PSC-AC97 bugfixes
    ALSA: dummy - Increase MAX_PCM_SUBSTREAMS to 128
    ALSA: dummy - Add debug proc file
    ALSA: Add const prefix to proc helper functions
    ALSA: Re-export snd_pcm_format_name() function
    ALSA: hda - Use auto model for HP laptops with ALC268 codec
    ALSA: cs46xx - Fix minimum period size
    ASoC: Fix WM835x Out4 capture enumeration
    ALSA: Remove unneeded ifdef from sound/core.h
    ALSA: Remove struct snd_monitor_file from public sound/core.h
    ASoC: Remove unuused hw_read_t
    sound: oxygen: work around MCE when changing volume
    ALSA: dummy - Fake buffer allocations
    ALSA: hda/realtek: Added support for CLEVO M540R subsystem, 6 channel + digital
    ASoC: fix pxa2xx-ac97.c breakage
    ALSA: dummy - Fix the timer calculation in systimer mode
    ALSA: dummy - Add more description
    ALSA: dummy - Better jiffies handling
    ALSA: dummy - Support high-res timer mode
    ALSA: Release v1.0.21
    ...

    Linus Torvalds