10 Jun, 2009

8 commits

  • * topic/pcm-jiffies-check:
    ALSA: pcm - A helper function to compose PCM stream name for debug prints
    ALSA: pcm - Fix update of runtime->hw_ptr_interrupt
    ALSA: pcm - Fix a typo in hw_ptr update check
    ALSA: PCM midlevel: lower jiffies check margin using runtime->delay value
    ALSA: PCM midlevel: Do not update hw_ptr_jiffies when hw_ptr is not changed
    ALSA: PCM midlevel: introduce mask for xrun_debug() macro
    ALSA: PCM midlevel: improve fifo_size handling

    Takashi Iwai
     
  • * topic/pcm-delay:
    ALSA: usbaudio - Add delay account
    ALSA: Add extra delay count in PCM

    Takashi Iwai
     
  • * topic/lx6464es:
    ALSA: Add missing description of lx6464es to ALSA-Configuration.txt
    ALSA: lx6464es - Disable lx_message_send()
    ALSA: lx6464es - Use snd_card_create()
    ALSA: lx6464es - driver for the digigram lx6464es interface

    Takashi Iwai
     
  • * topic/div64-cleanup:
    ALSA: Clean up 64bit division functions

    Takashi Iwai
     
  • * topic/ctxfi: (35 commits)
    ALSA: ctxfi - Clear PCM resources at hw_params and hw_free
    ALSA: ctxfi - Check the presence of SRC instance in PCM pointer callbacks
    ALSA: ctxfi - Add missing start check in atc_pcm_playback_start()
    ALSA: ctxfi - Add use_system_timer module option
    ALSA: ctxfi - Fix wrong model id for UAA
    ALSA: ctxfi - Clean up probe routines
    ALSA: ctxfi - Fix / clean up hw20k2 chip code
    ALSA: ctxfi - Fix possible buffer pointer overrun
    ALSA: ctxfi - Remove useless initializations and cast
    ALSA: ctxfi - Fix DMA mask for emu20k2 chip
    ALSA: ctxfi - Make volume controls more intuitive
    ALSA: ctxfi - Optimize the native timer handling using wc counter
    ALSA: ctxfi - Add missing inclusion of linux/math64.h
    ALSA: ctxfi - Set device 0 for mixer control elements
    ALSA: ctxfi - Clean up / optimize
    ALSA: ctxfi - Set periods_min to 2
    ALSA: ctxfi - Use native timer interrupt on emu20k1
    ALSA: ctxfi - Fix previous fix for 64bit DMA
    ALSA: ctxfi - Fix endian-dependent codes
    ALSA: ctxfi - Allow 64bit DMA
    ...

    Takashi Iwai
     
  • * topic/cleanup:
    ALSA: Remove deprecated include/sound/driver.h
    ALSA: Remove deprecated snd_card_new()

    Takashi Iwai
     
  • * topic/caiaq:
    ALSA: snd_usb_caiaq: bump version number
    ALSA: snd_usb_caiaq: give better shortname
    ALSA: Core - add snd_card_set_id() function
    ALSA: snd_usb_caiaq: give better longname
    ALSA: snd_usb_caiaq: use strlcpy
    ALSA: snd_usb_caiaq: clean whitespaces

    Takashi Iwai
     
  • * topic/asoc: (135 commits)
    ASoC: Apostrophe patrol
    ASoC: codec tlv320aic23 fix bogus divide by 0 message
    ASoC: fix NULL pointer dereference in soc_suspend()
    ASoC: Fix build error in twl4030.c
    ASoC: SSM2602: assign last substream to the master when shutting down
    ASoC: Blackfin: document how anomaly 05000250 is handled
    ASoC: Blackfin: set the transfer size according the ac97_frame size
    ASoC: SSM2602: remove unsupported sample rates
    ASoC: TWL4030: Check the interface format for 4 channel mode
    ASoC: TWL4030: Use reg_cache in twl4030_init_chip
    ASoC: Initialise dev for the dummy S/PDIF DAI
    ASoC: Add dummy S/PDIF codec support
    ASoC: correct print specifiers for unsigneds
    ASoC: Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()
    ASoC: Switch FSL SSI DAI over to symmetric_rates
    ASoC: Mark MPC5200 AC97 as BROKEN until PowerPC merge issues are resolved
    ASoC: Fabric bindings for STAC9766 on the Efika
    ASoC: Support for AC97 on Phytec pmc030 base board.
    ASoC: AC97 driver for mpc5200
    ASoC: Main rewite of the mpc5200 audio DMA code
    ...

    Takashi Iwai
     

