15 Oct, 2012

10 commits


14 Oct, 2012

1 commit

  • Pull md updates from NeilBrown:
    - "discard" support, some dm-raid improvements and other assorted bits
    and pieces.

    * tag 'md-3.7' of git://neil.brown.name/md: (29 commits)
    md: refine reporting of resync/reshape delays.
    md/raid5: be careful not to resize_stripes too big.
    md: make sure manual changes to recovery checkpoint are saved.
    md/raid10: use correct limit variable
    md: writing to sync_action should clear the read-auto state.
    Subject: [PATCH] md:change resync_mismatches to atomic64_t to avoid races
    md/raid5: make sure to_read and to_write never go negative.
    md: When RAID5 is dirty, force reconstruct-write instead of read-modify-write.
    md/raid5: protect debug message against NULL derefernce.
    md/raid5: add some missing locking in handle_failed_stripe.
    MD: raid5 avoid unnecessary zero page for trim
    MD: raid5 trim support
    md/bitmap:Don't use IS_ERR to judge alloc_page().
    md/raid1: Don't release reference to device while handling read error.
    raid: replace list_for_each_continue_rcu with new interface
    add further __init annotations to crypto/xor.c
    DM RAID: Fix for "sync" directive ineffectiveness
    DM RAID: Fix comparison of index and quantity for "rebuild" parameter
    DM RAID: Add rebuild capability for RAID10
    DM RAID: Move 'rebuild' checking code to its own function
    ...

    Linus Torvalds
     

13 Oct, 2012

