Skip to content
  1. Feb 28, 2014
  2. Feb 26, 2014
    • Arnd Bergmann's avatar
      Merge tag 'mvebu-dt-3.15-2' of git://git.infradead.org/linux-mvebu into next/dt · c58181eb
      Arnd Bergmann authored
      Merge "mvebu dt changes for v3.15 (incremental round #2)" from Jason Cooper:
      
       - mvebu
          - add audio for Armada 370 DB
          - enable Armada 370/XP watchdog
      
       - kirkwood
          - convert board rd88f6281
          - add board rd88f6192
      
       - dove
          enable watchdog
      
      * tag 'mvebu-dt-3.15-2' of git://git.infradead.org/linux-mvebu
      
      :
        ARM: dove: Enable Dove watchdog in the devicetree
        ARM: kirkwood: Add RSTOUT 'reg' entry to devicetree
        ARM: mvebu: Enable Armada 370/XP watchdog in the devicetree
        ARM: Kirkwood: convert rd88f6281-setup.c to DT.
        ARM: Kirkwood: Add DT description of rd88f6192.
        ARM: mvebu: enable S/PDIF audio in Armada 370 DB Device Tree
        ARM: mvebu: add audio support to Armada 370 DB
        ARM: mvebu: add I2C0 muxing option for Armada 370 SoC
        ARM: mvebu: add audio I2S controller to Armada 370 Device Tree
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      c58181eb
  3. Feb 22, 2014
  4. Feb 21, 2014
  5. Feb 20, 2014
    • Olof Johansson's avatar
      Merge tag 'renesas-dt2-for-v3.15' of... · ab658f89
      Olof Johansson authored
      Merge tag 'renesas-dt2-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
      
      Merge "Second Round of Renesas ARM Based SoC DT Updates for v3.15" from Simon
      Horman:
      
      r8a7791 (R-Car M2) based Koelsch board
      - Add QSPI nodes
      
      r7s72100 (RZ/A1H) SoC
      - Add RSPI nodes
      
      * tag 'renesas-dt2-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
      
      :
        ARM: shmobile: koelsch dts: Add QSPI nodes
        ARM: shmobile: r8a7791 dtsi: Add QSPI node
        ARM: shmobile: r7s72100 dtsi: Add RSPI nodes
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      ab658f89
    • Olof Johansson's avatar
      Merge tag 'ab8500-dt-for-arm-soc' of... · 447e3295
      Olof Johansson authored
      Merge tag 'ab8500-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt
      
      Merge "Ux500 DT conversion" from Linus Walleij:
      
      AB8500 device tree conversion and the deletion of all pin-related
      configuration from the Ux500 board files.
      
      * tag 'ab8500-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson
      
      :
        ARM: ux500: move last AB8505 set-up to DT
        ARM: ux500: move AB8500 clock out pins to DT
        ARM: ux500: move AB8500 modem I2C settings to DT
        ARM: ux500: move AB8500 EXTCPENA from board file to DT
        ARM: ux500: move AB8500 DMIC settings to DT
        ARM: ux500: move AB8500 USB UICC settings to DT
        ARM: ux500: move AB8500 audio interface 1 settings to DT
        ARM: ux500: move AB8500 PWM out settings to device tree
        ARM: ux500: move AB8500 YCBCR settings to device tree
        ARM: ux500: move AB8500 GPIOs to device tree
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      447e3295
    • Olof Johansson's avatar
      Merge tag 'imx-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt · 11dd5438
      Olof Johansson authored
      Merge "i.MX device tree changes for 3.15" from Shawn Guo:
      
       - New SoC device tree support for imx35 and imx50
       - A good number of new board support: imx25-eukrea, imx28-duckbill,
         imx28-eukrea, Eukrea cpuimx35, imx50-evk, imx51-eukrea, imx53-voipac,
         MCIMX53-START-R and Ka-Ro TX53.
       - Quite some updates and tweaking on imx27 phycore and apf27dev boards
       - Add pinfunc headers for imx25, imx27 and imx50
       - Make pinctrl nodes board specific to avoid floating board specific
         device tree blob with so many unused pinctrl data
       - Use generic node name for fixed regulator
       - Use clock defines in imx5 DTS files
       - Use macros for interrupt and gpio flags
       - A plenty of random updates on various SoC and board device tree
         sources, adding pinctrl settings, device nodes, properties, aliases.
      
      * tag 'imx-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6: (89 commits)
        ARM: dts: imx28-m28cu3: Remove 'reset-active-high'
        ARM: dts: imx5: use imx51-ssi
        ARM: dts: imx51: Add mmc aliases
        ARM: dts: imx53: Add mmc aliases
        ARM: dts: imx53: add support for Ka-Ro TX53 modules
        ARM: dts: Add support for the cpuimx35 board from Eukrea and its baseboard.
        ARM: dts: imx28-apf28dev: add user button
        ARM: dts: i.MX51: Switch to use standard definitions for input subsystem
        ARM: dts: i.MX53: add support for MCIMX53-START-R
        ARM: dts: i.MX53: move common QSB nodes to new file
        ARM: dts: imx53-evk: Remove board support
        ARM: dts: vf610: use the interrupt macros
        ARM: dts: imx53: Add gpio and input dt includes.
        ARM: dts: i.MX27: Add SSI nodes
        ARM: dts: mxs: add mxs phy controller id
        ARM: dts: imx27-phytec-phycore-rdk: Add pinctrl definitions for WEIM
        ARM: dts: imx27-phytec-phycore-rdk: Add pingrp for SDHC
        ARM: dts: imx27-phytec-phycore-som: Add spi-cs-high property to PMIC
        ARM: dts: imx27-phytec-phycore-rdk: Enable 1-Wire module
        ARM: dts: imx27-phytec-phycore-som: Add NFC pin group
        ...
      11dd5438
    • Olof Johansson's avatar
      Merge tag 'imx6-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt · ca7964a2
      Olof Johansson authored
      Merge "i.MX6 device tree changes for 3.15" from Shawn Guo:
      
       - A good number of new i.MX6 boards support: cm-fx6, dmo-edmqmx6,
         nitrogen6x, Gateworks Ventana gw5xxx family, DFI FS700-M60 and
         Zealz GK802
       - Update imx6q-sabrelite device tree and add Dual Lite/Solo support
       - Move pins that are used by particular client device out of hog group
       - Use GPIO_6 for FEC interrupt to workaround a hardware bug (ERR006687
         ENET: Only the ENET wake-up interrupt request can wake the system
         from Wait mode.)
       - Make pinctrl nodes board specific to avoid floating board specific
         device tree blob with so many unused pinctrl data
       - Use generic node name for fixed regulator
       - Update OPP table for cpufreq support
       - Random updates on various board device tree sources, adding pinctrl
         settings, device nodes, properties, etc.
      
      * tag 'imx6-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6: (62 commits)
        ARM: dts: imx6q: Add support for Zealz GK802
        ARM: dts: imx6: Add DFI FS700-M60 board support
        ARM: dts: imx6: use imx51-ssi
        ARM: dts: imx6qdl: Add mmc aliases
        ARM: dts: imx6q: Add spi4 alias
        ARM: dts: imx6qdl-sabreauto: Add LVDS support
        ARM: dts: imx6sl: add keypad support for i.mx6sl-evk board.
        ARM: dts: imx6sl: add ocram device support
        ARM: dts: imx6qdl: enable dma for spi
        ARM: dts: imx6qdl-sabresd: Add PFUZE100 support
        ARM: dts: imx6: add mxs phy controller id
        ARM: dts: imx6: add anatop phandle for usbphy
        ARM: dts: imx6q-arm2: use GPIO_6 for FEC interrupt.
        ARM: dts: imx6qdl-sabreauto: use GPIO_6 for FEC interrupt.
        ARM: dts: imx6qdl-sabrelite: use GPIO_6 for FEC interrupt.
        ARM: dts: imx6qdl: use interrupts-extended for fec
        ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ
        ARM: dts: imx6q-sabrelite: PHY reset is active-low
        ARM: dts: imx6: Use 'vddarm' as the regulator name
        ARM: dts: imx6qdl-sabresd: Add power key support
        ...
      ca7964a2
    • Olof Johansson's avatar
      Merge tag 'renesas-dt-for-v3.15' of... · 6b43a284
      Olof Johansson authored
      Merge tag 'renesas-dt-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
      
      Merge "Renesas ARM Based SoC DT Updates for v3.15" from Simon Horman:
      
      * r8a7791 (R-Car M2) based Koelsch board
        - Enable GPIO Keys, (1+1)GiB memory, SATA0 and serial ports
        - Add VIN and thermal clocks
        - Remove r8a7791-koelsch-reference.dts
      
      * r8a7790 (R-Car H2) based Lager board
        - Replace IRQ type numerical values with macros
        - Enable SATA0 and serial ports
        - Add VIN and thermal clocks
      
      * tag 'renesas-dt-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
      
      :
        ARM: shmobile: r8a7790: Replace IRQ type numerical values with macros
        ARM: shmobile: r8a7790: Fix serial ports DT compatible strings
        ARM: shmobile: lager: Enable SATA1 in r8a7790-lager.dts
        ARM: shmobile: r8a7790: Add SATA nodes to r8a7790.dtsi
        ARM: shmobile: koelsch: Enable SATA0 in r8a7791-koelsch.dts
        ARM: shmobile: r8a7791: Add SATA nodes to r8a7791.dtsi
        ARM: shmobile: r8a7791: Add SATA clocks to device tree
        ARM: shmobile: r8a7790: Add SATA clocks to device tree
        ARM: shmobile: r8a7791: Add VIN clocks to device tree
        ARM: shmobile: r8a7790: Add VIN clocks to device tree
        ARM: shmobile: r8a7790: Add serial ports to the device tree
        ARM: shmobile: r8a7791: Add serial ports to the device tree
        ARM: shmobile: r8a7790: Add thermal clock in device tree
        ARM: shmobile: r8a7791: Add thermal clock in device tree
        ARM: shmobile: koelsch: (1+1)GiB memory in DT
        ARM: shmobile: Add GPIO keys to Koelsch DTS
        ARM: shmobile: dts: Remove r8a7791-koelsch-reference.dts
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      6b43a284
  6. Feb 18, 2014
  7. Feb 17, 2014
  8. Feb 16, 2014
    • Kevin Hao's avatar
      of: search the best compatible match first in __of_match_node() · 06b29e76
      Kevin Hao authored
      
      
      Currently, of_match_node compares each given match against all node's
      compatible strings with of_device_is_compatible.
      
      To achieve multiple compatible strings per node with ordering from
      specific to generic, this requires given matches to be ordered from
      specific to generic. For most of the drivers this is not true and also
      an alphabetical ordering is more sane there.
      
      Therefore, this patch introduces a function to match each of the node's
      compatible strings against all given compatible matches without type and
      name first, before checking the next compatible string. This implies
      that node's compatibles are ordered from specific to generic while
      given matches can be in any order. If we fail to find such a match
      entry, then fall-back to the old method in order to keep compatibility.
      
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: default avatarKevin Hao <haokexin@gmail.com>
      Tested-by: default avatarStephen Chivers <schivers@csc.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      06b29e76
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 946dd683
      Linus Torvalds authored
      Pull SCSI target fixes from Nicholas Bellinger:
       "Mostly minor fixes this time to v3.14-rc1 related changes.  Also
        included is one fix for a free after use regression in persistent
        reservations UNREGISTER logic that is CC'ed to >= v3.11.y stable"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        Target/sbc: Fix protection copy routine
        IB/srpt: replace strict_strtoul() with kstrtoul()
        target: Simplify command completion by removing CMD_T_FAILED flag
        iser-target: Fix leak on failure in isert_conn_create_fastreg_pool
        iscsi-target: Fix SNACK Type 1 + BegRun=0 handling
        target: Fix missing length check in spc_emulate_evpd_83()
        qla2xxx: Remove last vestiges of qla_tgt_cmd.cmd_list
        target: Fix 32-bit + CONFIG_LBDAF=n link error w/ sector_div
        target: Fix free-after-use regression in PR unregister
      946dd683
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 2d0ef4fb
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "i2c has a bugfix and documentation improvements for you"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        Documentation: i2c: mention ACPI method for instantiating devices
        Documentation: i2c: describe devicetree method for instantiating devices
        i2c: mv64xxx: refactor message start to ensure proper initialization
      2d0ef4fb
    • Linus Torvalds's avatar
      Merge branches 'irq-urgent-for-linus' and 'irq-core-for-linus' of... · 5a667a0c
      Linus Torvalds authored
      Merge branches 'irq-urgent-for-linus' and 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
      
      Pull irq update from Thomas Gleixner:
       "Fix from the urgent branch: a trivial oneliner adding the missing
        Kconfig dependency curing build failures which have been discovered by
        several build robots.
      
        The update in the irq-core branch provides a new function in the
        irq/devres code, which is a prerequisite for driver developers to get
        rid of boilerplate code all over the place.
      
        Not a bugfix, but it has zero impact on the current kernel due to the
        lack of users.  It's simpler to provide the infrastructure to
        interested parties via your tree than fulfilling the wishlist of
        driver maintainers on which particular commit or tag this should be
        based on"
      
      * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        genirq: Add missing irq_to_desc export for CONFIG_SPARSE_IRQ=n
      
      * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        genirq: Add devm_request_any_context_irq()
      5a667a0c
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3a19c07c
      Linus Torvalds authored
      Pull timer fixes from Thomas Gleixner:
       "The following trilogy of patches brings you:
      
         - fix for a long standing math overflow issue with HZ < 60
      
         - an onliner fix for a corner case in the dreaded tick broadcast
           mechanism affecting a certain range of AMD machines which are
           infested with the infamous automagic C1E power control misfeature
      
         - a fix for one of the ARM platforms which allows the kernel to
           proceed and boot instead of stupidly panicing for no good reason.
           The patch is slightly larger than necessary, but it's less ugly
           than the alternative 5 liner"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        tick: Clear broadcast pending bit when switching to oneshot
        clocksource: Kona: Print warning rather than panic
        time: Fix overflow when HZ is smaller than 60
      3a19c07c
    • Linus Torvalds's avatar
      Merge tag 'trace-fixes-v3.14-rc2' of... · 9bd01b9b
      Linus Torvalds authored
      Merge tag 'trace-fixes-v3.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
      
      Pull twi tracing fixes from Steven Rostedt:
       "Two urgent fixes in the tracing utility.
      
        The first is a fix for the way the ring buffer stores timestamps.
        After a restructure of the code was done, the ring buffer timestamp
        logic missed the fact that the first event on a sub buffer is to have
        a zero delta, as the full timestamp is stored on the sub buffer
        itself.  But because the delta was not cleared to zero, the timestamp
        for that event will be calculated as the real timestamp + the delta
        from the last timestamp.  This can skew the timestamps of the events
        and have them say they happened when they didn't really happen.
        That's bad.
      
        The second fix is for modifying the function graph caller site.  When
        the stop machine was removed from updating the function tracing code,
        it missed updating the function graph call site location.  It is still
        modified as if it is being done via stop machine.  But it's not.  This
        can lead to a GPF and kernel crash if the function graph call site
        happens to lie between cache lines and one CPU is executing it while
        another CPU is doing the update.  It would be a very hard condition to
        hit, but the result is severe enough to have it fixed ASAP"
      
      * tag 'trace-fixes-v3.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        ftrace/x86: Use breakpoints for converting function graph caller
        ring-buffer: Fix first commit on sub-buffer having non-zero delta
      9bd01b9b
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7fc92804
      Linus Torvalds authored
      Pull x86 EFI fixes from Peter Anvin:
       "A few more EFI-related fixes"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/efi: Check status field to validate BGRT header
        x86/efi: Fix 32-bit fallout
      7fc92804
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 83660b73
      Linus Torvalds authored
      Pull ARM SoC fixes from Kevin Hilman:
       "A collection of ARM SoC fixes for v3.14-rc1.
      
        Mostly a collection of Kconfig, device tree data and compilation fixes
        along with fix to drivers/phy that fixes a boot regression on some
        Marvell mvebu platforms"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        dma: mv_xor: Silence a bunch of LPAE-related warnings
        ARM: ux500: disable msp2 device tree node
        ARM: zynq: Reserve not DMAable space in front of the kernel
        ARM: multi_v7_defconfig: Select CONFIG_SOC_DRA7XX
        ARM: imx6: Initialize low-power mode early again
        ARM: pxa: fix various compilation problems
        ARM: pxa: fix compilation problem on AM300EPD board
        ARM: at91: add Atmel's SAMA5D3 Xplained board
        spi/atmel: document clock properties
        mmc: atmel-mci: document clock properties
        ARM: at91: enable USB host on at91sam9n12ek board
        ARM: at91/dt: fix sama5d3 ohci hclk clock reference
        ARM: at91/dt: sam9263: fix compatibility string for the I2C
        ata: sata_mv: Fix probe failures with optional phys
        drivers: phy: Add support for optional phys
        drivers: phy: Make NULL a valid phy reference
        ARM: fix HAVE_ARM_TWD selection for OMAP and shmobile
        ARM: moxart: move DMA_OF selection to driver
        ARM: hisi: fix kconfig warning on HAVE_ARM_TWD
      83660b73
    • Wolfram Sang's avatar
    • Wolfram Sang's avatar
    • Filipe David Borba Manana's avatar
      Btrfs: use right clone root offset for compressed extents · 93de4ba8
      Filipe David Borba Manana authored
      
      
      For non compressed extents, iterate_extent_inodes() gives us offsets
      that take into account the data offset from the file extent items, while
      for compressed extents it doesn't. Therefore we have to adjust them before
      placing them in a send clone instruction. Not doing this adjustment leads to
      the receiving end requesting for a wrong a file range to the clone ioctl,
      which results in different file content from the one in the original send
      root.
      
      Issue reproducible with the following excerpt from the test I made for
      xfstests:
      
        _scratch_mkfs
        _scratch_mount "-o compress-force=lzo"
      
        $XFS_IO_PROG -f -c "truncate 118811" $SCRATCH_MNT/foo
        $XFS_IO_PROG -c "pwrite -S 0x0d -b 39987 92267 39987" $SCRATCH_MNT/foo
      
        $BTRFS_UTIL_PROG subvolume snapshot -r $SCRATCH_MNT $SCRATCH_MNT/mysnap1
      
        $XFS_IO_PROG -c "pwrite -S 0x3e -b 80000 200000 80000" $SCRATCH_MNT/foo
        $BTRFS_UTIL_PROG filesystem sync $SCRATCH_MNT
        $XFS_IO_PROG -c "pwrite -S 0xdc -b 10000 250000 10000" $SCRATCH_MNT/foo
        $XFS_IO_PROG -c "pwrite -S 0xff -b 10000 300000 10000" $SCRATCH_MNT/foo
      
        # will be used for incremental send to be able to issue clone operations
        $BTRFS_UTIL_PROG subvolume snapshot -r $SCRATCH_MNT $SCRATCH_MNT/clones_snap
      
        $BTRFS_UTIL_PROG subvolume snapshot -r $SCRATCH_MNT $SCRATCH_MNT/mysnap2
      
        $FSSUM_PROG -A -f -w $tmp/1.fssum $SCRATCH_MNT/mysnap1
        $FSSUM_PROG -A -f -w $tmp/2.fssum -x $SCRATCH_MNT/mysnap2/mysnap1 \
            -x $SCRATCH_MNT/mysnap2/clones_snap $SCRATCH_MNT/mysnap2
        $FSSUM_PROG -A -f -w $tmp/clones.fssum $SCRATCH_MNT/clones_snap \
            -x $SCRATCH_MNT/clones_snap/mysnap1 -x $SCRATCH_MNT/clones_snap/mysnap2
      
        $BTRFS_UTIL_PROG send $SCRATCH_MNT/mysnap1 -f $tmp/1.snap
        $BTRFS_UTIL_PROG send $SCRATCH_MNT/clones_snap -f $tmp/clones.snap
        $BTRFS_UTIL_PROG send -p $SCRATCH_MNT/mysnap1 \
            -c $SCRATCH_MNT/clones_snap $SCRATCH_MNT/mysnap2 -f $tmp/2.snap
      
        _scratch_unmount
        _scratch_mkfs
        _scratch_mount
      
        $BTRFS_UTIL_PROG receive $SCRATCH_MNT -f $tmp/1.snap
        $FSSUM_PROG -r $tmp/1.fssum $SCRATCH_MNT/mysnap1 2>> $seqres.full
      
        $BTRFS_UTIL_PROG receive $SCRATCH_MNT -f $tmp/clones.snap
        $FSSUM_PROG -r $tmp/clones.fssum $SCRATCH_MNT/clones_snap 2>> $seqres.full
      
        $BTRFS_UTIL_PROG receive $SCRATCH_MNT -f $tmp/2.snap
        $FSSUM_PROG -r $tmp/2.fssum $SCRATCH_MNT/mysnap2 2>> $seqres.full
      
      Signed-off-by: default avatarFilipe David Borba Manana <fdmanana@gmail.com>
      Signed-off-by: default avatarChris Mason <clm@fb.com>
      93de4ba8
    • Anand Jain's avatar
      btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105 · f085381e
      Anand Jain authored
      
      
      bdev is null when disk has disappeared and mounted with
      the degrade option
      
      stack trace
      ---------
      btrfs_sysfs_add_one+0x105/0x1c0 [btrfs]
      open_ctree+0x15f3/0x1fe0 [btrfs]
      btrfs_mount+0x5db/0x790 [btrfs]
      ? alloc_pages_current+0xa4/0x160
      mount_fs+0x34/0x1b0
      vfs_kern_mount+0x62/0xf0
      do_mount+0x22e/0xa80
      ? __get_free_pages+0x9/0x40
      ? copy_mount_options+0x31/0x170
      SyS_mount+0x7e/0xc0
      system_call_fastpath+0x16/0x1b
      ---------
      
      reproducer:
      -------
      mkfs.btrfs -draid1 -mraid1 /dev/sdc /dev/sdd
      (detach a disk)
      devmgt detach /dev/sdc [1]
      mount -o degrade /dev/sdd /btrfs
      -------
      
      [1] github.com/anajain/devmgt.git
      
      Signed-off-by: default avatarAnand Jain <Anand.Jain@oracle.com>
      Tested-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
      Signed-off-by: default avatarChris Mason <clm@fb.com>
      f085381e
  9. Feb 15, 2014
    • Wolfram Sang's avatar
      i2c: mv64xxx: refactor message start to ensure proper initialization · 79970db2
      Wolfram Sang authored
      
      
      Because the offload mechanism can fall back to a standard transfer,
      having two seperate initialization states is unfortunate. Let's just
      have one state which does things consistently. This fixes a bug where
      some preparation was missing when the fallback happened. And it makes
      the code much easier to follow. To implement this, we put the check
      if offload is possible at the top of the offload setup function.
      
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      Tested-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
      Cc: stable@vger.kernel.org # v3.12+
      Fixes: 930ab3d4 (i2c: mv64xxx: Add I2C Transaction Generator support)
      79970db2
    • Linus Torvalds's avatar
      Merge tag 'usb-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · ca033390
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here is a bunch of USB fixes for 3.14-rc3.  Most of these are xhci
        reverts, fixing a bunch of reported issues with USB 3 host controller
        issues that loads of people have been hitting (with the exception of
        kernel developers, all of our machines seem to be working fine, which
        is why these took so long to get resolved...)
      
        There are some other minor fixes and new device ids, as ususal.  All
        have been in linux-next successfully"
      
      * tag 'usb-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (22 commits)
        usb: option: blacklist ZTE MF667 net interface
        Revert "usb: xhci: Link TRB must not occur within a USB payload burst"
        Revert "xhci: Avoid infinite loop when sg urb requires too many trbs"
        Revert "xhci: Set scatter-gather limit to avoid failed block writes."
        xhci 1.0: Limit arbitrarily-aligned scatter gather.
        Modpost: fixed USB alias generation for ranges including 0x9 and 0xA
        usb: core: Fix potential memory leak adding dyn USBdevice IDs
        USB: ftdi_sio: add Tagsys RFID Reader IDs
        usb: qcserial: add Netgear Aircard 340U
        usb-storage: enable multi-LUN scanning when needed
        USB: simple: add Dynastream ANT USB-m Stick device support
        usb-storage: add unusual-devs entry for BlackBerry 9000
        usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB
        usb: phy: move some error messages to debug
        usb: ftdi_sio: add Mindstorms EV3 console adapter
        usb: dwc2: fix memory corruption in dwc2 driver
        usb: dwc2: fix role switch breakage
        usb: dwc2: bail out early when booting with "nousb"
        Revert "xhci: replace xhci_read_64() with readq()"
        Revert "xhci: replace xhci_write_64() with writeq()"
        ...
      ca033390
    • Linus Torvalds's avatar
      Merge tag 'tty-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 40a215fb
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are a small number of tty/serial driver fixes to resolve reported
        issues with 3.14-rc and earlier (in the case of the vt bugfix).  Some
        of these have been tested and reported by a number of people as the
        tty bugfix was pretty commonly hit on some platforms.
      
        All have been in linux-next for a while"
      
      * tag 'tty-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        vt: Fix secure clear screen
        serial: 8250: Support XR17V35x fraction divisor
        n_tty: Fix stale echo output
        serial: sirf: fix kernel panic caused by unpaired spinlock
        serial: 8250_pci: unbreak last serial ports on NetMos 9865 cards
        n_tty: Fix poll() when TIME_CHAR and MIN_CHAR == 0
        serial: omap: fix rs485 probe on defered pinctrl
        serial: 8250_dw: fix compilation warning when !CONFIG_PM_SLEEP
        serial: omap-serial: Move info message to probe function
        tty: Set correct tty name in 'active' sysfs attribute
        tty: n_gsm: Fix for modems with brk in modem status control
        drivers/tty/hvc: don't use module_init in non-modular hyp. console code
      40a215fb
    • Linus Torvalds's avatar
      Merge tag 'staging-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · e2e481d6
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are a number (lots, I know) of fixes for staging drivers to
        resolve a bunch of reported issues.
      
        The largest patches here is one revert of a patch that is in 3.14-rc1
        to fix reported problems, and a sync of a usb host driver that
        required some ARM patches to go in before it could be accepted (which
        is why it missed -rc1)
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'staging-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (56 commits)
        staging/rtl8821ae: fix build, depends on MAC80211
        iio: max1363: Use devm_regulator_get_optional for optional regulator
        iio:accel:bma180: Use modifier instead of index in channel specification
        iio: adis16400: Set timestamp as the last element in chan_spec
        iio: ak8975: Fix calculation formula for convert micro tesla to gauss unit
        staging:iio:ad799x fix typo in ad799x_events[]
        iio: mxs-lradc: remove useless scale_available files
        iio: mxs-lradc: fix buffer overflow
        iio:magnetometer:mag3110: Fix output of decimal digits in show_int_plus_micros()
        iio:magnetometer:mag3110: Report busy in _read_raw() / write_raw() when buffer is enabled
        wlags49_h2: Fix overflow in wireless_set_essid()
        xlr_net: Fix missing trivial allocation check
        staging: r8188eu: overflow in rtw_p2p_get_go_device_address()
        staging: r8188eu: array overflow in rtw_mp_ioctl_hdl()
        staging: r8188eu: Fix typo in USB_DEVICE list
        usbip/userspace/libsrc/names.c: memory leak
        gpu: ion: dereferencing an ERR_PTR
        staging: comedi: usbduxsigma: fix unaligned dereferences
        staging: comedi: fix too early cleanup in comedi_auto_config()
        staging: android: ion: dummy: fix an error code
        ...
      e2e481d6