09 Jun, 2009

1 commit


08 Jun, 2009

1 commit

  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 5543/1: arm: serial amba: add missing declaration in serial.h
    [ARM] pxa: fix pxa27x_udc default pullup GPIO
    [ARM] pxa/imote2: fix UCAM sensor board ADC model number
    mx[23]: don't put clock lookups in __initdata
    fix oops when using console=ttymxcN with N > 0
    [ARM] ARMv7 errata: only apply fixes when running on applicable CPU
    [ARM] 5534/1: kmalloc must return a cache line aligned buffer

    Linus Torvalds
     

07 Jun, 2009

1 commit


05 Jun, 2009

2 commits

  • Replace the house-made div64_32() with the standard div_u64*() functions.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The "trace || CLONE_PTRACE" check in tracehook_report_clone() is not right,

    - If the untraced task does clone(CLONE_PTRACE) the new child is not traced,
    we must not queue SIGSTOP.

    - If we forked the traced task, but the tracer exits and untraces both the
    forking task and the new child (after copy_process() drops tasklist_lock),
    we should not queue SIGSTOP too.

    Change the code to check task_ptrace() != 0 instead. This is still racy, but
    the race is harmless.

    We can race with another tracer attaching to this child, or the tracer can
    exit and detach in parallel. But giwen that we didn't do wake_up_new_task()
    yet, the child must have the pending SIGSTOP anyway.

    Signed-off-by: Oleg Nesterov
    Acked-by: Roland McGrath
    Cc: Christoph Hellwig
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Oleg Nesterov
     

04 Jun, 2009

1 commit

  • Making the drm_crtc.c code recognize the DPMS property and invoke the
    connector->dpms function doesn't remove any capability from the driver while
    reducing code duplication.

    That just highlighted the problem with the existing DPMS functions which
    could turn off the connector, but failed to turn off any relevant crtcs. The
    new drm_helper_connector_dpms function manages all of that, using the
    drm_helper-specific crtc and encoder dpms functions, automatically computing
    the appropriate DPMS level for each object in the system.

    This fixes the current troubles in the i915 driver which left PLLs, pipes
    and planes running while in DPMS_OFF mode or even while they were unused.

    Signed-off-by: Keith Packard
    Signed-off-by: Dave Airlie

    Keith Packard
     

03 Jun, 2009

1 commit

  • Ideally we should have a directory of drivers and a link to the 'active'
    driver. For now just show the first device which is effectively the existing
    semantics without a warning.

    This is an update on the original buggy patch that I then forgot to
    resubmit. Confusingly it was proposed by Red Hat, written by Etched Pixels
    fixed and submitted by Intel ...

    Resolves-Bug: http://bugzilla.kernel.org/show_bug.cgi?id=9749
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     

02 Jun, 2009

1 commit

  • Introduce snd_card_set_id() function to allow lowlevel drivers to set
    default identification name for card slot. The function checks also
    for identification name collisions and tries to create unique name.

    Also, the snd_card_create() function is simplified, because this new
    function is used. As bonus, proper name collision checks are evaluated
    at the card create time.

    Signed-off-by: Jaroslav Kysela
    Signed-off-by: Takashi Iwai

    Jaroslav Kysela
     

01 Jun, 2009

4 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    3c509: Add missing EISA IDs
    MAINTAINERS: take maintainership of the cpmac Ethernet driver
    net/firmare: Ignore .cis files
    ath1e: add new device id for asus hardware
    mlx4_en: Fix a kernel panic when waking tx queue
    rtl8187: add USB ID for Linksys WUSB54GC-EU v2 USB wifi dongle
    at76c50x-usb: avoid mutex deadlock in at76_dwork_hw_scan
    mac8390: fix build with NET_POLL_CONTROLLER
    cxgb3: link fault fixes
    cxgb3: fix dma mapping regression
    netfilter: nfnetlink_log: fix wrong skbuff size calculation
    netfilter: xt_hashlimit does a wrong SEQ_SKIP
    bfin_mac: fix build error due to net_device_ops convert
    atlx: move modinfo data from atlx.h to atl1.c
    gianfar: fix babbling rx error event bug
    cls_cgroup: read classid atomically in classifier
    netfilter: nf_ct_dccp: add missing DCCP protocol changes in event cache
    netfilter: nf_ct_tcp: fix accepting invalid RST segments

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/headers-check-2.6:
    headers_check fix: linux/net_dropmon.h
    headers_check fix: linux/auto_fs.h

    Linus Torvalds
     
  • fix the following 'make headers_check' warnings:

    usr/include/linux/net_dropmon.h:7: found __[us]{8,16,32,64} type without #include

    Signed-off-by: Jaswinder Singh Rajput

    Jaswinder Singh Rajput
     
  • fix the following 'make headers_check' warnings:

    usr/include/linux/auto_fs.h:17: include of is preferred over

    Signed-off-by: Jaswinder Singh Rajput

    Jaswinder Singh Rajput
     