13 commits

  • Pull TPM bugfixes from James Morris.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
    tpm: Propagate error from tpm_transmit to fix a timeout hang
    driver/char/tpm: fix regression causesd by ppi

    Linus Torvalds
     
  • Pull ACPI & Thermal updates from Len Brown:
    "The generic Linux thermal layer is gaining some new capabilities
    (generic cooling via cpufreq) and some new customers (ARM).

    Also, an ACPI EC bug fix plus a regression fix."

    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (30 commits)
    tools/power/acpi/acpidump: remove duplicated include from acpidump.c
    ACPI idle, CPU hotplug: Fix NULL pointer dereference during hotplug
    cpuidle / ACPI: fix potential NULL pointer dereference
    ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop
    ACPI: EC: Make the GPE storm threshold a module parameter
    thermal: Exynos: Fix NULL pointer dereference in exynos_unregister_thermal()
    Thermal: Fix bug on cpu_cooling, cooling device's id conflict problem.
    thermal: exynos: Use devm_* functions
    ARM: exynos: add thermal sensor driver platform data support
    thermal: exynos: register the tmu sensor with the kernel thermal layer
    thermal: exynos5: add exynos5250 thermal sensor driver support
    hwmon: exynos4: move thermal sensor driver to driver/thermal directory
    thermal: add generic cpufreq cooling implementation
    Fix a build error.
    thermal: Fix potential NULL pointer accesses
    thermal: add Renesas R-Car thermal sensor support
    thermal: fix potential out-of-bounds memory access
    Thermal: Introduce locking for cdev.thermal_instances list.
    Thermal: Unify the code for both active and passive cooling
    Thermal: Introduce simple arbitrator for setting device cooling state
    ...

    Linus Torvalds
     
  • Pull KGDB/KDB fixes and cleanups from Jason Wessel:
    "Cleanups
    - Clean up compile warnings in kgdboc.c and x86/kernel/kgdb.c
    - Add module event hooks for simplified debugging with gdb
    Fixes
    - Fix kdb to stop paging with 'q' on bta and dmesg
    - Fix for data that scrolls off the vga console due to line wrapping
    when using the kdb pager
    New
    - The debug core registers for kernel module events which allows a
    kernel aware gdb to automatically load symbols and break on entry
    to a kernel module
    - Allow kgdboc=kdb to setup kdb on the vga console"

    * tag 'for_linus-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb:
    tty/console: fix warnings in drivers/tty/serial/kgdboc.c
    kdb,vt_console: Fix missed data due to pager overruns
    kdb: Fix dmesg/bta scroll to quit with 'q'
    kgdboc: Accept either kbd or kdb to activate the vga + keyboard kdb shell
    kgdb,x86: fix warning about unused variable
    mips,kgdb: fix recursive page fault with CONFIG_KPROBES
    kgdb: Add module event hooks

    Linus Torvalds
     
  • Pull two more mmc changes from Chris Ball:

    - Disintegrate UAPI

    - fix a mismerge that caused a build error.

    * tag 'mmc-merge-for-3.7-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc:
    UAPI: (Scripted) Disintegrate include/linux/mmc
    mmc: mxs-mmc: Fix merge issue causing build error

    Linus Torvalds
     
  • Pull device-mapper changes from Alasdair G Kergon:
    "Remove the power-of-2 block size constraint on discards in dm thin
    provisioning and factor the bio_prison code out into a separate module
    (for sharing with the forthcoming cache target).

    Use struct bio's front_pad to eliminate the use of one separate
    mempool by bio-based devices.

    A few other tiny clean-ups."

    * tag 'dm-3.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm:
    dm: store dm_target_io in bio front_pad
    dm thin: move bio_prison code to separate module
    dm thin: prepare to separate bio_prison code
    dm thin: support discard with non power of two block size
    dm persistent data: convert to use le32_add_cpu
    dm: use ACCESS_ONCE for sysfs values
    dm bufio: use list_move
    dm mpath: fix check for null mpio in end_io fn

    Linus Torvalds
     
  • Pull misc SCSI updates from James Bottomley:
    "This is an assorted set of stragglers into the merge window with
    driver updates for megaraid_sas, lpfc, bfi and mvumi. It also
    includes some fairly major fixes for virtio-scsi (scatterlist init),
    scsi_debug (off by one error), storvsc (use after free) and qla2xxx
    (potential deadlock).

    Signed-off-by: James Bottomley "

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (49 commits)
    [SCSI] storvsc: Account for in-transit packets in the RESET path
    [SCSI] qla2xxx: fix potential deadlock on ha->hardware_lock
    [SCSI] scsi_debug: Fix off-by-one bug when unmapping region
    [SCSI] Shorten the path length of scsi_cmd_to_driver()
    [SCSI] virtio-scsi: support online resizing of disks
    [SCSI] virtio-scsi: fix LUNs greater than 255
    [SCSI] virtio-scsi: initialize scatterlist structure
    [SCSI] megaraid_sas: Version, Changelog, Copyright update
    [SCSI] megaraid_sas: Remove duplicate code
    [SCSI] megaraid_sas: Add SystemPD FastPath support
    [SCSI] megaraid_sas: Add array boundary check for SystemPD
    [SCSI] megaraid_sas: Load io_request DataLength in bytes
    [SCSI] megaraid_sas: Add module param for configurable MSI-X vector count
    [SCSI] megaraid_sas: Remove un-needed completion_lock spinlock calls
    [SCSI] lpfc 8.3.35: Update lpfc version for 8.3.35 driver release
    [SCSI] lpfc 8.3.35: Fixed not reporting logical link speed to SCSI midlayer when QoS not on
    [SCSI] lpfc 8.3.35: Fix error with fabric service parameters causing performance issues
    [SCSI] lpfc 8.3.35: Fixed SCSI host create showing wrong link speed on SLI3 HBA ports
    [SCSI] lpfc 8.3.35: Fixed not checking solicition in progress bit when verifying FCF record for use
    [SCSI] lpfc 8.3.35: Fixed messages for misconfigured port errors
    ...

    Linus Torvalds
     
  • Pull input layer updates from Dmitry Torokhov:
    "2nd round of updates for the input subsystem. With it input core no
    longer limits number of character devices per event handler (such as
    evdev) to 32, but switches to dynamic minors once legacy range is
    exhausted. This should get multi-seat installations that currently
    run our of event devices very quickly.

    You will also get an update for Wacom driver and a couple of driver
    fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: extend the number of event (and other) devices
    Input: mousedev - mark mousedev interfaces as non-seekable
    Input: mousedev - rename mixdev_open to opened_by_mixdev
    Input: mousedev - reformat structure initializers
    Input: mousedev - factor out psaux code to reduce #ifdefery
    Input: samsung-keypad - add clk_prepare and clk_unprepare
    Input: atmel_mxt_ts - simplify mxt_dump_message
    Input: wacom - clean up wacom_query_tablet_data
    Input: wacom - introduce wacom_fix_phy_from_hid
    Input: wacom - allow any multi-input Intuos device to set prox
    Input: wacom - report correct touch contact size for I5/Bamboo

    Linus Torvalds
     
  • Pull networking updates from David Miller:

    1) Alexey Kuznetsov noticed we routed TCP resets improperly in the
    assymetric routing case, fix this by reverting a change that made us
    use the incoming interface in the outgoing route key when we didn't
    have a socket context to work with.

    2) TCP sysctl kernel memory leakage to userspace fix from Alan Cox.

    3) Move UAPI bits from David Howells, WIMAX and CAN this time.

    4) Fix TX stalls in e1000e wrt. Byte Queue Limits, from Hiroaki
    SHIMODA, Denys Fedoryshchenko, and Jesse Brandeburg.

    5) Fix IPV6 crashes in packet generator module, from Amerigo Wang.

    6) Tidies and fixes in the new VXLAN driver from Stephen Hemminger.

    7) Bridge IP options parse doesn't check first if SKB header has at
    least an IP header's worth of content present. Fix from Sarveshwar
    Bandi.

    8) The kernel now generates compound pages on transmit and the Xen
    netback drivers needs some adjustments in order to handle this. Fix
    from Ian Campbell.

    9) Turn off ASPM in JME driver, from Kevin Bardon and Matthew Garrett.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (43 commits)
    mcs7830: Fix link state detection
    net: add doc for in4_pton()
    net: add doc for in6_pton()
    vti: fix sparse bit endian warnings
    tcp: resets are misrouted
    usbnet: Support devices reporting idleness
    Add CDC-ACM support for the CX93010-2x UCMxx USB Modem
    net/ethernet/jme: disable ASPM
    tcp: sysctl interface leaks 16 bytes of kernel memory
    kaweth: print correct debug ptr
    e1000e: Change wthresh to 1 to avoid possible Tx stalls
    ipv4: fix route mark sparse warning
    xen: netback: handle compound page fragments on transmit.
    bridge: Pull ip header into skb->data before looking into ip header.
    isdn: fix a wrapping bug in isdn_ppp_ioctl()
    vxlan: fix oops when give unknown ifindex
    vxlan: fix receive checksum handling
    vxlan: add additional headroom
    vxlan: allow configuring port range
    vxlan: associate with tunnel socket on transmit
    ...

    Linus Torvalds
     
  • Use the recently-added bio front_pad field to allocate struct dm_target_io.

    Prior to this patch, dm_target_io was allocated from a mempool. For each
    dm_target_io, there is exactly one bio allocated from a bioset.

    This patch merges these two allocations into one allocation: we create a
    bioset with front_pad equal to the size of dm_target_io so that every
    bio allocated from the bioset has sizeof(struct dm_target_io) bytes
    before it. We allocate a bio and use the bytes before the bio as
    dm_target_io.

    _tio_cache is removed and the tio_pool mempool is now only used for
    request-based devices.

    This idea was introduced by Kent Overstreet.

    Signed-off-by: Mikulas Patocka
    Cc: Kent Overstreet
    Cc: Jens Axboe
    Cc: tj@kernel.org
    Cc: Vivek Goyal
    Cc: Bill Pemberton
    Signed-off-by: Alasdair G Kergon

    Mikulas Patocka
     
  • The bio prison code will be useful to other future DM targets so
    move it to a separate module.

    Signed-off-by: Mike Snitzer
    Signed-off-by: Joe Thornber
    Signed-off-by: Alasdair G Kergon

    Mike Snitzer
     
  • The bio prison code will be useful to share with future DM targets.

    Prepare to move this code into a separate module, adding a dm prefix
    to structures and functions that will be exported.

    Signed-off-by: Mike Snitzer
    Signed-off-by: Joe Thornber
    Signed-off-by: Alasdair G Kergon

    Mike Snitzer
     
  • Support discards when the pool's block size is not a power of 2.
    The block layer assumes discard_granularity is a power of 2 (in
    blkdev_issue_discard), so we set this to the largest power of 2 that is
    a divides into the number of sectors in each block, but never less than
    DATA_DEV_BLOCK_SIZE_MIN_SECTORS.

    This patch eliminates the "Discard support must be disabled when the
    block size is not a power of 2" constraint that was imposed in commit
    55f2b8b ("dm thin: support for non power of 2 pool blocksize"). That
    commit was incomplete: using a block size that is not a power of 2
    shouldn't mean disabling discard support on the device completely.

    Signed-off-by: Mike Snitzer
    Signed-off-by: Joe Thornber
    Signed-off-by: Alasdair G Kergon

    Mike Snitzer
     
  • The device had an undocumented "feature": it can provide a sequence of
    spurious link-down status data even if the link is up all the time.
    A sequence of 10 was seen so update the link state only after the device
    reports the same link state 20 times.

    Signed-off-by: Ondrej Zary
    Reported-by: Michael Leun
    Tested-by: Michael Leun
    Signed-off-by: David S. Miller

    Ondrej Zary
     

