12 Feb, 2014

1 commit

  • This is a part of preliminary works for modernizing the ALSA device
    structure. So far, we set card->dev at later point after the object
    creation. Because of this, the core layer doesn't always know which
    device is being handled before it's actually registered, and it makes
    impossible to show the device in error messages, for example. The
    first goal is to achieve a proper struct device initialization at the
    very beginning of probing.

    As a first step, this patch introduces snd_card_new() function (yes
    there was the same named function in the very past), in order to
    receive the parent device pointer from the very beginning.
    snd_card_create() is marked as deprecated.

    At this point, there is no functional change other than that. The
    actual change of the device creation scheme will follow later.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

01 Feb, 2014

5 commits

  • Pull sound fixes from Takashi Iwai:
    "The big chunks here are the updates for oxygen driver for Xonar DG
    devices, which were slipped from the previous pull request. They are
    device-specific and thus not too dangerous.

    Other than that, all patches are small bug fixes, mainly for Samsung
    build fixes, a few HD-audio enhancements, and other misc ASoC fixes.
    (And this time ASoC merge is less than Octopus, lucky seven :)"

    * tag 'sound-fix-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (42 commits)
    ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled
    ALSA: hda - add headset mic detect quirks for another Dell laptop
    ALSA: oxygen: Xonar DG(X): cleanup and minor changes
    ALSA: oxygen: Xonar DG(X): modify high-pass filter control
    ALSA: oxygen: Xonar DG(X): modify input select functions
    ALSA: oxygen: Xonar DG(X): modify capture volume functions
    ALSA: oxygen: Xonar DG(X): use headphone volume control
    ALSA: oxygen: Xonar DG(X): modify playback output select
    ALSA: oxygen: Xonar DG(X): capture from I2S channel 1, not 2
    ALSA: oxygen: Xonar DG(X): move the mixer code into another file
    ALSA: oxygen: modify CS4245 register dumping function
    ALSA: oxygen: modify adjust_dg_dac_routing function
    ALSA: oxygen: Xonar DG(X): modify DAC/ADC parameters function
    ALSA: oxygen: Xonar DG(X): modify initialization functions
    ALSA: oxygen: Xonar DG(X): add new CS4245 SPI functions
    ALSA: oxygen: additional definitions for the Xonar DG/DGX card
    ALSA: oxygen: change description of the xonar_dg.c file
    ALSA: oxygen: export oxygen_update_dac_routing symbol
    ALSA: oxygen: add mute mask for the OXYGEN_PLAY_ROUTING register
    ALSA: oxygen: modify the SPI writing function
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:
    - a new jpeg codec driver for Samsung Exynos (jpeg-hw-exynos4)
    - a new dvb frontend for ds2103 chipset (m88ds2103)
    - a new sensor driver for Samsung S5K5BAF UXGA (s5k5baf)
    - new drivers for R-Car VSP1
    - a new radio driver: radio-raremono
    - a new tuner driver for ts2022 chipset (m88ts2022)
    - the analog part of em28xx is now a separate module that only
    load/runs if the device is not a pure digital TV device
    - added a staging driver for bcm2048 radio devices
    - the omap 2 video driver (omap24xx) was moved to staging. This driver
    is for an old hardware and uses a deprecated Kernel internal API. If
    nobody cares enough to fix it, it would be removed on a couple Kernel
    releases
    - the sn9c102 driver was moved to staging. This driver was replaced by
    gspca, and disabled on some distros, as almost all devices are known
    to work properly with gspca. It should be removed from kernel on a
    couple Kernel releases
    - lots of driver fixes, improvements and cleanups

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (421 commits)
    [media] media: v4l2-dev: fix video device index assignment
    [media] rc-core: reuse device numbers
    [media] em28xx-cards: properly initialize the device bitmap
    [media] Staging: media: Fix line length exceeding 80 characters in as102_drv.c
    [media] Staging: media: Fix line length exceeding 80 characters in as102_fe.c
    [media] Staging: media: Fix quoted string split across line in as102_fe.c
    [media] media: st-rc: Add reset support
    [media] m2m-deinterlace: fix allocated struct type
    [media] radio-usb-si4713: fix sparse non static symbol warnings
    [media] em28xx-audio: remove needless check before usb_free_coherent()
    [media] au0828: Fix sparse non static symbol warning
    Revert "[media] go7007-usb: only use go->dev after allocated"
    [media] em28xx-audio: provide an error code when URB submit fails
    [media] em28xx: fix check for audio only usb interfaces when changing the usb alternate setting
    [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0
    [media] em28xx: make 'em28xx_ctrl_ops' static
    em28xx-alsa: Fix error patch for init/fini
    [media] em28xx-audio: flush work at .fini
    [media] drxk: remove the option to load firmware asynchronously
    [media] em28xx: adjust period size at runtime
    ...

    Linus Torvalds
     
  • Pull scheduler fixes from Ingo Molnar:
    "A crash fix and documentation updates"

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    sched: Make sched_class::get_rr_interval() optional
    sched/deadline: Add sched_dl documentation
    sched: Fix docbook parameter annotation error in wait.h

    Linus Torvalds
     
  • Pull core debug changes from Ingo Molnar:
    "This contains mostly kernel debugging related updates:

    - make hung_task detection more configurable to distros
    - add final bits for x86 UV NMI debugging, with related KGDB changes
    - update the mailing-list of MAINTAINERS entries I'm involved with"

    * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    hung_task: Display every hung task warning
    sysctl: Add neg_one as a standard constraint
    x86/uv/nmi, kgdb/kdb: Fix UV NMI handler when KDB not configured
    x86/uv/nmi: Fix Sparse warnings
    kgdb/kdb: Fix no KDB config problem
    MAINTAINERS: Restore "L: linux-kernel@vger.kernel.org" entries

    Linus Torvalds
     
  • Pull more KVM updates from Paolo Bonzini:
    "Second batch of KVM updates. Some minor x86 fixes, two s390 guest
    features that need some handling in the host, and all the PPC changes.

    The PPC changes include support for little-endian guests and
    enablement for new POWER8 features"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (45 commits)
    x86, kvm: correctly access the KVM_CPUID_FEATURES leaf at 0x40000101
    x86, kvm: cache the base of the KVM cpuid leaves
    kvm: x86: move KVM_CAP_HYPERV_TIME outside #ifdef
    KVM: PPC: Book3S PR: Cope with doorbell interrupts
    KVM: PPC: Book3S HV: Add software abort codes for transactional memory
    KVM: PPC: Book3S HV: Add new state for transactional memory
    powerpc/Kconfig: Make TM select VSX and VMX
    KVM: PPC: Book3S HV: Basic little-endian guest support
    KVM: PPC: Book3S HV: Add support for DABRX register on POWER7
    KVM: PPC: Book3S HV: Prepare for host using hypervisor doorbells
    KVM: PPC: Book3S HV: Handle new LPCR bits on POWER8
    KVM: PPC: Book3S HV: Handle guest using doorbells for IPIs
    KVM: PPC: Book3S HV: Consolidate code that checks reason for wake from nap
    KVM: PPC: Book3S HV: Implement architecture compatibility modes for POWER8
    KVM: PPC: Book3S HV: Add handler for HV facility unavailable
    KVM: PPC: Book3S HV: Flush the correct number of TLB sets on POWER8
    KVM: PPC: Book3S HV: Context-switch new POWER8 SPRs
    KVM: PPC: Book3S HV: Align physical and virtual CPU thread numbers
    KVM: PPC: Book3S HV: Don't set DABR on POWER8
    kvm/ppc: IRQ disabling cleanup
    ...

    Linus Torvalds
     

31 Jan, 2014

10 commits

  • Pull btrfs updates from Chris Mason:
    "This is a pretty big pull, and most of these changes have been
    floating in btrfs-next for a long time. Filipe's properties work is a
    cool building block for inheriting attributes like compression down on
    a per inode basis.

    Jeff Mahoney kicked in code to export filesystem info into sysfs.

    Otherwise, lots of performance improvements, cleanups and bug fixes.

    Looks like there are still a few other small pending incrementals, but
    I wanted to get the bulk of this in first"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (149 commits)
    Btrfs: fix spin_unlock in check_ref_cleanup
    Btrfs: setup inode location during btrfs_init_inode_locked
    Btrfs: don't use ram_bytes for uncompressed inline items
    Btrfs: fix btrfs_search_slot_for_read backwards iteration
    Btrfs: do not export ulist functions
    Btrfs: rework ulist with list+rb_tree
    Btrfs: fix memory leaks on walking backrefs failure
    Btrfs: fix send file hole detection leading to data corruption
    Btrfs: add a reschedule point in btrfs_find_all_roots()
    Btrfs: make send's file extent item search more efficient
    Btrfs: fix to catch all errors when resolving indirect ref
    Btrfs: fix protection between walking backrefs and root deletion
    btrfs: fix warning while merging two adjacent extents
    Btrfs: fix infinite path build loops in incremental send
    btrfs: undo sysfs when open_ctree() fails
    Btrfs: fix snprintf usage by send's gen_unique_name
    btrfs: fix defrag 32-bit integer overflow
    btrfs: sysfs: list the NO_HOLES feature
    btrfs: sysfs: don't show reserved incompat feature
    btrfs: call permission checks earlier in ioctls and return EPERM
    ...

    Linus Torvalds
     
  • Merge misc fixes from Andrew Morton:
    "A few hotfixes and various leftovers which were awaiting other merges.

    Mainly movement of zram into mm/"

    * emailed patches fron Andrew Morton : (25 commits)
    memcg: fix mutex not unlocked on memcg_create_kmem_cache fail path
    Documentation/filesystems/vfs.txt: update file_operations documentation
    mm, oom: base root bonus on current usage
    mm: don't lose the SOFT_DIRTY flag on mprotect
    mm/slub.c: fix page->_count corruption (again)
    mm/mempolicy.c: fix mempolicy printing in numa_maps
    zram: remove zram->lock in read path and change it with mutex
    zram: remove workqueue for freeing removed pending slot
    zram: introduce zram->tb_lock
    zram: use atomic operation for stat
    zram: remove unnecessary free
    zram: delay pending free request in read path
    zram: fix race between reset and flushing pending work
    zsmalloc: add maintainers
    zram: add zram maintainers
    zsmalloc: add copyright
    zram: add copyright
    zram: remove old private project comment
    zram: promote zram from staging
    zsmalloc: move it under mm
    ...

    Linus Torvalds
     
  • Pull ARM SoC late changes from Kevin Hilman:
    "These are changes that arrived a little late but were considered
    self-contained enough to still go in for v3.14.

    They are all device tree updtes this time around, and mainly for
    Broadcom SoCs"

    * tag 'late-dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: moxart: move fixed rate clock child node to board level dts
    clk: bcm281xx: define kona clock binding
    ARM: dts: add usb udc support to bcm281xx
    ARM: dts: Specify clocks for timer on bcm11351
    Documentation: dt: kona-timer: Add clocks property
    ARM: dts: Specify clocks for SDHCIs on bcm11351
    Documentation: dt: kona-sdhci: Add clocks property
    ARM: dts: Specify clocks for UARTs on bcm11351
    ARM: dts: bcm281xx: Add i2c busses
    ARM: dts: Declare clocks as fixed on bcm11351
    ARM: dts: bcm28155-ap: Enable all the i2c busses

    Linus Torvalds
     
  • Pull more powerpc bits from Ben Herrenschmidt:
    "Here are a few more powerpc bits for this merge window. The bulk is
    made of two pull requests from Scott and Anatolij that I had missed
    previously (they arrived while I was away). Since both their branches
    are in -next independently, and the content has been around for a
    little while, they can still go in.

    The rest is mostly bug and regression fixes, a small series of
    cleanups to our pseries cpuidle code (including moving it to the right
    place), and one new cpuidle bakend for the powernv platform. I also
    wired up the new sched_attr syscalls"

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (37 commits)
    powerpc: Wire up sched_setattr and sched_getattr syscalls
    powerpc/hugetlb: Replace __get_cpu_var with get_cpu_var
    powerpc: Make sure "cache" directory is removed when offlining cpu
    powerpc/mm: Fix mmap errno when MAP_FIXED is set and mapping exceeds the allowed address space
    powerpc/powernv/cpuidle: Back-end cpuidle driver for powernv platform.
    powerpc/pseries/cpuidle: smt-snooze-delay cleanup.
    powerpc/pseries/cpuidle: Remove MAX_IDLE_STATE macro.
    powerpc/pseries/cpuidle: Make cpuidle-pseries backend driver a non-module.
    powerpc/pseries/cpuidle: Use cpuidle_register() for initialisation.
    powerpc/pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.
    powerpc: Fix 32-bit frames for signals delivered when transactional
    powerpc/iommu: Fix initialisation of DART iommu table
    powerpc/numa: Fix decimal permissions
    powerpc/mm: Fix compile error of pgtable-ppc64.h
    powerpc: Fix hw breakpoints on !HAVE_HW_BREAKPOINT configurations
    clk: corenet: Adds the clock binding
    powerpc/booke64: Guard e6500 tlb handler with CONFIG_PPC_FSL_BOOK3E
    powerpc/512x: dts: add MPC5125 clock specs
    powerpc/512x: clk: support MPC5121/5123/5125 SoC variants
    powerpc/512x: clk: enforce even SDHC divider values
    ...

    Linus Torvalds
     
  • ->readv, ->writev and ->sendfile have been removed while ->show_fdinfo
    has been added. The documentation should reflect this.

    Signed-off-by: Richard Yao
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Richard Yao
     
  • A 3% of system memory bonus is sometimes too excessive in comparison to
    other processes.

    With commit a63d83f427fb ("oom: badness heuristic rewrite"), the OOM
    killer tries to avoid killing privileged tasks by subtracting 3% of
    overall memory (system or cgroup) from their per-task consumption. But
    as a result, all root tasks that consume less than 3% of overall memory
    are considered equal, and so it only takes 33+ privileged tasks pushing
    the system out of memory for the OOM killer to do something stupid and
    kill dhclient or other root-owned processes. For example, on a 32G
    machine it can't tell the difference between the 1M agetty and the 10G
    fork bomb member.

    The changelog describes this 3% boost as the equivalent to the global
    overcommit limit being 3% higher for privileged tasks, but this is not
    the same as discounting 3% of overall memory from _every privileged task
    individually_ during OOM selection.

    Replace the 3% of system memory bonus with a 3% of current memory usage
    bonus.

    By giving root tasks a bonus that is proportional to their actual size,
    they remain comparable even when relatively small. In the example
    above, the OOM killer will discount the 1M agetty's 256 badness points
    down to 179, and the 10G fork bomb's 262144 points down to 183500 points
    and make the right choice, instead of discounting both to 0 and killing
    agetty because it's first in the task list.

    Signed-off-by: David Rientjes
    Reported-by: Johannes Weiner
    Acked-by: Johannes Weiner
    Cc: Michal Hocko
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • Remove the old private compcache project address so upcoming patches
    should be sent to LKML because we Linux kernel community will take care.

    Signed-off-by: Minchan Kim
    Cc: Nitin Gupta
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Minchan Kim
     
  • Zram has lived in staging for a LONG LONG time and have been
    fixed/improved by many contributors so code is clean and stable now. Of
    course, there are lots of product using zram in real practice.

    The major TV companys have used zram as swap since two years ago and
    recently our production team released android smart phone with zram
    which is used as swap, too and recently Android Kitkat start to use zram
    for small memory smart phone. And there was a report Google released
    their ChromeOS with zram, too and cyanogenmod have been used zram long
    time ago. And I heard some disto have used zram block device for tmpfs.
    In addition, I saw many report from many other peoples. For example,
    Lubuntu start to use it.

    The benefit of zram is very clear. With my experience, one of the
    benefit was to remove jitter of video application with backgroud memory
    pressure. It would be effect of efficient memory usage by compression
    but more issue is whether swap is there or not in the system. Recent
    mobile platforms have used JAVA so there are many anonymous pages. But
    embedded system normally are reluctant to use eMMC or SDCard as swap
    because there is wear-leveling and latency issues so if we do not use
    swap, it means we can't reclaim anoymous pages and at last, we could
    encounter OOM kill. :(

    Although we have real storage as swap, it was a problem, too. Because
    it sometime ends up making system very unresponsible caused by slow swap
    storage performance.

    Quote from Luigi on Google
    "Since Chrome OS was mentioned: the main reason why we don't use swap
    to a disk (rotating or SSD) is because it doesn't degrade gracefully
    and leads to a bad interactive experience. Generally we prefer to
    manage RAM at a higher level, by transparently killing and restarting
    processes. But we noticed that zram is fast enough to be competitive
    with the latter, and it lets us make more efficient use of the
    available RAM. " and he announced.
    http://www.spinics.net/lists/linux-mm/msg57717.html

    Other uses case is to use zram for block device. Zram is block device
    so anyone can format the block device and mount on it so some guys on
    the internet start zram as /var/tmp.
    http://forums.gentoo.org/viewtopic-t-838198-start-0.html

    Let's promote zram and enhance/maintain it instead of removing.

    Signed-off-by: Minchan Kim
    Reviewed-by: Konrad Rzeszutek Wilk
    Acked-by: Nitin Gupta
    Acked-by: Pekka Enberg
    Cc: Bob Liu
    Cc: Greg Kroah-Hartman
    Cc: Hugh Dickins
    Cc: Jens Axboe
    Cc: Luigi Semenzato
    Cc: Mel Gorman
    Cc: Rik van Riel
    Cc: Seth Jennings
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Minchan Kim
     
  • Pull core block IO changes from Jens Axboe:
    "The major piece in here is the immutable bio_ve series from Kent, the
    rest is fairly minor. It was supposed to go in last round, but
    various issues pushed it to this release instead. The pull request
    contains:

    - Various smaller blk-mq fixes from different folks. Nothing major
    here, just minor fixes and cleanups.

    - Fix for a memory leak in the error path in the block ioctl code
    from Christian Engelmayer.

    - Header export fix from CaiZhiyong.

    - Finally the immutable biovec changes from Kent Overstreet. This
    enables some nice future work on making arbitrarily sized bios
    possible, and splitting more efficient. Related fixes to immutable
    bio_vecs:

    - dm-cache immutable fixup from Mike Snitzer.
    - btrfs immutable fixup from Muthu Kumar.

    - bio-integrity fix from Nic Bellinger, which is also going to stable"

    * 'for-3.14/core' of git://git.kernel.dk/linux-block: (44 commits)
    xtensa: fixup simdisk driver to work with immutable bio_vecs
    block/blk-mq-cpu.c: use hotcpu_notifier()
    blk-mq: for_each_* macro correctness
    block: Fix memory leak in rw_copy_check_uvector() handling
    bio-integrity: Fix bio_integrity_verify segment start bug
    block: remove unrelated header files and export symbol
    blk-mq: uses page->list incorrectly
    blk-mq: use __smp_call_function_single directly
    btrfs: fix missing increment of bi_remaining
    Revert "block: Warn and free bio if bi_end_io is not set"
    block: Warn and free bio if bi_end_io is not set
    blk-mq: fix initializing request's start time
    block: blk-mq: don't export blk_mq_free_queue()
    block: blk-mq: make blk_sync_queue support mq
    block: blk-mq: support draining mq queue
    dm cache: increment bi_remaining when bi_end_io is restored
    block: fixup for generic bio chaining
    block: Really silence spurious compiler warnings
    block: Silence spurious compiler warnings
    block: Kill bio_pair_split()
    ...

    Linus Torvalds
     
  • Pull nfsd updates from Bruce Fields:
    - Handle some loose ends from the vfs read delegation support.
    (For example nfsd can stop breaking leases on its own in a
    fewer places where it can now depend on the vfs to.)
    - Make life a little easier for NFSv4-only configurations
    (thanks to Kinglong Mee).
    - Fix some gss-proxy problems (thanks Jeff Layton).
    - miscellaneous bug fixes and cleanup

    * 'for-3.14' of git://linux-nfs.org/~bfields/linux: (38 commits)
    nfsd: consider CLAIM_FH when handing out delegation
    nfsd4: fix delegation-unlink/rename race
    nfsd4: delay setting current_fh in open
    nfsd4: minor nfs4_setlease cleanup
    gss_krb5: use lcm from kernel lib
    nfsd4: decrease nfsd4_encode_fattr stack usage
    nfsd: fix encode_entryplus_baggage stack usage
    nfsd4: simplify xdr encoding of nfsv4 names
    nfsd4: encode_rdattr_error cleanup
    nfsd4: nfsd4_encode_fattr cleanup
    minor svcauth_gss.c cleanup
    nfsd4: better VERIFY comment
    nfsd4: break only delegations when appropriate
    NFSD: Fix a memory leak in nfsd4_create_session
    sunrpc: get rid of use_gssp_lock
    sunrpc: fix potential race between setting use_gss_proxy and the upcall rpc_clnt
    sunrpc: don't wait for write before allowing reads from use-gss-proxy file
    nfsd: get rid of unused function definition
    Define op_iattr for nfsd4_open instead using macro
    NFSD: fix compile warning without CONFIG_NFSD_V3
    ...

    Linus Torvalds
     

30 Jan, 2014

11 commits

  • Pull drm updates from Dave Airlie:
    "Been a bit busy, first week of kids school, and waiting on other trees
    to go in before I could send this, so its a bit later than I'd
    normally like.

    Highlights:
    - core:
    timestamp fixes, lots of misc cleanups
    - new drivers:
    bochs virtual vga
    - vmwgfx:
    major overhaul for their nextgen virt gpu.
    - i915:
    runtime D3 on HSW, watermark fixes, power well work, fbc fixes,
    bdw is no longer prelim.
    - nouveau:
    gk110/208 acceleration, more pm groundwork, old overlay support
    - radeon:
    dpm rework and clockgating for CIK, pci config reset, big endian
    fixes
    - tegra:
    panel support and DSI support, build as module, prime.
    - armada, omap, gma500, rcar, exynos, mgag200, cirrus, ast:
    fixes
    - msm:
    hdmi support for mdp5"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (595 commits)
    drm/nouveau: resume display if any later suspend bits fail
    drm/nouveau: fix lock unbalance in nouveau_crtc_page_flip
    drm/nouveau: implement hooks for needed for drm vblank timestamping support
    drm/nouveau/disp: add a method to fetch info needed by drm vblank timestamping
    drm/nv50: fill in crtc mode struct members from crtc_mode_fixup
    drm/radeon/dce8: workaround for atom BlankCrtc table
    drm/radeon/DCE4+: clear bios scratch dpms bit (v2)
    drm/radeon: set si_notify_smc_display_change properly
    drm/radeon: fix DAC interrupt handling on DCE5+
    drm/radeon: clean up active vram sizing
    drm/radeon: skip async dma init on r6xx
    drm/radeon/runpm: don't runtime suspend non-PX cards
    drm/radeon: add ring to fence trace functions
    drm/radeon: add missing trace point
    drm/radeon: fix VMID use tracking
    drm: ast,cirrus,mgag200: use drm_can_sleep
    drm/gma500: Lock struct_mutex around cursor updates
    drm/i915: Fix the offset issue for the stolen GEM objects
    DRM: armada: fix missing DRM_KMS_FB_HELPER select
    drm/i915: Decouple GPU error reporting from ring initialisation
    ...

    Linus Torvalds
     
  • Pull slave-dma updates from Vinod Koul:
    - new driver for BCM2835 used in R-pi
    - new driver for MOXA ART
    - dma_get_any_slave_channel API for DT based systems
    - minor fixes and updates spread acrooss driver

    [ The fsl-ssi dual fifo mode support addition clashed badly with the
    other changes to fsl-ssi that came in through the sound merge. I did
    a very rough cut at fixing up the conflict, but Nicolin Chen (author
    of both sides) will need to verify and check things ]

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (36 commits)
    dmaengine: mmp_pdma: fix mismerge
    dma: pl08x: Export pl08x_filter_id
    acpi-dma: align documentation with kernel-doc format
    dma: fix vchan_cookie_complete() debug print
    DMA: dmatest: extend the "device" module parameter to 32 characters
    drivers/dma: fix error return code
    dma: omap: Set debug level to debugging messages
    dmaengine: fix kernel-doc style typos for few comments
    dma: tegra: add support for Tegra148/124
    dma: dw: use %pad instead of casting dma_addr_t
    dma: dw: join split up messages
    dma: dw: fix style of multiline comment
    dmaengine: k3dma: fix sparse warnings
    dma: pl330: Use dma_get_slave_channel() in the of xlate callback
    dma: pl330: Differentiate between submitted and issued descriptors
    dmaengine: sirf: Add device_slave_caps interface
    DMA: Freescale: change BWC from 256 bytes to 1024 bytes
    dmaengine: Add MOXA ART DMA engine driver
    dmaengine: Add DMA_PRIVATE to BCM2835 driver
    dma: imx-sdma: Assign a default script number for ROM firmware cases
    ...

    Linus Torvalds
     
  • Pull watchdog updates from Wim Van Sebroeck:
    - new driver for bcm281xx watchdog device
    - new driver for gpio based watchdog devices
    - remove DEFINE_PCI_DEVICE_TABLE macro for watchdog device drivers
    - conversion of davinci_wdt and mpc8xxx_wdt to watchdog core
    - improvements on davinci_wdt, at91/dt, at91sam9_wdt and s3c2410_wdt
    - Auto-detect IO address and expand supported chips on w836* super-I/O
    chipsets
    - core: Make dt "timeout-sec" property work on drivers w/out min/max
    - fix Kconfig dependencies
    - sirf: Remove redundant of_match_ptr helper
    - mach-moxart: add restart handler
    - hpwdt patch to display better panic information
    - imx2_wdt: disable watchdog timer during low power mode

    * git://www.linux-watchdog.org/linux-watchdog: (31 commits)
    watchdog: w83627hf_wdt: Reset watchdog trigger during initialization
    watchdog: w83627hf: Add support for W83697HF and W83697UG
    watchdog: w83627hf: Auto-detect IO address and supported chips
    watchdog: at91sam9_wdt: increase security margin on watchdog counter reset
    watchdog: at91sam9_wdt: avoid spurious watchdog reset during init
    watchdog: at91sam9_wdt: fix secs_to_ticks
    ARM: at91/dt: add watchdog properties to kizbox board
    ARM: at91/dt: add sam9 watchdog default options to SoCs
    watchdog: at91sam9_wdt: update device tree doc
    watchdog: at91sam9_wdt: better watchdog support
    watchdog: sp805_wdt depends also on ARM64
    watchdog: mach-moxart: add restart handler
    watchdog: mpc8xxx_wdt convert to watchdog core
    watchdog: sirf: Remove redundant of_match_ptr helper
    watchdog: hpwdt patch to display informative string
    watchdog: dw_wdt: remove build dependencies
    watchdog: imx2_wdt: disable watchdog timer during low power mode
    watchdog: s3c2410_wdt: Report when the watchdog reset the system
    watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register
    watchdog: s3c2410_wdt: Handle rounding a little better for timeout
    ...

    Linus Torvalds
     
  • Pull more i2c updates from Wolfram Sang:
    "Mostly bugfixes, small but wanted cleanups, and Paul's init.h removal
    applied"

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: rcar: fix NACK error code
    i2c: update i2c_algorithm documentation
    i2c: rcar: use devm_clk_get to ensure clock is properly ref-counted
    i2c: rcar: do not print error if device nacks transfer
    i2c: rely on driver core when sanitizing devices
    i2c: delete non-required instances of include
    i2c: acorn: is tristate and should use module.h
    i2c: piix4: Standardize log messages
    i2c: piix4: Use different message for AMD Auxiliary SMBus Controller
    i2c: piix4: Add support for AMD ML and CZ SMBus changes

    Linus Torvalds
     
  • Pull hwmon updates from Jean Delvare:
    "This include it87 driver improvements, and a tree-wide change of my
    e-mail address"

    * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    Update Jean Delvare's e-mail address
    hwmon: (it87) Print proper names for the IT8771E and IT8772E
    hwmon: (it87) Add support for the ITE IT8603E

    Linus Torvalds
     
  • Pull networking fixes from David Miller:
    "Several fixups, of note:

    1) Fix unlock of not held spinlock in RXRPC code, from Alexey
    Khoroshilov.

    2) Call pci_disable_device() from the correct shutdown path in bnx2x
    driver, from Yuval Mintz.

    3) Fix qeth build on s390 for some configurations, from Eugene
    Crosser.

    4) Cure locking bugs in bond_loadbalance_arp_mon(), from Ding
    Tianhong.

    5) Must do netif_napi_add() before registering netdevice in sky2
    driver, from Stanislaw Gruszka.

    6) Fix lost bug fix during merge due to code movement in ieee802154,
    noticed and fixed by the eagle eyed Stephen Rothwell.

    7) Get rid of resource leak in xen-netfront driver, from Annie Li.

    8) Bounds checks in qlcnic driver are off by one, from Manish Chopra.

    9) TPROXY can leak sockets when TCP early demux is enabled, fix from
    Holger Eitzenberger"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (32 commits)
    qeth: fix build of s390 allmodconfig
    bonding: fix locking in bond_loadbalance_arp_mon()
    tun: add device name(iff) field to proc fdinfo entry
    DT: net: davinci_emac: "ti, davinci-no-bd-ram" property is actually optional
    DT: net: davinci_emac: "ti, davinci-rmii-en" property is actually optional
    bnx2x: Fix generic option settings
    net: Fix warning on make htmldocs caused by skbuff.c
    llc: remove noisy WARN from llc_mac_hdr_init
    qlcnic: Fix loopback test failure
    qlcnic: Fix tx timeout.
    qlcnic: Fix initialization of vlan list.
    qlcnic: Correct off-by-one errors in bounds checks
    net: Document promote_secondaries
    net: gre: use icmp_hdr() to get inner ip header
    i40e: Add missing braces to i40e_dcb_need_reconfig()
    xen-netfront: fix resource leak in netfront
    net: 6lowpan: fixup for code movement
    hyperv: Add support for physically discontinuous receive buffer
    sky2: initialize napi before registering device
    net: Fix memory leak if TPROXY used with TCP early demux
    ...

    Linus Torvalds
     
  • Signed-off-by: Ard Biesheuvel
    Cc: Greg KH
    Acked-by: Andrzej Pietrasiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ard Biesheuvel
     
  • Prior to commit fe35004fbf9e ("mm: avoid swapping out with
    swappiness==0") setting swappiness to 0, reclaim code could still evict
    recently used user anonymous memory to swap even though there is a
    significant amount of RAM used for page cache.

    The behaviour of setting swappiness to 0 has since changed. When set,
    the reclaim code does not initiate swap until the amount of free pages
    and file-backed pages, is less than the high water mark in a zone.

    Let's update the documentation to reflect this.

    [akpm@linux-foundation.org: remove comma, per Randy]
    Signed-off-by: Aaron Tomlin
    Acked-by: Rik van Riel
    Acked-by: Bryn M. Reeves
    Cc: Satoru Moriya
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Aaron Tomlin
     
  • Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Add support for IT8603E.

    This closes bug #57861:
    https://bugzilla.kernel.org/show_bug.cgi?id=57861

    [JD: Fixes and clean-ups.]

    Signed-off-by: Rudolf Marek
    Signed-off-by: Jean Delvare

    Rudolf Marek
     
  • Conflicts:
    arch/powerpc/kvm/book3s_hv_rmhandlers.S
    arch/powerpc/kvm/booke.c

    Paolo Bonzini
     

29 Jan, 2014

13 commits

  • The "ti,davinci-no-bd-ram" property for the DaVinci EMAC binding simply can't be
    required one, as it's boolean (which means it's absent if false).

    While at it, document the property better...

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: David S. Miller

    Sergei Shtylyov
     
  • Though described as required, the "ti,davinci-rmii-en" property for the DaVinci
    EMAC binding seems actually optional, as the driver should happily work without
    it; the property is not specified either in the example device node or in the
    actual EMAC device node for DA850 device tree, only AM3517 one.

    While at it, document the property better...

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: David S. Miller

    Sergei Shtylyov
     
  • <<
    This contains a fix for a chroma_defconfig build break that was
    introduced by e6500 tablewalk support, and a device tree binding patch
    that missed the previous pull request due to some last-minute polishing.
    >>

    Benjamin Herrenschmidt
     
  • Pull MTD updates from Brian Norris:
    - Add me (Brian Norris) as an additional MTD maintainer (it'd be nice to get
    David's "ack" for this; I'm sure he approves, but he's been pretty silent
    lately)
    - Add Ezequiel Garcie as maintainer for the pxa3xx NAND driver
    - Last (?) round of pxa3xx improvements for supporting Armada 370/XP
    - Typical churn in driver boilerplate (OOM messages, printk()'s, devm_*, etc.)
    - Quad read mode support for SPI NOR driver (m25p80)
    - Update Davinci NAND driver to prepare for use on new platforms
    - Begin to kill off NAND_MAX_{PAGE,OOB}SIZE macros; more work is pending
    - Miscellaneous NAND device support (new IDs)
    - Add READ RETRY support for Micron MLC NAND
    - Support new GPMI NAND ECC layout device-tree binding
    - Avoid mapping stack/vmalloc() memory for GPMI NAND DMA

    * tag 'for-linus-20140127' of git://git.infradead.org/linux-mtd: (151 commits)
    mtd: gpmi: add sanity check when mapping DMA for read_buf/write_buf
    mtd: gpmi: allocate a proper buffer for non ECC read/write
    mtd: m25p80: Set rx_nbits for Quad SPI transfers
    mtd: m25p80: Enable Quad SPI read transfers for s25fl512s
    mtd: s3c2410: Merge plat/regs-nand.h into s3c2410.c
    mtd: mtdram: add missing 'const'
    mtd: m25p80: assign default read command
    mtd: nuc900_nand: remove redundant return value check of platform_get_resource()
    mtd: plat_nand: remove redundant return value check of platform_get_resource()
    mtd: nand: add Intel manufacturer ID
    mtd: nand: add SanDisk manufacturer ID
    mtd: nand: add support for Samsung K9LCG08U0B
    mtd: nand: pxa3xx: Add support for 2048 bytes page size devices
    mtd: m25p80: Use OPCODE_QUAD_READ_4B for 4-byte addressing
    mtd: nand: don't use {read,write}_buf for 8-bit transfers
    mtd: nand: use __packed shorthand
    mtd: nand: support Micron READ RETRY
    mtd: nand: add generic READ RETRY support
    mtd: nand: add ONFI vendor block for Micron
    mtd: nand: localize ECC failures per page
    ...

    Linus Torvalds
     
  • Pull LED subsystem update from Bryan Wu:
    "Basically this cycle is mostly cleanup for LED subsystem"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
    leds: s3c24xx: Remove hardware.h inclusion
    leds: replace list_for_each with list_for_each_entry
    leds: kirkwood: Cleanup in header files
    leds: pwm: Remove a warning on non-DT platforms
    leds: leds-pwm: fix duty time overflow.
    leds: leds-mc13783: Remove unneeded mc13xxx_{un}lock
    leds: leds-mc13783: Remove duplicate field in platform data
    drivers: leds: leds-tca6507: check CONFIG_GPIOLIB whether defined for 'gpio_base'
    leds: lp5523: Support LED MUX configuration on running a pattern
    leds: lp5521/5523: Fix multiple engine usage bug
    LEDS: tca6507 - fix up some comments.
    LEDS: tca6507: add device-tree support for GPIO configuration.
    LEDS: tca6507 - fix bugs in parsing of device-tree configuration.

    Linus Torvalds
     
  • Pull more clock framework changes from Mike Turquette:
    "The second half of the clock framework pull requeust for 3.14 is
    dominated by platform support for Qualcomm's MSM SoCs, DT binding
    updates for TI's OMAP-ish processors and additional support for
    Samsung chips.

    Additionally there are other smaller clock driver changes and several
    last minute fixes. This pull request also includes the HiSilicon
    support that depends on the already-merged arm-soc pull request"

    [ Fix up stupid compile error in the source tree with evil merge - Grumpy Linus ]

    * tag 'clk-for-linus-3.14-part2' of git://git.linaro.org/people/mike.turquette/linux: (49 commits)
    clk: sort Makefile
    clk: sunxi: fix overflow when setting up divided factors
    clk: Export more clk-provider functions
    dt-bindings: qcom: Fix warning with duplicate dt define
    clk: si5351: remove variant from platform_data
    clk: samsung: Remove unneeded semicolon
    clk: qcom: Fix modular build
    ARM: OMAP3: use DT clock init if DT data is available
    ARM: AM33xx: remove old clock data and link in new clock init code
    ARM: AM43xx: Enable clock init
    ARM: OMAP: DRA7: Enable clock init
    ARM: OMAP4: remove old clock data and link in new clock init code
    ARM: OMAP2+: io: use new clock init API
    ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT
    ARM: OMAP3: hwmod: initialize clkdm from clkdm_name
    ARM: OMAP: hwmod: fix an incorrect clk type cast with _get_clkdm
    ARM: OMAP2+: clock: use driver API instead of direct memory read/write
    ARM: OMAP2+: clock: add support for indexed memmaps
    ARM: dts: am43xx clock data
    ARM: dts: AM35xx: use DT clock data
    ...

    Linus Torvalds
     
  • drm/tegra: Changes for v3.14-rc1 (update)

    These patches fix some issues caused by the DRM panel support from the
    previous pull request and add two more panels (for the Toshiba AC100 as
    well as the Seaboard and Ventana).

    * tag 'drm/for-3.14-rc1-20140123' of git://anongit.freedesktop.org/tegra/linux:
    drm/tegra: Obtain head number from DT
    drm/panel: update EDID BLOB in panel_simple_get_modes()
    gpu: host1x: Remove unnecessary include
    drm/tegra: Use proper data type
    drm/tegra: Clarify how panel modes override others
    drm/tegra: Fix possible CRTC mask for RGB outputs
    drm/i915: Use drm_encoder_crtc_ok()
    drm: Move drm_encoder_crtc_ok() to core
    drm: provide a helper for the encoder possible_crtcs mask
    drm/tegra: Don't check resource with devm_ioremap_resource()
    drm/panel: Add support for Chunghwa CLAA101WA01A panel
    drm/panel: Add support for Samsung LTN101NT05 panel

    Dave Airlie
     
  • Add treelog mount option to enable tree log with
    remount option.

    Signed-off-by: Qu Wenruo
    Reviewed-by: David Sterba
    Signed-off-by: Josef Bacik
    Signed-off-by: Chris Mason

    Qu Wenruo
     
  • Add datasum mount option to enable checksum with
    remount option.

    Signed-off-by: Qu Wenruo
    Reviewed-by: David Sterba
    Signed-off-by: Josef Bacik
    Signed-off-by: Chris Mason

    Qu Wenruo
     
  • Add datacow mount option to enable copy-on-write with
    remount option.

    Signed-off-by: Qu Wenruo
    Reviewed-by: David Sterba
    Signed-off-by: Josef Bacik
    Signed-off-by: Chris Mason

    Qu Wenruo
     
  • Add acl mount option to enable acl with remount option.

    Signed-off-by: Qu Wenruo
    Reviewed-by: David Sterba
    Signed-off-by: Josef Bacik
    Signed-off-by: Chris Mason

    Qu Wenruo
     
  • Add noflushoncommit mount option to disable flush on commit with
    remount option.

    Signed-off-by: Qu Wenruo
    Reviewed-by: David Sterba
    Signed-off-by: Josef Bacik
    Signed-off-by: Chris Mason

    Qu Wenruo
     
  • Add noenospc_debug mount option to disable ENOSPC debug with
    remount option.

    Signed-off-by: Qu Wenruo
    Reviewed-by: David Sterba
    Signed-off-by: Josef Bacik
    Signed-off-by: Chris Mason

    Qu Wenruo