1. 26 Jul, 2014 3 commits
    • Arnd Bergmann's avatar
      Merge branches 'samsung/cleanup' and 'samsung/s5p-cleanup-v2', tag 'v3.16-rc6' into next/soc · f169f400
      Arnd Bergmann authored
      The following samsung branches are based on these cleanups,
      which are already in mainline before this branch gets pulled.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      f169f400
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.17/soc-new' of... · 0081b77d
      Arnd Bergmann authored
      Merge tag 'omap-for-v3.17/soc-new' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
      
      Merge "SoC related changes for omaps for v3.17 merge window"
      from Tony Lindgren:
      
      - Add device tree and hwmod data for various devices
        for new SoCs
      
      - Remove legacy mailbox hwmod data that's no longer
        needed for SoCs that are DT only. Note that this may
        cause a minor merge conflict in mach-omap2/devices.c
        with omap_init_mbox() and omap_init_hdmi_audio(), both
        are legacy code that is getting removed
      
      * tag 'omap-for-v3.17/soc-new' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: DRA7: hwmod: Add data for RTC
        arm: dra7xx: Add hwmod data for MDIO and CPSW
        arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems
        arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy
        ARM: DRA7: hwmod: Add OCP2SCP3 module
        ARM: DRA7: hwmod: remove interrupts for DMA
        ARM: OMAP2+: DMA: remove requirement of irq for platform-dma driver
        ARM: AM33xx: hwmod_data: Remove legacy mailbox addrs
        ARM: OMAP4: hwmod_data: Remove legacy mailbox addrs
        ARM: OMAP2: hwmod_data: Remove legacy mailbox data and addrs
        ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot
        ARM: DRA7: hwmod_data: Add mailbox hwmod data
        ARM: dts: DRA7: Add mailbox nodes
        ARM: dts: AM4372: Correct mailbox node data
        ARM: dts: AM33xx: Add mailbox node
        ARM: dts: OMAP4: Add mailbox node
        ARM: dts: OMAP2+: Add mailbox fifo and user information
        ARM: AM43xx: hwmod: add DSS hwmod data
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      0081b77d
    • Arnd Bergmann's avatar
      Merge branch 'omap/cleanup' into next/soc · ba66d7f0
      Arnd Bergmann authored
      This is a dependency for the omap/soc branch
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ba66d7f0
  2. 23 Jul, 2014 3 commits
  3. 22 Jul, 2014 10 commits
  4. 21 Jul, 2014 10 commits
  5. 20 Jul, 2014 4 commits
  6. 19 Jul, 2014 10 commits
    • Olof Johansson's avatar
      Merge tag 'exynos-cpuidle' of... · f37ac9e5
      Olof Johansson authored
      Merge tag 'exynos-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/soc
      
      Merge "Samsung exynos cpuidle update for v3.17" from Kukjin Kim:
      
      - add callbacks exynos_suspend() and exynos_powered_up()
        for support cpuidle through mcpm
      - skip exynos_cpuidle for exynos5420 because is uses
        cpuidle-big-liggle generic cpuidle driver
      - add generic functions to calculate cpu number is used
        for pmu and this is required for exynos5420 multi-cluster
      - add of_device_id structure for big.LITTLE cpuidle and
        add "samsung,exynos5420" compatible string for exynos5420
      
      * tag 'exynos-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
        ARM: EXYNOS: do not allow cpuidle registration for exynos5420
        cpuidle: big.LITTLE: init driver for exynos5420
        cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config
        ARM: EXYNOS: add generic function to calculate cpu number
        cpuidle: big.LITTLE: add of_device_id structure
        + Linux 3.16-rc5
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      f37ac9e5
    • Olof Johansson's avatar
      Merge tag 'mvebu-soc-3.17-2' of git://git.infradead.org/linux-mvebu into next/soc · 43389254
      Olof Johansson authored
      Merge "ARM: mvebu SoC changes for v3.17 (round 2)" from Jason Cooper:
      
      "Yeah, it's just one patch, but it's a beautiful one!  Thanks to the
      efforts of many people over the last couple years, and in particular,
      Andrew Lunn, Kirkwood has been completely converted to DT."
      
       - kirkwood
         * Remove mach-kirkwood/, It's fully supported in mach-mvebu/
      
      * tag 'mvebu-soc-3.17-2' of git://git.infradead.org/linux-mvebu:
        ARM: Kirkwood: Remove mach-kirkwood
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      43389254
    • Olof Johansson's avatar
      Merge tag 'sunxi-core-for-3.17' of... · 7b2a428a
      Olof Johansson authored
      Merge tag 'sunxi-core-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into next/soc
      
      Merge "Allwinner core additions for 3.17" from Maxime Ripard:
      
      Nothing very fancy here, only the introduction from the new Allwinner A23 SoC.
      
      * tag 'sunxi-core-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
        ARM: sunxi: select MFD_SUN6I_PRCM when sun8i arch support is enabled
        ARM: sunxi: Add earlyprintk support using R_UART (sun6i/sun8i)
        ARM: sunxi: Introduce Allwinner A23 support
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      7b2a428a
    • Olof Johansson's avatar
      Merge tag 'imx-soc-3.17' of... · b40abaf0
      Olof Johansson authored
      Merge tag 'imx-soc-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/soc
      
      Merge "ARM: imx: SoC changes for 3.17" from Shawn Guo:
      
      The i.MX SoC changes for 3.17:
       - Add devicetree support for i.MX1 and i.MX21 clock driver
       - Use CLOCKSOURCE_OF_DECLARE() to initialize timer for DT targets
       - Use of_clk_init() to initialize i.MX25 and i.MX27 clock driver in
         device tree boot
       - Remove i.MX1 camera support
       - Remove i.MX27 IP Camera and Lite-Kit board support
       - Add suspend and cpuidle support for i.mx6sx
       - Clean up unused clk_register_clkdev() lookups
       - Update imx-weim bus driver to support populating devices on a simple
         bus
       - Switch i.MX27 and i.MX6QDL clock driver to use macro for clock IDs
       - Make i.MX51 a DT only platform and clean up the non-DT support code
       - Support disabling supervisor protect via DT
       - Random defconfig updates
      
      * tag 'imx-soc-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (69 commits)
        ARM: imx: clk-vf610: fix FlexCAN clock gating
        ARM: i.MX: Use CLOCKSOURCE_OF_DECLARE() for DT targets
        ARM: i.MX53: globally disable supervisor protect
        ARM: i.MX: allow disabling supervisor protect via DT
        ARM: i.MX27 clk: Add 26 MHz oscillator circuit clock gate
        ARM: i.MX27 clk: Remove unused definitions
        ARM: i.MX27 clk: Introduce DT include for clock provider
        ARM: i.MX: Remove Freescale Logic Product Development i.MX27 Lite-Kit board support
        ARM: i.MX: Remove excess symbols ARCH_MX1, ARCH_MX25 and MACH_MX27
        ARM: i.MX: Remove i.MX1 camera support
        ARM: imx: use PTR_ERR_OR_ZERO
        bus: imx-weim: populate devices on a simple bus
        ARM: imx: build cpu_is_imx6sl function conditionally
        ARM: imx: imx6sx uses imx6q cpuidle code
        ARM: imx: drop PL310 errata 588369 and 727915
        ARM: imx_v6_v7_defconfig: add FSL_EDMA and PRINTK_TIME
        ARM: imx: clk-imx6sx: register SSI/SSI_IPG as shared gate clocks
        ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support
        ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
        ARM: imx: mark .dt_compat as const
        ...
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      b40abaf0
    • Eric Sandeen's avatar
      btrfs: test for valid bdev before kobj removal in btrfs_rm_device · 0bfaa9c5
      Eric Sandeen authored
      commit 99994cde btrfs: dev delete should remove sysfs entry
      added a btrfs_kobj_rm_device, which dereferences device->bdev...
      right after we check whether device->bdev might be NULL.
      
      I don't honestly know if it's possible to have a NULL device->bdev
      here, but assuming that it is (given the test), we need to move
      the kobject removal to be under that test.
      
      (Coverity spotted this)
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatarChris Mason <clm@fb.com>
      0bfaa9c5
    • Liu Bo's avatar
      Btrfs: fix abnormal long waiting in fsync · 98ce2ded
      Liu Bo authored
      xfstests generic/127 detected this problem.
      
      With commit 7fc34a62, now fsync will only flush
      data within the passed range.  This is the cause of the above problem,
      -- btrfs's fsync has a stage called 'sync log' which will wait for all the
      ordered extents it've recorded to finish.
      
      In xfstests/generic/127, with mixed operations such as truncate, fallocate,
      punch hole, and mapwrite, we get some pre-allocated extents, and mapwrite will
      mmap, and then msync.  And I find that msync will wait for quite a long time
      (about 20s in my case), thanks to ftrace, it turns out that the previous
      fallocate calls 'btrfs_wait_ordered_range()' to flush dirty pages, but as the
      range of dirty pages may be larger than 'btrfs_wait_ordered_range()' wants,
      there can be some ordered extents created but not getting corresponding pages
      flushed, then they're left in memory until we fsync which runs into the
      stage 'sync log', and fsync will just wait for the system writeback thread
      to flush those pages and get ordered extents finished, so the latency is
      inevitable.
      
      This adds a flush similar to btrfs_start_ordered_extent() in
      btrfs_wait_logged_extents() to fix that.
      Reviewed-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
      Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
      Signed-off-by: default avatarChris Mason <clm@fb.com>
      98ce2ded
    • Linus Torvalds's avatar
      Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d0571909
      Linus Torvalds authored
      Pull locking fixes from Thomas Gleixner:
       "The locking department delivers:
      
         - A rather large and intrusive bundle of fixes to address serious
           performance regressions introduced by the new rwsem / mcs
           technology.  Simpler solutions have been discussed, but they would
           have been ugly bandaids with more risk than doing the right thing.
      
         - Make the rwsem spin on owner technology opt-in for architectures
           and enable it only on the known to work ones.
      
         - A few fixes to the lockdep userspace library"
      
      * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/rwsem: Add CONFIG_RWSEM_SPIN_ON_OWNER
        locking/mutex: Disable optimistic spinning on some architectures
        locking/rwsem: Reduce the size of struct rw_semaphore
        locking/rwsem: Rename 'activity' to 'count'
        locking/spinlocks/mcs: Micro-optimize osq_unlock()
        locking/spinlocks/mcs: Introduce and use init macro and function for osq locks
        locking/spinlocks/mcs: Convert osq lock to atomic_t to reduce overhead
        locking/spinlocks/mcs: Rename optimistic_spin_queue() to optimistic_spin_node()
        locking/rwsem: Allow conservative optimistic spinning when readers have lock
        tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire
        tools/liblockdep: Remove debug print left over from development
        tools/liblockdep: Fix comparison of a boolean value with a value of 2
      d0571909
    • Linus Torvalds's avatar
      Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d1743b81
      Linus Torvalds authored
      Pull scheduler fix from Thomas Gleixner:
       "Prevent a possible divide by zero in the debugging code"
      
      * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched: Fix possible divide by zero in avg_atom() calculation
      d1743b81
    • Linus Torvalds's avatar
      Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · cb20fd07
      Linus Torvalds authored
      Pull irq fixes from Thomas Gleixner:
       "Three patches addressing shortcomings in the ARM gic interrupt chip
        driver"
      
      * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip: gic: Fix core ID calculation when topology is read from DT
        irqchip: gic: Add binding probe for ARM GIC400
        irqchip: gic: Add support for cortex a7 compatible string
      cb20fd07
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · b495c23c
      Linus Torvalds authored
      Pull timer fix from Thomas Gleixner:
       "A single fix for a long standing issue in the alarm timer subsystem,
        which was noticed recently when people finally started to use alarm
        timers for serious work"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        alarmtimer: Fix bug where relative alarm timers were treated as absolute
      b495c23c