30 May, 2009

1 commit


29 May, 2009

6 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: libps2 - better handle bad scheduler decisions
    Input: usb1400_ts - fix access to "device data" in resume function
    Input: multitouch - augment event semantics documentation
    Input: multitouch - add tracking ID to the protocol

    Linus Torvalds
     
  • mapping->tree_lock can be acquired from interrupt context. Then,
    following dead lock can occur.

    Assume "A" as a page.

    CPU0:
    lock_page_cgroup(A)
    interrupted
    -> take mapping->tree_lock.
    CPU1:
    take mapping->tree_lock
    -> lock_page_cgroup(A)

    This patch tries to fix above deadlock by moving memcg's hook to out of
    mapping->tree_lock. charge/uncharge of pagecache/swapcache is protected
    by page lock, not tree_lock.

    After this patch, lock_page_cgroup() is not called under mapping->tree_lock.

    Signed-off-by: KAMEZAWA Hiroyuki
    Signed-off-by: Daisuke Nishimura
    Cc: Balbir Singh
    Cc: Daisuke Nishimura
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daisuke Nishimura
     
  • linux/cred.h can't be included as first header (alphabetical order)
    because it uses __init which is enough to break compilation on some archs.

    Signed-off-by: Alexey Dobriyan
    Acked-by: James Morris
    Acked-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • Move the fifo_size assignment to hw->ioctl callback to allow lowlevel
    drivers overwrite the default behaviour.

    fifo_size is in frames not bytes as specified in asound.h and alsa-lib's
    documentation, but most hardware have fixed byte based FIFOs. Introduce
    internal SNDRV_PCM_INFO_FIFO_IN_FRAMES.

    Signed-off-by: Jaroslav Kysela
    Signed-off-by: Takashi Iwai

    Jaroslav Kysela
     
  • Takashi Iwai
     
  • Testing the i7300_idle driver on i5000-series hardware required
    an edit to i7300_idle.h to "#define SUPPORT_I5000 1" and a re-build
    of both i7300_idle and ioat_dma.

    Replace that build-time scheme with a load-time module parameter:
    "7300_idle.forceload=1" to make it easier to test the driver
    on hardware that while not officially validated, works fine
    and is much more commonly available.

    By default (no modparam) the driver will continue to load
    only on the i7300.

    Note that ioat_dma runs a copy of i7300_idle's probe routine
    to know to reserve an IOAT channel for i7300_idle.
    This change makes ioat_dma do that always on the i5000,
    just like it does on the i7300.

    Signed-off-by: Len Brown
    Acked-by: Andrew Henroid

    Len Brown
     

28 May, 2009

1 commit


27 May, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel:
    drm/i915: Add support for VGA load detection (pre-945).
    drm/i915: Use an I2C algo to do the flip to SDVO DDC bus.
    drm/i915: Determine type before initialising connector
    drm/i915: Return SDVO LVDS VBT mode if no EDID modes are detected.
    drm/i915: Fetch SDVO LVDS mode lines from VBT, then reserve them
    i915: support 8xx desktop cursors
    drm/i915: allocate large pointer arrays with vmalloc

    Linus Torvalds
     

25 May, 2009

1 commit

  • Robert L Mathews discovered that some clients send evil TCP RST segments,
    which are accepted by netfilter conntrack but discarded by the
    destination. Thus the conntrack entry is destroyed but the destination
    retransmits data until timeout.

    The same technique, i.e. sending properly crafted RST segments, can easily
    be used to bypass connlimit/connbytes based restrictions (the sample
    script written by Robert can be found in the netfilter mailing list
    archives).

    The patch below adds a new flag and new field to struct ip_ct_tcp_state so
    that checking RST segments can be made more strict and thus TCP conntrack
    can catch the invalid ones: the RST segment is accepted only if its
    sequence number higher than or equal to the highest ack we seen from the
    other direction. (The last_ack field cannot be reused because it is used
    to catch resent packets.)

    Signed-off-by: Jozsef Kadlecsik
    Signed-off-by: Patrick McHardy

    Jozsef Kadlecsik
     