12 Oct, 2012

16 commits

  • Convert cpu_to_le32(le32_to_cpu(E1) + E2) to use le32_add_cpu().

    dpatch engine is used to auto generate this patch.
    (https://github.com/weiyj/dpatch)

    Signed-off-by: Wei Yongjun
    Signed-off-by: Alasdair G Kergon

    Wei Yongjun
     
  • Use the ACCESS_ONCE macro in dm-bufio and dm-verity where a variable
    can be modified asynchronously (through sysfs) and we want to prevent
    compiler optimizations that assume that the variable hasn't changed.
    (See Documentation/atomic_ops.txt.)

    Signed-off-by: Mikulas Patocka
    Signed-off-by: Alasdair G Kergon

    Mikulas Patocka
     
  • Use list_move() instead of list_del() + list_add().

    spatch with a semantic match was used to find this.
    (http://coccinelle.lip6.fr/)

    Signed-off-by: Wei Yongjun
    Signed-off-by: Alasdair G Kergon

    Wei Yongjun
     
  • The mpio dereference should be moved below the BUG_ON NULL test
    in multipath_end_io().

    spatch with a semantic match was used to found this.
    (http://coccinelle.lip6.fr/)

    Signed-off-by: Wei Yongjun
    Signed-off-by: Alasdair G Kergon

    Wei Yongjun
     
  • Pull Xen fixes from Konrad Rzeszutek Wilk:
    "This has four bug-fixes and one tiny feature that I forgot to put
    initially in my tree due to oversight.

    The feature is for kdump kernels to speed up the /proc/vmcore reading.
    There is a ram_is_pfn helper function that the different platforms can
    register for. We are now doing that.

    The bug-fixes cover some embarrassing struct pv_cpu_ops variables
    being set to NULL on Xen (but not baremetal). We had a similar issue
    in the past with {write|read}_msr_safe and this fills the three
    missing ones. The other bug-fix is to make the console output (hvc)
    be capable of dealing with misbehaving backends and not fall flat on
    its face. Lastly, a quirk for older XenBus implementations that came
    with an ancient v3.4 hypervisor (so RHEL5 based) - reading of certain
    non-existent attributes just hangs the guest during bootup - so we
    take precaution of not doing that on such older installations.

    Feature:
    - Register a pfn_is_ram helper to speed up reading of /proc/vmcore.
    Bug-fixes:
    - Three pvops call for Xen were undefined causing BUG_ONs.
    - Add a quirk so that the shutdown watches (used by kdump) are not
    used with older Xen (3.4).
    - Fix ungraceful state transition for the HVC console."

    * tag 'stable/for-linus-3.7-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen/pv-on-hvm kexec: add quirk for Xen 3.4 and shutdown watches.
    xen/bootup: allow {read|write}_cr8 pvops call.
    xen/bootup: allow read_tscp call for Xen PV guests.
    xen pv-on-hvm: add pfn_is_ram helper for kdump
    xen/hvc: handle backend CLOSED without CLOSING

    Linus Torvalds
     
  • The commit 254d1a3f02ebc10ccc6e4903394d8d3f484f715e, titled
    "xen/pv-on-hvm kexec: shutdown watches from old kernel" assumes that the
    XenBus backend can deal with reading of values from:
    "control/platform-feature-xs_reset_watches":

    ... a patch for xenstored is required so that it
    accepts the XS_RESET_WATCHES request from a client (see changeset
    23839:42a45baf037d in xen-unstable.hg). Without the patch for xenstored
    the registration of watches will fail and some features of a PVonHVM
    guest are not available. The guest is still able to boot, but repeated
    kexec boots will fail."

    Sadly this is not true when using a Xen 3.4 hypervisor and booting a PVHVM
    guest. We end up hanging at:

    err = xenbus_scanf(XBT_NIL, "control",
    "platform-feature-xs_reset_watches", "%d", &supported);

    This can easily be seen with guests hanging at xenbus_init:

    NX (Execute Disable) protection: active
    SMBIOS 2.4 present.
    DMI: Xen HVM domU, BIOS 3.4.0 05/13/2011
    Hypervisor detected: Xen HVM
    Xen version 3.4.
    Xen Platform PCI: I/O protocol version 1
    ... snip ..
    calling xenbus_init+0x0/0x27e @ 1

    Reverting the commit or using the attached patch fixes the issue. This fix
    checks whether the hypervisor is older than 4.0 and if so does not try to
    perform the read.

    Fixes-Oracle-Bug: 14708233
    CC: stable@vger.kernel.org
    Acked-by: Olaf Hering
    [v2: Added a comment in the source code]
    Signed-off-by: Konrad Rzeszutek Wilk

    Konrad Rzeszutek Wilk
     
  • It is possible to miss data when using the kdb pager. The kdb pager
    does not pay attention to the maximum column constraint of the screen
    or serial terminal. This result is not incrementing the shown lines
    correctly and the pager will print more lines that fit on the screen.
    Obviously that is less than useful when using a VGA console where you
    cannot scroll back.

    The pager will now look at the kdb_buffer string to see how many
    characters are printed. It might not be perfect considering you can
    output ASCII that might move the cursor position, but it is a
    substantially better approximation for viewing dmesg and trace logs.

    This also means that the vt screen needs to set the kdb COLUMNS
    variable.

    Cc:
    Signed-off-by: Jason Wessel

    Jason Wessel
     
  • It is a common enough mistake for people to specify "kdb" when they
    meant to type "kbd" that the kgdboc can just accept both since they
    both mean the same thing anyway. Specifically it is for the case
    where you want kdb to be active on your graphics console + keyboard
    (where kbd was the original abbreviation for keyboard).

    With this change kgdboc will now accept either to mean the same thing:
    kgdboc=kbd
    kgdboc=kdb

    Signed-off-by: Jason Wessel

    Jason Wessel
     
  • Pull second set of media updates from Mauro Carvalho Chehab:
    "Despite its size, most of the stuff here is trivial. This series
    contains:

    - s5p-mfc: additions at the driver and at the core to support H.264
    hardware codec;
    - Some improvements at s5p and davinci embedded drivers;
    - Some V4L2 compliance fixes applied on a few drivers;
    - Several random trivial patches, including several fixes and a few
    new board support additions;

    Notes:

    1) Some Exynos media patches were dependent on some -arm fixes that
    got merged on changeset 782cd9e. That's why this pull request is
    based that changeset.

    2) As promised, I reviewed the pending VB2 DMABUF series.

    While setting a test environment, it was noticed that the upstream
    support for Samsung Exynos 4 boards (smdk310 and Origen) are
    broken upstream, likely due to regressions: both defconfigs are
    wrong and regulator settings for both boards are broken. That,
    allied with some bug at the dummy regulator driver, causes OOPSes
    during boot time.

    Long story short: even fixing the above, the proposed patches
    OOPSed when running the DMABUF test. Not sure yet if the OOPSes
    are due to some other undetected regressions, or due to some bug
    on the patches.

    Due to the above, DMABUF patches for vb2 got NACKed for 3.7."

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (109 commits)
    [media] m5mols: Add missing #include
    [media] stk1160: Add support for S-Video input
    Revert "[media] omap3isp: Replace cpu_is_omap3630() with ISP revision check"
    [media] dvb: LNA implementation changes
    [media] v4l2-ioctl: fix W=1 warnings
    [media] v4l2-ioctl: add blocks check for VIDIOC_SUBDEV_G/S_EDID
    [media] omap3isp: Fix compilation error in ispreg.h
    [media] rc-msi-digivox-ii: Add full scan keycodes
    [media] cx25821: testing the wrong variable
    [media] tda18271-common: hold the I2C adapter during write transfers
    [media] ds3000: add module parameter to force firmware upload
    [media] drivers/media: Remove unnecessary semicolon
    [media] winbond: remove space from driver name
    [media] iguanair: cannot send data from the stack
    [media] omap3isp: Replace cpu_is_omap3630() with ISP revision check
    [media] dvb-usb: print small buffers via %*ph
    [media] uvc: Add return code check at vb2_queue_init()
    [media] em28xx: Replace memcpy with struct assignment
    [media] bt8xx: Add video4linux control V4L2_CID_COLOR_KILLER
    [media] mem2mem_testdev: Use devm_kzalloc() in probe
    ...

    Conflicts:
    arch/arm/mach-davinci/include/mach/da8xx.h

    Linus Torvalds
     
  • …t/linusw/linux-pinctrl

    Pull second set of pinctrl patches from Linus Walleij:
    "Here is a late pinctrl pull request with stuff that wasn't quite
    tested at the first pull request.

    The main reason to not hold off is that the modifications to
    irq_domain_add_simple() as reviewed by Rob Herring introduce new
    infrastructure for irqdomains that will be useful for the next cycle:
    instead of sprinkling irq descriptor allocation all over the kernel
    wherever a "legacy" domain is registered, which is necessary for any
    platform using sparse IRQs, and many irq chips are say GPIO
    controllers which may be used with several systems, some with sparse
    IRQs some not, we push this into the irq_domain_add_simple() so we can
    atleast do mistakes in one place.

    The irq_domain_add_simple() is currently unused in the kernel, so I
    need to provide a user. The Nomadik stuff that goes with are changes
    to the driver I use day-to-day to make use of this facility (and a
    dependency), so see it as a way to eat my own dogfood: if this blows
    up the egg hits my face.

    A second round of pinctrl patches for v3.7:
    - Complement the Nomadik pinctrl driver with alternate Cx functions
    so it handles all oddities.
    - A patch to the IRQdomain to reform the simple irqdomain to handle
    IRQ descriptor allocation dynamically.
    - Use the above feature in the Nomadik pin controller."

    * tag 'pinctrl-for-3.7-late' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
    pinctrl/nomadik: use simple or linear IRQ domain
    irqdomain: augment add_simple() to allocate descs
    pinctrl/nomadik: support other alternate-C functions

    Linus Torvalds
     
  • Pull fbdev updates from Florian Tobias Schandinat:
    "This includes:
    - large updates for OMAP
    - basic OMAP5 DSS support for DPI and DSI outputs
    - large cleanups and restructuring
    - some update to Exynos and da8xx-fb
    - removal of the pnx4008 driver (arch removed)
    - various other small patches"

    Fix up some trivial conflicts (mostly just include line changes, but
    also some due to the renaming of the deferred work functions by Tejun).

    * tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6: (193 commits)
    gbefb: fix compile error
    video: mark nuc900fb_map_video_memory as __devinit
    video/mx3fb: set .owner to prevent module unloading while being used
    video: exynos_dp: use clk_prepare_enable and clk_disable_unprepare
    drivers/video/exynos/exynos_mipi_dsi.c: fix error return code
    drivers/video/savage/savagefb_driver.c: fix error return code
    video: s3c-fb: use clk_prepare_enable and clk_disable_unprepare
    da8xx-fb: save and restore LCDC context across suspend/resume cycle
    da8xx-fb: add pm_runtime support
    video/udlfb: fix line counting in fb_write
    OMAPDSS: add missing include for string.h
    OMAPDSS: DISPC: Configure color conversion coefficients for writeback
    OMAPDSS: DISPC: Add manager like functions for writeback
    OMAPDSS: DISPC: Configure writeback FIFOs
    OMAPDSS: DISPC: Configure writeback specific parameters in dispc_wb_setup()
    OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup
    OMAPDSS: DISPC: Add function to set channel in for writeback
    OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
    OMAPDSS: DISPC: Downscale chroma if plane is writeback
    OMAPDSS: DISPC: Configure input and output sizes for writeback
    ...

    Linus Torvalds
     
  • The following error appeared due to a merge problem; the patches:

    fc108d24 "mmc: mxs-mmc: fix deadlock caused by recursion loop"
    829c1bf4 "mmc: spi: Pull out parts shared between MMC and SPI"

    came in through separate branches and cause this build error when
    combined.

    drivers/mmc/host/mxs-mmc.c: In function 'mxs_mmc_enable_sdio_irq':
    drivers/mmc/host/mxs-mmc.c:527:3: error: 'struct mxs_mmc_host' has no member named 'base'
    drivers/mmc/host/mxs-mmc.c:527:3: error: 'struct mxs_mmc_host' has no member named 'devid'
    make[3]: *** [drivers/mmc/host/mxs-mmc.o] Error 1

    This patch corrects the issue.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Shawn Guo
    Signed-off-by: Chris Ball

    Marek Vasut
     
  • Some device types support a form of power management in which
    the device suggests to the host that the device may be suspended
    now. Support for that is best located in usbnet.

    Signed-off-by: Oliver Neukum
    Signed-off-by: David S. Miller

    Oliver Neukum
     
  • This USB V.92/V.32bis Controllered Modem have the USB vendor ID 0x0572
    and device ID 0x1340. It need the NO_UNION_NORMAL quirk to be recognized.

    Reference:
    http://www.conexant.com/servlets/DownloadServlet/DSH-201723-005.pdf?docid=1725&revid=5
    See idVendor and idProduct in table 6-1. Device Descriptors

    Signed-off-by: Jean-Christian de Rivaz
    Signed-off-by: David S. Miller

    Jean-Christian de Rivaz
     
  • Based on patch from Matthew Garrett (https://lkml.org/lkml/2011/11/11/168).

    http://driveragent.com/archive/30421/7-0-14 indicates that ASPM is
    disabled on the 250 and 260. Duplicate for sanity.

    Fixes random RX engine hangs I experienced with JMC250 on Clevo W270HU.

    Signed-off-by: Kevin Baradon
    Cc: Guo-Fu Tseng
    Cc: Matthew Garrett
    Cc: netdev@vger.kernel.org
    Signed-off-by: David S. Miller

    Kevin Baradon
     
  • We nowdays copy the buffer and free fw->data, so make the debug printk use
    the right thing.

    Signed-off-by: Alan Cox
    Signed-off-by: David S. Miller

    Alan Cox