1. 12 Sep, 2013 12 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · b7c09ad4
      Linus Torvalds authored
      Pull btrfs updates from Chris Mason:
       "This is against 3.11-rc7, but was pulled and tested against your tree
        as of yesterday.  We do have two small incrementals queued up, but I
        wanted to get this bunch out the door before I hop on an airplane.
      
        This is a fairly large batch of fixes, performance improvements, and
        cleanups from the usual Btrfs suspects.
      
        We've included Stefan Behren's work to index subvolume UUIDs, which is
        targeted at speeding up send/receive with many subvolumes or snapshots
        in place.  It closes a long standing performance issue that was built
        in to the disk format.
      
        Mark Fasheh's offline dedup work is also here.  In this case offline
        means the FS is mounted and active, but the dedup work is not done
        inline during file IO.  This is a building block where utilities are
        able to ask the FS to dedup a series of extents.  The kernel takes
        care of verifying the data involved really is the same.  Today this
        involves reading both extents, but we'll continue to evolve the
        patches"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (118 commits)
        Btrfs: optimize key searches in btrfs_search_slot
        Btrfs: don't use an async starter for most of our workers
        Btrfs: only update disk_i_size as we remove extents
        Btrfs: fix deadlock in uuid scan kthread
        Btrfs: stop refusing the relocation of chunk 0
        Btrfs: fix memory leak of uuid_root in free_fs_info
        btrfs: reuse kbasename helper
        btrfs: return btrfs error code for dev excl ops err
        Btrfs: allow partial ordered extent completion
        Btrfs: convert all bug_ons in free-space-cache.c
        Btrfs: add support for asserts
        Btrfs: adjust the fs_devices->missing count on unmount
        Btrf: cleanup: don't check for root_refs == 0 twice
        Btrfs: fix for patch "cleanup: don't check the same thing twice"
        Btrfs: get rid of one BUG() in write_all_supers()
        Btrfs: allocate prelim_ref with a slab allocater
        Btrfs: pass gfp_t to __add_prelim_ref() to avoid always using GFP_ATOMIC
        Btrfs: fix race conditions in BTRFS_IOC_FS_INFO ioctl
        Btrfs: fix race between removing a dev and writing sbs
        Btrfs: remove ourselves from the cluster list under lock
        ...
      b7c09ad4
    • Waiman Long's avatar
      dcache: get/release read lock in read_seqbegin_or_lock() & friend · 18129977
      Waiman Long authored
      This patch modifies read_seqbegin_or_lock() and need_seqretry() to use
      newly introduced read_seqlock_excl() and read_sequnlock_excl()
      primitives so that they won't change the sequence number even if they
      fall back to take the lock.  This is OK as no change to the protected
      data structure is being made.
      
      It will prevent one fallback to lock taking from cascading into a series
      of lock taking reducing performance because of the sequence number
      change.  It will also allow other sequence readers to go forward while
      an exclusive reader lock is taken.
      
      This patch also updates some of the inaccurate comments in the code.
      Signed-off-by: default avatarWaiman Long <Waiman.Long@hp.com>
      To: Alexander Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      18129977
    • Waiman Long's avatar
      seqlock: Add a new locking reader type · 1370e97b
      Waiman Long authored
      The sequence lock (seqlock) was originally designed for the cases where
      the readers do not need to block the writers by making the readers retry
      the read operation when the data change.
      
      Since then, the use cases have been expanded to include situations where
      a thread does not need to change the data (effectively a reader) at all
      but have to take the writer lock because it can't tolerate changes to
      the protected structure.  Some examples are the d_path() function and
      the getcwd() syscall in fs/dcache.c where the functions take the writer
      lock on rename_lock even though they don't need to change anything in
      the protected data structure at all.  This is inefficient as a reader is
      now blocking other sequence number reading readers from moving forward
      by pretending to be a writer.
      
      This patch tries to eliminate this inefficiency by introducing a new
      type of locking reader to the seqlock locking mechanism.  This new
      locking reader will try to take an exclusive lock preventing other
      writers and locking readers from going forward.  However, it won't
      affect the progress of the other sequence number reading readers as the
      sequence number won't be changed.
      Signed-off-by: default avatarWaiman Long <Waiman.Long@hp.com>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1370e97b
    • Linus Torvalds's avatar
      Merge tag 'sound-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · decf7abc
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A few last-minute fixes for 3.12-rc1.  All patches are driver
        specific.
      
         - HD-audio fixes: MacBook 6,1/6,2 speaker fix, ASUS TX300 dock
           speaker fix, Toshiba Satellite irq fix, Haswell HDMI audio
           cleanups)
      
         - ASoC fixes: atmel irq fix, fsl DT fix, mc13783 spi fix, kirkwood
           compatible string change, etc"
      
      * tag 'sound-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ASoC: mc13783: add spi errata fix
        ASoC: rsnd: fixup flag name of rsnd_scu_platform_info
        ALSA: hda - Add CS4208 codec support for MacBook 6,1 and 6,2
        ALSA: hda - Add Toshiba Satellite C870 to MSI blacklist
        ASoC: fsl_spdif: Select regmap-mmio
        ALSA: hda - unmute pin amplifier in infoframe setup for Haswell
        ALSA: hda - define is_haswell() to check if a display audio codec is Haswell
        ALSA: hda - Add dock speaker support for ASUS TX300
        ASoC: kirkwood: change the compatible string of the kirkwood-i2s driver
        ASoC: atmel: disable error interrupt
        ASoC: fsl: imx-audmux: Do not call imx_audmux_parse_dt_defaults() on non-dt kernel
      decf7abc
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · 24ba4058
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
       - New watchdog driver for Allwinner A10/A13
       - some devm_ioremap_resource simplifications
       - a s3c2410_wdt change that removes the global variables
      
      * git://www.linux-watchdog.org/linux-watchdog:
        watchdog: s3c2410_wdt: simplify use of devm_ioremap_resource
        watchdog: simplify platform_get_resource_byname/devm_ioremap_resource
        watchdog: ts72xx_wdt: simplify use of devm_ioremap_resource
        watchdog: nuc900_wdt.c: simplify use of devm_ioremap_resource
        watchdog: sunxi: New watchdog driver for Allwinner A10/A13
        watchdog: s3c2410_wdt: remove the global variables
      24ba4058
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux · b9b42eeb
      Linus Torvalds authored
      Pull thermal management updates from Zhang Rui:
       "We have a lot of SOC changes and a few thermal core fixes this time.
      
        The biggest change is about exynos thermal driver restructure.  The
        patch set adds TMU (Thermal management Unit) driver support for
        exynos5440 platform.  There are 3 instances of the TMU controllers so
        necessary cleanup/re-structure is done to handle multiple thermal
        zone.
      
        The next biggest change is the introduction of the imx thermal driver.
        It adds the imx thermal support using Temperature Monitor (TEMPMON)
        block found on some Freescale i.MX SoCs.  The driver uses syscon
        regmap interface to access TEMPMON control registers and calibration
        data, and supports cpufreq as the cooling device.
      
        Highlights:
      
         - restructure exynos thermal driver.
      
         - introduce new imx thermal driver.
      
         - fix a bug in thermal core, which powers on the fans unexpectedly
           after resume from suspend"
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (46 commits)
        drivers: thermal: add check when unregistering cpu cooling
        thermal: thermal_core: allow binding with limits on bind_params
        drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional
        drivers: thermal: parent virtual hwmon with thermal zone
        thermal: hwmon: move hwmon support to single file
        thermal: exynos: Clean up non-DT remnants
        thermal: exynos: Fix potential NULL pointer dereference
        thermal: exynos: Fix typos in Kconfig
        thermal: ti-soc-thermal: Ensure to compute thermal trend
        thermal: ti-soc-thermal: Set the bandgap mask counter delay value
        thermal: ti-soc-thermal: Initialize counter_delay field for TI DRA752 sensors
        thermal: step_wise: return instance->target by default
        thermal: step_wise: cdev only needs update on a new target state
        Thermal/cpu_cooling: Return directly for the cpu out of allowed_cpus in the cpufreq_thermal_notifier()
        thermal: exynos_tmu: fix wrong error check for mapped memory
        thermal: imx: implement thermal alarm interrupt handling
        thermal: imx: dynamic passive and SoC specific critical trip points
        Documentation: thermal: Explain the exynos thermal driver model
        ARM: dts: thermal: exynos: Add documentation for Exynos SoC thermal bindings
        thermal: exynos: Support for TMU regulator defined at device tree
        ...
      b9b42eeb
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 · 7b7a2f0a
      Linus Torvalds authored
      Pull CIFS fixes from Steve French:
       "CIFS update including case insensitive file name matching improvements
        for UTF-8 to Unicode, various small cifs fixes, SMB2/SMB3 leasing
        improvements, support for following SMB2 symlinks, SMB3 packet signing
        improvements"
      
      * 'for-next' of git://git.samba.org/sfrench/cifs-2.6: (25 commits)
        CIFS: Respect epoch value from create lease context v2
        CIFS: Add create lease v2 context for SMB3
        CIFS: Move parsing lease buffer to ops struct
        CIFS: Move creating lease buffer to ops struct
        CIFS: Store lease state itself rather than a mapped oplock value
        CIFS: Replace clientCanCache* bools with an integer
        [CIFS] quiet sparse compile warning
        cifs: Start using per session key for smb2/3 for signature generation
        cifs: Add a variable specific to NTLMSSP for key exchange.
        cifs: Process post session setup code in respective dialect functions.
        CIFS: convert to use le32_add_cpu()
        CIFS: Fix missing lease break
        CIFS: Fix a memory leak when a lease break comes
        cifs: add winucase_convert.pl to Documentation/ directory
        cifs: convert case-insensitive dentry ops to use new case conversion routines
        cifs: add new case-insensitive conversion routines that are based on wchar_t's
        [CIFS] Add Scott to list of cifs contributors
        cifs: Move and expand MAX_SERVER_SIZE definition
        cifs: Expand max share name length to 256
        cifs: Move string length definitions to uapi
        ...
      7b7a2f0a
    • Noam Camus's avatar
      ARC: SMP failed to boot due to missing IVT setup · c3567f8a
      Noam Camus authored
      Commit 05b016ec "ARC: Setup Vector Table Base in early boot" moved
      the Interrupt vector Table setup out of arc_init_IRQ() which is called
      for all CPUs, to entry point of boot cpu only, breaking booting of others.
      
      Fix by adding the same to entry point of non-boot CPUs too.
      
      read_arc_build_cfg_regs() printing IVT Base Register didn't help the
      casue since it prints a synthetic value if zero which is totally bogus,
      so fix that to print the exact Register.
      
      [vgupta: Remove the now stale comment from header of arc_init_IRQ and
      also added the commentary for halt-on-reset]
      
      Cc: Gilad Ben-Yossef <gilad@benyossef.com>
      Cc: Cc: <stable@vger.kernel.org> #3.11
      Signed-off-by: default avatarNoam Camus <noamc@ezchip.com>
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c3567f8a
    • Linus Torvalds's avatar
      Bye, bye, WfW flag · d5d04bb4
      Linus Torvalds authored
      This reverts the Linux for Workgroups thing.  And no, before somebody
      asks, we're not doing Linux95.  Not for a few years, at least.
      
      Sure, the flag added some color to the logo, and could have remained as
      a testament to my leet gimp skills.  But no.  And I'll do this early, to
      avoid the chance of forgetting when I'm doing the actual rc1 release on
      the road.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d5d04bb4
    • Linus Torvalds's avatar
      Merge tag 'ecryptfs-3.12-rc1-crypt-ctx' of... · 1ae276a9
      Linus Torvalds authored
      Merge tag 'ecryptfs-3.12-rc1-crypt-ctx' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs
      
      Pull eCryptfs fixes from Tyler Hicks:
       "Two small fixes to the code that initializes the per-file crypto
        contexts"
      
      * tag 'ecryptfs-3.12-rc1-crypt-ctx' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs:
        ecryptfs: avoid ctx initialization race
        ecryptfs: remove check for if an array is NULL
      1ae276a9
    • Linus Torvalds's avatar
      Merge branch 'for-v3.12-fix' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping · 3b38f56c
      Linus Torvalds authored
      Pull DMA-mapping fix from Marek Szyprowski:
       "A build bugfix for the device tree support for reserved memory
        regions.  Due to superfluous include the common code failed to build
        on ARM64 and MIPS architectures.
      
        The patch that caused the build break has lived at linux-next for
        about two weeks and noone noticed the issue, what convinced me that
        everything was ok"
      
      * 'for-v3.12-fix' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
        drivers: of: fix build break if asm/dma-contiguous.h is missing
      3b38f56c
    • Linus Torvalds's avatar
      Merge tag 'for-3.12' of git://git.linaro.org/people/sumitsemwal/linux-dma-buf · b3b75684
      Linus Torvalds authored
      Pull dma-buf updates from Sumit Semwal:
       "Yet another small one - dma-buf framework now supports size discovery
        of the buffer via llseek"
      
      * tag 'for-3.12' of git://git.linaro.org/people/sumitsemwal/linux-dma-buf:
        dma-buf: Expose buffer size to userspace (v2)
        dma-buf: Check return value of anon_inode_getfile
      b3b75684
  2. 11 Sep, 2013 28 commits