24 May, 2009

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] mpt2sas: fix driver version inconsistency
    [SCSI] 3w-xxxx: scsi_dma_unmap fix
    [SCSI] 3w-9xxx: scsi_dma_unmap fix
    [SCSI] ses: fix problems caused by empty SES provided name
    [SCSI] fc-transport: Close state transition-window during rport deletion.
    [SCSI] initialize max_target_blocked in scsi_alloc_target
    [SCSI] fnic: Add new Cisco PCI-Express FCoE HBA

    Linus Torvalds
     
  • There are a few multi-touch devices that support finger tracking
    well in hardware, Stantum being the prime example. By exposing the
    tracking ID in the MT protocol, evdev bandwidth and cpu usage in
    user space can be reduced.

    This patch adds the ABS_MT_TRACKING_ID to the MT protocol.

    Signed-off-by: Henrik Rydberg
    Tested-by: Stéphane Chatty
    Signed-off-by: Dmitry Torokhov

    Henrik Rydberg
     

22 May, 2009

5 commits


21 May, 2009

2 commits

  • * master.kernel.org:/home/rmk/linux-2.6-arm: (25 commits)
    [ARM] 5519/1: amba probe: pass "struct amba_id *" instead of void *
    [ARM] 5517/1: integrator: don't put clock lookups in __initdata
    [ARM] 5518/1: versatile: don't put clock lookups in __initdata
    [ARM] mach-l7200: fix spelling of SYS_CLOCK_OFF
    [ARM] Double check memmap is actually valid with a memmap has unexpected holes V2
    [ARM] realview: fix broadcast tick support
    [ARM] realview: remove useless smp_cross_call_done()
    [ARM] smp: fix cpumask usage in ARM SMP code
    [ARM] 5513/1: Eurotech VIPER SBC: fix compilation error
    [ARM] 5509/1: ep93xx: clkdev enable UARTS
    ARM: OMAP2/3: Change omapfb to use clkdev for dispc and rfbi, v2
    ARM: OMAP3: Fix HW SAVEANDRESTORE shift define
    ARM: OMAP3: Fix number of GPIO lines for 34xx
    [ARM] S3C: Do not set clk->owner field if unset
    [ARM] S3C2410: mach-bast.c registering i2c data too early
    [ARM] S3C24XX: Fix unused code warning in arch/arm/plat-s3c24xx/dma.c
    [ARM] S3C64XX: fix GPIO debug
    [ARM] S3C64XX: GPIO include cleanup
    [ARM] nwfpe: fix 'floatx80_is_nan' sparse warning
    [ARM] nwfpe: Add decleration for ExtendedCPDO
    ...

    Linus Torvalds
     
  • The second argument of the probe method points to the amba_id
    structure, so it's better passed with the correct type. None of the
    current in-tree drivers uses the pointer, so they have only been
    checked for a clean compile.

    Change suggested by Russell King.

    Signed-off-by: Alessandro Rubini
    Signed-off-by: Russell King

    Alessandro Rubini
     

20 May, 2009

1 commit

  • For awhile now, many of the GEM code paths have allocated page or
    object arrays with the slab allocator. This is nice and fast, but
    won't work well if memory is fragmented, since the slab allocator works
    with physically contiguous memory (i.e. order > 2 allocations are
    likely to fail fairly early after booting and doing some work).

    This patch works around the issue by falling back to vmalloc for
    >PAGE_SIZE allocations. This is ugly, but much less work than chaining
    a bunch of pages together by hand (suprisingly there's not a bunch of
    generic kernel helpers for this yet afaik). vmalloc space is somewhat
    precious on 32 bit kernels, but our allocations shouldn't be big enough
    to cause problems, though they're routinely more than a page.

    Note that this patch doesn't address the unchecked
    alloc-based-on-ioctl-args in GEM; that needs to be fixed in a separate
    patch.

    Also, I've deliberately ignored the DRM's "area" junk. I don't think
    anyone actually uses it anymore and I'm hoping it gets ripped out soon.

    [Updated: removed size arg to new free function. We could unify the
    free functions as well once the DRM mem tracking is ripped out.]

    fd.o bug #20152 (part 1/3)

    Signed-off-by: Jesse Barnes
    Signed-off-by: Eric Anholt

    Jesse Barnes