1. 04 May, 2013 21 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · bd932ae1
      Linus Torvalds authored
      Pull second round of VFS updates from Al Viro:
       "Assorted fixes"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"
        hostfs: use kmalloc instead of kzalloc
        hostfs: move HOSTFS_SUPER_MAGIC to <linux/magic.h>
        hostfs: remove "will unlock" comment
        vfs: use list_move instead of list_del/list_add
        proc_devtree: Replace include linux/module.h with linux/export.h
        create_mnt_ns: unidiomatic use of list_add()
        fs: remove dentry_lru_prune()
        Removed unused typedef to avoid "unused local typedef" warnings.
        kill fs/read_write.h
        fs: Fix hang with BSD accounting on frozen filesystem
        sun3_scsi: add ->show_info()
        nubus: Kill nubus_proc_detach_device()
        more mode_t whack-a-mole...
        do_coredump(): don't wait for thaw if coredump has already been interrupted
        do_mount(): fix a leak introduced in 3.9 ("mount: consolidate permission checks")
      bd932ae1
    • Al Viro's avatar
    • James Hogan's avatar
      hostfs: use kmalloc instead of kzalloc · 371fdab1
      James Hogan authored
      The inode info structure is zeroed at allocation with kzalloc, and then
      all but one of the fields (including the largest, vfs_inode) are
      initialised explicitly. Switch to using kmalloc and initialise the
      remaining field too.
      Reported-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      371fdab1
    • James Hogan's avatar
      hostfs: move HOSTFS_SUPER_MAGIC to <linux/magic.h> · 2b3b9bb0
      James Hogan authored
      Move HOSTFS_SUPER_MAGIC to <linux/magic.h> to be with it's magical
      friends from other file systems.
      Reported-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      2b3b9bb0
    • James Hogan's avatar
      hostfs: remove "will unlock" comment · 9dcc5e8a
      James Hogan authored
      A "will unlock" comment was added to hostfs in the following commit,
      along with a spinlock:
      
      Commit e9193059 ("hostfs: fix races in
      dentry_name() and inode_name()").
      
      But the spinlock was subsequently removed in the following commit:
      
      Commit ec2447c2 ("hostfs: simplify
      locking").
      
      Since the comment is no longer applicable, remove it.
      Reported-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Cc: Nick Piggin <npiggin@kernel.dk>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      9dcc5e8a
    • Wei Yongjun's avatar
      vfs: use list_move instead of list_del/list_add · 9ed53b12
      Wei Yongjun authored
      Using list_move() instead of list_del() + list_add().
      Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      9ed53b12
    • Linus Torvalds's avatar
      Merge tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 150a8dcf
      Linus Torvalds authored
      Pull ARM SoC board specific changes (part 1) from Olof Johansson:
       "These changes are all for board specific files.  These used to make up
        a large portion of the ARM changes in the past, but as we are
        generalizing the support and moving to device tree probing, this has
        gotten significantly smaller.
      
        The only platform actually adding new code here at the moment is
        Renesas shmobile, as they are still busy converting their code to
        device tree and have not come far enough to not need it."
      
      * tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (43 commits)
        ARM: msm: USB_MSM_OTG needs USB_PHY
        ARM: davinci: da850 evm: fix const qualifier placement
        ARM: davinci: da850 board: add remoteproc support
        ARM: pxa: move debug uart code
        ARM: pxa: select PXA935 on saar & tavorevb
        ARM: mmp: add more compatible names in gpio driver
        ARM: pxa: move PXA_GPIO_TO_IRQ macro
        ARM: pxa: remove cpu_is_xxx in gpio driver
        ARM: Kirkwood: update Network Space Mini v2 description
        ARM: Kirkwood: DT board setup for CloudBox
        ARM: Kirkwood: sort board entries by ASCII-code order
        ARM: OMAP: board-4430sdp: Provide regulator to pwm-backlight
        ARM: OMAP: zoom: Use pwm stack for lcd and keyboard backlight
        ARM: OMAP2+: omap2plus_defconfig: Add support for BMP085 pressure sensor
        omap2+: Remove useless Makefile line
        omap2+: Remove useless Makefile line
        ARM: OMAP: RX-51: add missing regulator supply definitions for lis3lv02d
        ARM: OMAP1: fix omap_udc registration
        ARM: davinci: use is IS_ENABLED macro
        ARM: kirkwood: add MACH_GURUPLUG_DT to defconfig
        ...
      150a8dcf
    • Linus Torvalds's avatar
      Merge tag 'firmware-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · e3d98847
      Linus Torvalds authored
      Pull ARM platform specific firmware interfaces from Olof Johansson:
       "Two platforms, bcm and exynos have their own firmware interfaces using
        the "secure monitor call", this adds support for those.
      
        We had originally planned to have a third set of patches in here,
        which would extend support for the existing generic "psci" call that
        is used on multiple platforms as well as Xen and KVM guests, but that
        ended up getting dropped because the patches were not ready in time."
      
      * tag 'firmware-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: bcm: mark bcm_kona_smc_init as __init
        ARM: bcm281xx: Add DT support for SMC handler
        ARM: bcm281xx: Add L2 cache enable code
        ARM: EXYNOS: Add secure firmware support to secondary CPU bring-up
        ARM: EXYNOS: Add IO mapping for non-secure SYSRAM.
        ARM: EXYNOS: Add support for Exynos secure firmware
        ARM: EXYNOS: Add support for secure monitor calls
        ARM: Add interface for registering and calling firmware-specific operations
      e3d98847
    • Linus Torvalds's avatar
      Merge tag 'renesas-pinctrl-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 22b15436
      Linus Torvalds authored
      Pull ARM SoC pinctrl changes for Renesas from Olof Johansson:
       "This is yet another driver change, which is split out just because of
        its size.  As already in 3.9, a lot of changes are going on here, as
        the shmobile platform gets converted from its own pin control API to
        the generic drivers/pinctrl subsystem.
      
        Based on agreements with Paul Mundt, we are merging the sh-arch-side
        changes here as well"
      
      * tag 'renesas-pinctrl-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (142 commits)
        ARM: shmobile: r8a7779: Remove INTC function GPIOs
        ARM: shmobile: r8a7779: Remove LBSC function GPIOs
        ARM: shmobile: r8a7779: Remove USB function GPIOs
        ARM: shmobile: r8a7779: Remove HSPI function GPIOs
        ARM: shmobile: r8a7779: Remove SCIF function GPIOs
        ARM: shmobile: r8a7779: Remove SDHI and MMCIF function GPIOs
        ARM: shmobile: r8a7779: Remove DU function GPIOs
        ARM: shmobile: r8a7779: Remove DU1_DOTCLKOUT1 GPIO
        ARM: shmobile: r8a7740: Remove SDHI and MMCIF function GPIOs
        ARM: shmobile: r8a7740: Remove LCD0 and LCD1 function GPIOs
        ARM: shmobile: sh73a0: Remove IrDA function GPIOs
        ARM: shmobile: sh73a0: Remove USB function GPIOs
        ARM: shmobile: sh73a0: Remove BSC function GPIOs
        ARM: shmobile: sh73a0: Remove KEYSC function GPIOs
        ARM: shmobile: sh73a0: Remove pull-up function GPIOS
        ARM: shmobile: sh73a0: Remove FSI function GPIOs
        ARM: shmobile: sh73a0: Remove I2C function GPIOs
        ARM: shmobile: sh73a0: Remove SCIFA and SCIFB function GPIOs
        ARM: shmobile: sh73a0: Remove LCDC and LCDC2 function GPIOs
        ARM: shmobile: sh7372: Remove SDHI and MMCIF function GPIOs
        ...
      22b15436
    • Linus Torvalds's avatar
      Merge tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 6fa52ed3
      Linus Torvalds authored
      Pull ARM SoC driver changes from Olof Johansson:
       "This is a rather large set of patches for device drivers that for one
        reason or another the subsystem maintainer preferred to get merged
        through the arm-soc tree.  There are both new drivers as well as
        existing drivers that are getting converted from platform-specific
        code into standalone drivers using the appropriate subsystem specific
        interfaces.
      
        In particular, we can now have pinctrl, clk, clksource and irqchip
        drivers in one file per driver, without the need to call into platform
        specific interface, or to get called from platform specific code, as
        long as all information about the hardware is provided through a
        device tree.
      
        Most of the drivers we touch this time are for clocksource.  Since now
        most of them are part of drivers/clocksource, I expect that we won't
        have to touch these again from arm-soc and can let the clocksource
        maintainers take care of these in the future.
      
        Another larger part of this series is specific to the exynos platform,
        which is seeing some significant effort in upstreaming and
        modernization of its device drivers this time around, which
        unfortunately is also the cause for the churn and a lot of the merge
        conflicts.
      
        There is one new subsystem that gets merged as part of this series:
        the reset controller interface, which is a very simple interface for
        taking devices on the SoC out of reset or back into reset.  Patches to
        use this interface on i.MX follow later in this merge window, and we
        are going to have other platforms (at least tegra and sirf) get
        converted in 3.11.  This will let us get rid of platform specific
        callbacks in a number of platform independent device drivers."
      
      * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (256 commits)
        irqchip: s3c24xx: add missing __init annotations
        ARM: dts: Disable the RTC by default on exynos5
        clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3}
        ARM: exynos: restore mach/regs-clock.h for exynos5
        clocksource: exynos_mct: fix build error on non-DT
        pinctrl: vt8500: wmt: Fix checking return value of pinctrl_register()
        irqchip: vt8500: Convert arch-vt8500 to new irqchip infrastructure
        reset: NULL deref on allocation failure
        reset: Add reset controller API
        dt: describe base reset signal binding
        ARM: EXYNOS: Add arm-pmu DT binding for exynos421x
        ARM: EXYNOS: Add arm-pmu DT binding for exynos5250
        ARM: EXYNOS: Enable PMUs for exynos4
        irqchip: exynos-combiner: Correct combined IRQs for exynos4
        irqchip: exynos-combiner: Add set_irq_affinity function for combiner_irq
        ARM: EXYNOS: fix compilation error introduced due to common clock migration
        clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3}
        clk: exynos4: export clocks required for fimc-is
        clk: samsung: Fix compilation error
        clk: tegra: fix enum tegra114_clk to match binding
        ...
      6fa52ed3
    • Syam Sidhardhan's avatar
      proc_devtree: Replace include linux/module.h with linux/export.h · 75fc0cf6
      Syam Sidhardhan authored
      Since it uses only THIS_MODULE macro, include <linux/export.h>
      is the right to go here.
      Signed-off-by: default avatarSyam Sidhardhan <s.syam@samsung.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      75fc0cf6
    • Al Viro's avatar
      create_mnt_ns: unidiomatic use of list_add() · b1983cd8
      Al Viro authored
      while list_add(A, B) and list_add(B, A) are equivalent when both A and B
      are guaranteed to be empty, the usual idiom is list_add(what, where),
      not the other way round...  Not a bug per se, but only by accident and
      it makes RTFS harder for no good reason.
      Spotted-by: default avatarRajat Sharma <fs.rajat@gmail.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      b1983cd8
    • Yan, Zheng's avatar
      fs: remove dentry_lru_prune() · 61572bb1
      Yan, Zheng authored
      When pruning a dentry, its ancestor dentry can also be pruned. But
      the ancestor dentry does not go through dput(), so it does not get
      put on the dentry LRU. Hence associating d_prune with removing the
      dentry from the LRU is the wrong.
      
      The fix is remove dentry_lru_prune(). Call file system's d_prune()
      callback directly when pruning dentries.
      Signed-off-by: default avatarYan, Zheng <zheng.z.yan@intel.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      61572bb1
    • Han Shen's avatar
      Removed unused typedef to avoid "unused local typedef" warnings. · 6b13eb1b
      Han Shen authored
      Fix warnings about unused local typedefs (reported by gcc 4.8).
      
      Signed-off-by: Han Shen  (shenhan@google.com)
      
      Change-Id: I4bccc234f1390daa808d2b309ed112e20c0ac096
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      6b13eb1b
    • Al Viro's avatar
      kill fs/read_write.h · c0bd14af
      Al Viro authored
      fs/compat.c doesn't need it anymore, so let's just move the remaining
      contents (two typedefs) into fs/read_write.c
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      c0bd14af
    • Jan Kara's avatar
      fs: Fix hang with BSD accounting on frozen filesystem · 5ae98f15
      Jan Kara authored
      When BSD process accounting is enabled and logs information to a
      filesystem which gets frozen, system easily becomes unusable because
      each attempt to account process information blocks. Thus e.g. every task
      gets blocked in exit.
      
      It seems better to drop accounting information (which can already happen
      when filesystem is running out of space) instead of locking system up.
      So we just skip the write if the filesystem is frozen.
      Reported-by: default avatarNikola Ciprich <nikola.ciprich@linuxbox.cz>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      5ae98f15
    • Geert Uytterhoeven's avatar
      sun3_scsi: add ->show_info() · 9dcc26cf
      Geert Uytterhoeven authored
      Based on Al's changes to atari_scsi.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      9dcc26cf
    • Geert Uytterhoeven's avatar
      nubus: Kill nubus_proc_detach_device() · e765acb4
      Geert Uytterhoeven authored
      Commit 59d8053f ("proc: Move non-public
      stuff from linux/proc_fs.h to fs/proc/internal.h") broke Apple NuBus
      support:
      
      drivers/nubus/proc.c: In function ‘nubus_proc_detach_device’:
      drivers/nubus/proc.c:156: error: dereferencing pointer to incomplete type
      drivers/nubus/proc.c:158: error: dereferencing pointer to incomplete type
      
      Fortunately nubus_proc_detach_device() is unused, and appears to have never
      been used, so just remove it.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      e765acb4
    • Al Viro's avatar
      more mode_t whack-a-mole... · 60b7bf4e
      Al Viro authored
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      60b7bf4e
    • Al Viro's avatar
    • Al Viro's avatar
      0d5cadb8
  2. 03 May, 2013 13 commits
    • Linus Torvalds's avatar
      Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux · 1db77221
      Linus Torvalds authored
      Pull nfsd changes from J Bruce Fields:
       "Highlights include:
      
         - Some more DRC cleanup and performance work from Jeff Layton
      
         - A gss-proxy upcall from Simo Sorce: currently krb5 mounts to the
           server using credentials from Active Directory often fail due to
           limitations of the svcgssd upcall interface.  This replacement
           lifts those limitations.  The existing upcall is still supported
           for backwards compatibility.
      
         - More NFSv4.1 support: at this point, if a user with a current
           client who upgrades from 4.0 to 4.1 should see no regressions.  In
           theory we do everything a 4.1 server is required to do.  Patches
           for a couple minor exceptions are ready for 3.11, and with those
           and some more testing I'd like to turn 4.1 on by default in 3.11."
      
      Fix up semantic conflict as per Stephen Rothwell and linux-next:
      
      Commit 030d794b ("SUNRPC: Use gssproxy upcall for server RPCGSS
      authentication") adds two new users of "PDE(inode)->data", but we're
      supposed to use "PDE_DATA(inode)" instead since commit d9dda78b
      ("procfs: new helper - PDE_DATA(inode)").
      
      The old PDE() macro is no longer available since commit c30480b9
      ("proc: Make the PROC_I() and PDE() macros internal to procfs")
      
      * 'for-3.10' of git://linux-nfs.org/~bfields/linux: (60 commits)
        NFSD: SECINFO doesn't handle unsupported pseudoflavors correctly
        NFSD: Simplify GSS flavor encoding in nfsd4_do_encode_secinfo()
        nfsd: make symbol nfsd_reply_cache_shrinker static
        svcauth_gss: fix error return code in rsc_parse()
        nfsd4: don't remap EISDIR errors in rename
        svcrpc: fix gss-proxy to respect user namespaces
        SUNRPC: gssp_procedures[] can be static
        SUNRPC: define {create,destroy}_use_gss_proxy_proc_entry in !PROC case
        nfsd4: better error return to indicate SSV non-support
        nfsd: fix EXDEV checking in rename
        SUNRPC: Use gssproxy upcall for server RPCGSS authentication.
        SUNRPC: Add RPC based upcall mechanism for RPCGSS auth
        SUNRPC: conditionally return endtime from import_sec_context
        SUNRPC: allow disabling idle timeout
        SUNRPC: attempt AF_LOCAL connect on setup
        nfsd: Decode and send 64bit time values
        nfsd4: put_client_renew_locked can be static
        nfsd4: remove unused macro
        nfsd4: remove some useless code
        nfsd4: implement SEQ4_STATUS_RECALLABLE_STATE_REVOKED
        ...
      1db77221
    • Linus Torvalds's avatar
      Merge tag 'jfs-3.10' of git://github.com/kleikamp/linux-shaggy · 86652188
      Linus Torvalds authored
      Pull jfs fixes from David Kleikamp:
       "A couple fixes for jfs"
      
      (What's with the unhelpful pull request "explanations" from fs people
      today?)
      
      * tag 'jfs-3.10' of git://github.com/kleikamp/linux-shaggy:
        jfs: fix a couple races
        jfs: avoid undefined behavior from left-shifting by 32 bits
      86652188
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 14a9e5c0
      Linus Torvalds authored
      Pull ext3/jbd fixes from Jan Kara:
       "A couple of ext3/jbd fixes"
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        jbd: use kmem_cache_zalloc for allocating journal head
        jbd: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
        jbd: don't wait (forever) for stale tid caused by wraparound
        ext3: fix data=journal fast mount/umount hang
      14a9e5c0
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm · 8546dc1d
      Linus Torvalds authored
      Pull ARM updates from Russell King:
       "The major items included in here are:
      
         - MCPM, multi-cluster power management, part of the infrastructure
           required for ARMs big.LITTLE support.
      
         - A rework of the ARM KVM code to allow re-use by ARM64.
      
         - Error handling cleanups of the IS_ERR_OR_NULL() madness and fixes
           of that stuff for arch/arm
      
         - Preparatory patches for Cortex-M3 support from Uwe Kleine-König.
      
        There is also a set of three patches in here from Hugh/Catalin to
        address freeing of inappropriate page tables on LPAE.  You already
        have these from akpm, but they were already part of my tree at the
        time he sent them, so unfortunately they'll end up with duplicate
        commits"
      
      * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (77 commits)
        ARM: EXYNOS: remove unnecessary use of IS_ERR_VALUE()
        ARM: IMX: remove unnecessary use of IS_ERR_VALUE()
        ARM: OMAP: use consistent error checking
        ARM: cleanup: OMAP hwmod error checking
        ARM: 7709/1: mcpm: Add explicit AFLAGS to support v6/v7 multiplatform kernels
        ARM: 7700/2: Make cpu_init() notrace
        ARM: 7702/1: Set the page table freeing ceiling to TASK_SIZE
        ARM: 7701/1: mm: Allow arch code to control the user page table ceiling
        ARM: 7703/1: Disable preemption in broadcast_tlb*_a15_erratum()
        ARM: mcpm: provide an interface to set the SMP ops at run time
        ARM: mcpm: generic SMP secondary bringup and hotplug support
        ARM: mcpm_head.S: vlock-based first man election
        ARM: mcpm: Add baremetal voting mutexes
        ARM: mcpm: introduce helpers for platform coherency exit/setup
        ARM: mcpm: introduce the CPU/cluster power API
        ARM: multi-cluster PM: secondary kernel entry code
        ARM: cacheflush: add synchronization helpers for mixed cache state accesses
        ARM: cpu hotplug: remove majority of cache flushing from platforms
        ARM: smp: flush L1 cache in cpu_die()
        ARM: tegra: remove tegra specific cpu_disable()
        ...
      8546dc1d
    • Linus Torvalds's avatar
      Merge tag 'sound-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 9992ba72
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "Mostly many small changes spread as seen in diffstat in sound/*
        directory by this update.  A significant change in the subsystem level
        is the introduction of snd_soc_component, which will help more generic
        handling of SoC and off-SoC components.
      
        Also, snd_BUG_ON() macro is enabled unconditionally now due to its
        misuses, so people might hit kernel warnings (it's a good thing for
        us).
      
         - compress-offload: support for capture by Charles Keepax
         - HD-audio: codec delay support by Dylan Reid
         - HD-audio: improvements/fixes in generic parser: better headphone
           mic and headset mic support, jack_modes hint consolidation, proper
           beep attach/detachment, generalized power filter controls by David
           Henningsson, et al
         - HD-audio: Improved management of HDMI codec pins/converters
         - HD-audio: Better pin/DAC assignment for VIA codecs
         - HD-audio: Haswell HDMI workarounds
         - HD-audio: ALC268 codec support, a few new quirks for Chromebooks
         - USB: regression fixes: USB-MIDI autopm fix, the recent ISO latency
           fix by Clemens Ladisch
         - USB: support for DSD formats by Daniel Mack
         - USB: A few UAC2 device endian/cock fixes by Eldad Zack
         - USB: quirks for Emu 192kHz support, Novation Twitch DJ controller,
           Yamaha THRxx devices
         - HDSPM: updates for TCO controls by Adrian Knoth
         - ASoC: Add a snd_soc_component object type for generic handling of
           SoC and off-SoC components by Kuninori Morimoto,
         - dmaengine: a large set of cleanups and conversions by Lars-Peter
           Clausen
         - ASoC DAPM: performance optimizations from Ryo Tsutsui
         - ASoC DAPM: support for mixer control sharing by Stephen Warren
         - ASoC: multiplatform ARM cleanups from Arnd Bergmann
         - ASoC: new codec drivers for AK5385 and TAS5086 from Daniel Mack"
      
      * tag 'sound-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (315 commits)
        ALSA: usb-audio: caiaq: fix endianness bug in snd_usb_caiaq_maschine_dispatch
        ALSA: asihpi: add format support check in snd_card_asihpi_capture_formats
        ALSA: pcm_format_to_bits strong-typed conversion
        ALSA: compress: fix the states to check for allowing read
        ALSA: hda - Move Thinkpad X220 to use auto parser
        ALSA: USB: adjust for changed 3.8 USB API
        ALSA: usb - Avoid unnecessary sample rate changes on USB 2.0 clock sources
        sound: oss/dmabuf: use dma_map_single
        ALSA: ali5451: use mdelay instead of large udelay constants
        ALSA: hda - Add the support for ALC286 codec
        ALSA: usb-audio: USB quirk for Yamaha THR10C
        ALSA: usb-audio: USB quirk for Yamaha THR5A
        ALSA: usb-audio: USB quirk for Yamaha THR10
        ALSA: usb-audio: Fix autopm error during probing
        ALSA: snd-usb: try harder to find USB_DT_CS_ENDPOINT
        ALSA: sound kconfig typo
        ALSA: emu10k1: Fix dock firmware loading
        ASoC: ux500: forward declare msp_i2s_platform_data
        ASoC: davinci-mcasp: Add Support BCLK-to-LRCLK ratio for TDM modes
        ASoC: davinci-pcm, davinci-mcasp: Clean up active_serializers
        ...
      9992ba72
    • Linus Torvalds's avatar
      Merge tag 'for-v3.10' of git://git.infradead.org/users/cbou/linux-pstore · 00fdffb5
      Linus Torvalds authored
      Pull pstore update from Anton Vorontsov:
      
       - A new platform data parameter to specify ECC configuration;
      
       - Rounding fixup to not waste memory in ecc_blocks;
      
       - Restore ECC information printouts;
      
       - A small code cleanup: use kmemdup where appropriate.
      
      * tag 'for-v3.10' of git://git.infradead.org/users/cbou/linux-pstore:
        pstore/ram: Restore ecc information block
        pstore/ram: Allow specifying ecc parameters in platform data
        pstore/ram: Include ecc_size when calculating ecc_block
        pstore: Replace calls to kmalloc and memcpy with kmemdup
      00fdffb5
    • Jan Kara's avatar
      Merge branch 'for_next' into for_linus · fb1c2d82
      Jan Kara authored
      fb1c2d82
    • Al Viro's avatar
      ipc: fix GETALL/IPC_RM race for sysv semaphores · ce857229
      Al Viro authored
      We can step on WARN_ON_ONCE() in sem_getref() if a semaphore is removed
      just as we are about to call sem_getref() from semctl_main(); results
      are not pretty.
      
      We should fail with -EIDRM, same as if IPC_RM happened while we'd been
      doing allocation there.  This also expands sem_getref() at its only
      callsite (and fixed there), while sem_getref_and_unlock() is simply
      killed off - it has no callers at all.
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Acked-by: default avatarDavidlohr Bueso <davidlohr.bueso@hp.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ce857229
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · 20a2078c
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "This is the main drm pull request for 3.10.
      
        Wierd bits:
         - OMAP drm changes required OMAP dss changes, in drivers/video, so I
           took them in here.
         - one more fbcon fix for font handover
         - VT switch avoidance in pm code
         - scatterlist helpers for gpu drivers - have acks from akpm
      
        Highlights:
         - qxl kms driver - driver for the spice qxl virtual GPU
      
        Nouveau:
         - fermi/kepler VRAM compression
         - GK110/nvf0 modesetting support.
      
        Tegra:
         - host1x core merged with 2D engine support
      
        i915:
         - vt switchless resume
         - more valleyview support
         - vblank fixes
         - modesetting pipe config rework
      
        radeon:
         - UVD engine support
         - SI chip tiling support
         - GPU registers initialisation from golden values.
      
        exynos:
         - device tree changes
         - fimc block support
      
        Otherwise:
         - bunches of fixes all over the place."
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (513 commits)
        qxl: update to new idr interfaces.
        drm/nouveau: fix build with nv50->nvc0
        drm/radeon: fix handling of v6 power tables
        drm/radeon: clarify family checks in pm table parsing
        drm/radeon: consolidate UVD clock programming
        drm/radeon: fix UPLL_REF_DIV_MASK definition
        radeon: add bo tracking debugfs
        drm/radeon: add new richland pci ids
        drm/radeon: add some new SI PCI ids
        drm/radeon: fix scratch reg handling for UVD fence
        drm/radeon: allocate SA bo in the requested domain
        drm/radeon: fix possible segfault when parsing pm tables
        drm/radeon: fix endian bugs in atom_allocate_fb_scratch()
        OMAPDSS: TFP410: return EPROBE_DEFER if the i2c adapter not found
        OMAPDSS: VENC: Add error handling for venc_probe_pdata
        OMAPDSS: HDMI: Add error handling for hdmi_probe_pdata
        OMAPDSS: RFBI: Add error handling for rfbi_probe_pdata
        OMAPDSS: DSI: Add error handling for dsi_probe_pdata
        OMAPDSS: SDI: Add error handling for sdi_probe_pdata
        OMAPDSS: DPI: Add error handling for dpi_probe_pdata
        ...
      20a2078c
    • Dave Airlie's avatar
      qxl: update to new idr interfaces. · 307b9c02
      Dave Airlie authored
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      307b9c02
    • Dave Airlie's avatar
      Merge branch 'server-fixes' into drm-next · d2dbaaf6
      Dave Airlie authored
      Merge the fixes for the server driver dirty update paths
      * server-fixes:
        drm/cirrus: deal with bo reserve fail in dirty update path
        drm/ast: deal with bo reserve fail in dirty update path
        drm/mgag200: deal with bo reserve fail in dirty update path
      d2dbaaf6
    • Dave Airlie's avatar
      Merge tag 'omapdss-for-3.10-fixes' of git://gitorious.org/linux-omap-dss2/linux into drm-next · 7e17fc0b
      Dave Airlie authored
      OMAPDSS fixes for 3.10:
      
      * Compilation fix when DSI is disabled in Kconfig
      * Basic deferred probe support to fix DT boot
      
      * tag 'omapdss-for-3.10-fixes' of git://gitorious.org/linux-omap-dss2/linux:
        OMAPDSS: TFP410: return EPROBE_DEFER if the i2c adapter not found
        OMAPDSS: VENC: Add error handling for venc_probe_pdata
        OMAPDSS: HDMI: Add error handling for hdmi_probe_pdata
        OMAPDSS: RFBI: Add error handling for rfbi_probe_pdata
        OMAPDSS: DSI: Add error handling for dsi_probe_pdata
        OMAPDSS: SDI: Add error handling for sdi_probe_pdata
        OMAPDSS: DPI: Add error handling for dpi_probe_pdata
        OMAPDSS: VENC: use platform_driver_register()
        OMAPDSS: HDMI: use platform_driver_register()
        OMAPDSS: RFBI: use platform_driver_register()
        OMAPDSS: DSI: use platform_driver_register()
        OMAPDSS: SDI: use platform_driver_register()
        OMAPDSS: DPI: use platform_driver_register()
        OMAPFB: defer probe if no displays
        OMAPFB: use module_platform_driver()
        OMAPDSS: Makefile: move omapfb after panels
        OMAPDSS: DPI: fix compilation if DSI not compiled in
      7e17fc0b
    • Dave Airlie's avatar
      Merge branch 'drm-next-3.10-2' of git://people.freedesktop.org/~agd5f/linux into drm-next · 61109488
      Dave Airlie authored
      Just some fixes that have accumulated over the last couple of
      weeks and some new PCI ids.
      
      * 'drm-next-3.10-2' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: fix handling of v6 power tables
        drm/radeon: clarify family checks in pm table parsing
        drm/radeon: consolidate UVD clock programming
        drm/radeon: fix UPLL_REF_DIV_MASK definition
        radeon: add bo tracking debugfs
        drm/radeon: add new richland pci ids
        drm/radeon: add some new SI PCI ids
        drm/radeon: fix scratch reg handling for UVD fence
        drm/radeon: allocate SA bo in the requested domain
        drm/radeon: fix possible segfault when parsing pm tables
        drm/radeon: fix endian bugs in atom_allocate_fb_scratch()
      61109488
  3. 02 May, 2013 6 commits
    • Linus Torvalds's avatar
      Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0279b3c0
      Linus Torvalds authored
      Pull scheduler fixes from Ingo Molnar:
       "This fixes the cputime scaling overflow problems for good without
        having bad 32-bit overhead, and gets rid of the div64_u64_rem() helper
        as well."
      
      * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "math64: New div64_u64_rem helper"
        sched: Avoid prev->stime underflow
        sched: Do not account bogus utime
        sched: Avoid cputime scaling overflow
      0279b3c0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 797994f8
      Linus Torvalds authored
      Pull crypto update from Herbert Xu:
      
       - XTS mode optimisation for twofish/cast6/camellia/aes on x86
      
       - AVX2/x86_64 implementation for blowfish/twofish/serpent/camellia
      
       - SSSE3/AVX/AVX2 optimisations for sha256/sha512
      
       - Added driver for SAHARA2 crypto accelerator
      
       - Fix for GMAC when used in non-IPsec secnarios
      
       - Added generic CMAC implementation (including IPsec glue)
      
       - IP update for crypto/atmel
      
       - Support for more than one device in hwrng/timeriomem
      
       - Added Broadcom BCM2835 RNG driver
      
       - Misc fixes
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (59 commits)
        crypto: caam - fix job ring cleanup code
        crypto: camellia - add AVX2/AES-NI/x86_64 assembler implementation of camellia cipher
        crypto: serpent - add AVX2/x86_64 assembler implementation of serpent cipher
        crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher
        crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher
        crypto: tcrypt - add async cipher speed tests for blowfish
        crypto: testmgr - extend camellia test-vectors for camellia-aesni/avx2
        crypto: aesni_intel - fix Kconfig problem with CRYPTO_GLUE_HELPER_X86
        crypto: aesni_intel - add more optimized XTS mode for x86-64
        crypto: x86/camellia-aesni-avx - add more optimized XTS code
        crypto: cast6-avx: use new optimized XTS code
        crypto: x86/twofish-avx - use optimized XTS code
        crypto: x86 - add more optimized XTS-mode for serpent-avx
        xfrm: add rfc4494 AES-CMAC-96 support
        crypto: add CMAC support to CryptoAPI
        crypto: testmgr - add empty test vectors for null ciphers
        crypto: testmgr - add AES GMAC test vectors
        crypto: gcm - fix rfc4543 to handle async crypto correctly
        crypto: gcm - make GMAC work when dst and src are different
        hwrng: timeriomem - added devicetree hooks
        ...
      797994f8
    • Linus Torvalds's avatar
      Merge tag 'for-linus-v3.10-rc1' of git://oss.sgi.com/xfs/xfs · c8d85669
      Linus Torvalds authored
      Pull xfs update from Ben Myers:
       "For 3.10-rc1 we have a number of bug fixes and cleanups and a
        currently experimental feature from David Chinner, CRCs protection for
        metadata.  CRCs are enabled by using mkfs.xfs to create a filesystem
        with the feature bits set.
      
         - numerous fixes for speculative preallocation
         - don't verify buffers on IO errors
         - rename of random32 to prandom32
         - refactoring/rearrangement in xfs_bmap.c
         - removal of unused m_inode_shrink in struct xfs_mount
         - fix error handling of xfs_bufs and readahead
         - quota driven preallocation throttling
         - fix WARN_ON in xfs_vm_releasepage
         - add ratelimited printk for different alert levels
         - fix spurious forced shutdowns due to freed Extent Free Intents
         - remove some obsolete XLOG_CIL_HARD_SPACE_LIMIT() macros
         - remove some obsoleted comments
         - (experimental) CRC support for metadata"
      
      * tag 'for-linus-v3.10-rc1' of git://oss.sgi.com/xfs/xfs: (46 commits)
        xfs: fix da node magic number mismatches
        xfs: Remote attr validation fixes and optimisations
        xfs: Teach dquot recovery about CONFIG_XFS_QUOTA
        xfs: add metadata CRC documentation
        xfs: implement extended feature masks
        xfs: add CRC checks to the superblock
        xfs: buffer type overruns blf_flags field
        xfs: add buffer types to directory and attribute buffers
        xfs: add CRC protection to remote attributes
        xfs: split remote attribute code out
        xfs: add CRCs to attr leaf blocks
        xfs: add CRCs to dir2/da node blocks
        xfs: shortform directory offsets change for dir3 format
        xfs: add CRC checking to dir2 leaf blocks
        xfs: add CRC checking to dir2 data blocks
        xfs: add CRC checking to dir2 free blocks
        xfs: add CRC checks to block format directory blocks
        xfs: add CRC checks to remote symlinks
        xfs: split out symlink code into it's own file.
        xfs: add version 3 inode format with CRCs
        ...
      c8d85669
    • Linus Torvalds's avatar
      Merge tag 'for-linus-docs-2012-05-02' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci · a9586d9b
      Linus Torvalds authored
      Pull ReportingBugs rewrite from Sarah Sharp:
       "Here are the updates to ReportingBugs that were discussed and acked a
        couple weeks ago.  I've updated the fifth patch with your ack, as
        requested"
      
      * tag 'for-linus-docs-2012-05-02' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci:
        Docs: Move ref to Frohwalt Egerer to end of REPORTING-BUGS
        Docs: Add a tips section to REPORTING-BUGS.
        Docs: Expectations for bug reporters and maintainers
        Docs: Add info on supported kernels to REPORTING-BUGS.
        Docs: Add "Gather info" section to REPORTING-BUGS.
        Docs: Step-by-step directions for reporting bugs.
        Trivial: docs: Remove six-space indentation in REPORTING-BUGS.
      a9586d9b
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a8bdf745
      Linus Torvalds authored
      Pull x86 fixes from Peter Anvin:
       "Two regression fixes:
      
        1. On 64 bits, we would set NX on non-NX-capable hardware (very rare
           in 64-bit land, but a nonzero subset.)
      
        2. Fix suspend/resume across kernel versions"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86-64, init: Do not set NX bits on non-NX capable hardware
        x86, gdt, hibernate: Store/load GDT for hibernate path.
      a8bdf745
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-fixes-v3.10-1' of... · fbe8ed63
      Linus Torvalds authored
      Merge tag 'pinctrl-fixes-v3.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
      
      Pull pinctrl fixes from Linus Walleij:
       "Two fixes to the pinctrl subsystem for v3.10:
         - A quite apparent mutex fix in an untested codepath
         - A compile warning fix in the plgpio driver"
      
      * tag 'pinctrl-fixes-v3.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: fix mutex deadlock in get_pinctrl_dev_from_of_node()
        pinctrl: plgpio: add CONFIG_PM_SLEEP to suspend/resume functions
      fbe8ed63