1. 10 10月, 2012 16 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · aac2b1f5
      Linus Torvalds 提交于
      Pull networking updates from David Miller:
      
       1) UAPI changes for networking from David Howells
      
       2) A netlink dump is an operation we can sleep within, and therefore we
          need to make sure the dump provider module doesn't disappear on us
          meanwhile.  Fix from Gao Feng.
      
       3) Now that tunnels support GRO, we have to be more careful in
          skb_gro_reset_offset() otherwise we OOPS, from Eric Dumazet.
      
       4) We can end up processing packets for VLANs we aren't actually
          configured to be on, fix from Florian Zumbiehl.
      
       5) Fix routing cache removal regression in redirects and IPVS.  The
          core issue on the IPVS side is that it wants to rewrite who the
          nexthop is and we have to explicitly accomodate that case.  From
          Julian Anastasov.
      
       6) Error code return fixes all over the networking drivers from Peter
          Senna Tschudin.
      
       7) Fix routing cache removal regressions in IPSEC, from Steffen
          Klassert.
      
       8) Fix deadlock in RDS during pings, from Jeff Liu.
      
       9) Neighbour packet queue can trigger skb_under_panic() because we do
          not reset the network header of the SKB in the right spot.  From
          Ramesh Nagappa.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (61 commits)
        RDS: fix rds-ping spinlock recursion
        netdev/phy: Prototype of_mdio_find_bus()
        farsync: fix support for over 30 cards
        be2net: Remove code that stops further access to BE NIC based on UE bits
        pch_gbe: Fix build error by selecting all the possible dependencies.
        e1000e: add device IDs for i218
        ixgbe/ixgbevf: Limit maximum jumbo frame size to 9.5K to avoid Tx hangs
        ixgbevf: Set the netdev number of Tx queues
        UAPI: (Scripted) Disintegrate include/linux/tc_ematch
        UAPI: (Scripted) Disintegrate include/linux/tc_act
        UAPI: (Scripted) Disintegrate include/linux/netfilter_ipv6
        UAPI: (Scripted) Disintegrate include/linux/netfilter_ipv4
        UAPI: (Scripted) Disintegrate include/linux/netfilter_bridge
        UAPI: (Scripted) Disintegrate include/linux/netfilter_arp
        UAPI: (Scripted) Disintegrate include/linux/netfilter/ipset
        UAPI: (Scripted) Disintegrate include/linux/netfilter
        UAPI: (Scripted) Disintegrate include/linux/isdn
        UAPI: (Scripted) Disintegrate include/linux/caif
        net: fix typo in freescale/ucc_geth.c
        vxlan: fix more sparse warnings
        ...
      aac2b1f5
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · 23d5385f
      Linus Torvalds 提交于
      Pull sparc update from David Miller:
       "This is just the UAPI commits for sparc via David Howells."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        UAPI: (Scripted) Disintegrate arch/sparc/include/asm
      23d5385f
    • L
      Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma · b7e97d22
      Linus Torvalds 提交于
      Pull slave-dmaengine updates from Vinod Koul:
       "This time we have Andy updates on dw_dmac which is attempting to make
        this IP block available as PCI and platform device though not fully
        complete this time.
      
        We also have TI EDMA moving the dma driver to use dmaengine APIs, also
        have a new driver for mmp-tdma, along with bunch of small updates.
      
        Now for your excitement the merge is little unusual here, while
        merging the auto merge on linux-next picks wrong choice for pl330
        (drivers/dma/pl330.c) and this causes build failure.  The correct
        resolution is in linux-next.  (DMA: PL330: Fix build error) I didn't
        back merge your tree this time as you are better than me so no point
        in doing that for me :)"
      
      Fixed the pl330 conflict as in linux-next, along with trivial header
      file conflicts due to changed includes.
      
      * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (29 commits)
        dma: tegra: fix interrupt name issue with apb dma.
        dw_dmac: fix a regression in dwc_prep_dma_memcpy
        dw_dmac: introduce software emulation of LLP transfers
        dw_dmac: autoconfigure data_width or get it via platform data
        dw_dmac: autoconfigure block_size or use platform data
        dw_dmac: get number of channels from hardware if possible
        dw_dmac: fill optional encoded parameters in register structure
        dw_dmac: mark dwc_dump_chan_regs as inline
        DMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources
        DMA: PL330: Remove redundant runtime_suspend/resume functions
        DMA: PL330: Remove controller clock enable/disable
        dmaengine: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
        DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
        ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
        dma: tegra: use list_move_tail instead of list_del/list_add_tail
        mxs/dma: Enlarge the CCW descriptor area to 4 pages
        dw_dmac: utilize slave_id to pass request line
        dmaengine: mmp_tdma: add dt support
        dmaengine: mmp-pdma support
        spi: davici - make davinci select edma
        ...
      b7e97d22
    • L
      Merge tag 'mmc-merge-for-3.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc · 943c2ace
      Linus Torvalds 提交于
      Pull MMC updates from Chris Ball:
       "Core:
         - Add DT properties for card detection (broken-cd, cd-gpios,
           non-removable)
         - Don't poll non-removable devices
         - Fixup/rework eMMC sleep mode/"power off notify" feature
         - Support eMMC background operations (BKOPS).  To set the one-time
           programmable fuse that enables bkops on an eMMC that doesn't
           already have it set, you can use the "mmc bkops enable" command in:
      
             git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
      
        Drivers:
         - atmel-mci, dw_mmc, pxa-mci, dove, s3c, spear: Add device tree
           support
         - bfin_sdh: Add support for the controller in bf60x
         - dw_mmc: Support Samsung Exynos SoCs
         - eSDHC: Add ADMA support
         - sdhci: Support testing a cd-gpio (from slot-gpio) instead of
           presence bit
         - sdhci-pltfm: Support broken-cd DT property
         - tegra: Convert to only supporting DT (mach-tegra has gone DT-only)"
      
      * tag 'mmc-merge-for-3.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (67 commits)
        mmc: core: Fixup broken suspend and eMMC4.5 power off notify
        mmc: sdhci-spear: Add clk_{un}prepare() support
        mmc: sdhci-spear: add device tree bindings
        mmc: sdhci-s3c: Add clk_(enable/disable) in runtime suspend/resume
        mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator
        mmc: sdhci-pxav3: Use sdhci_get_of_property for parsing DT quirks
        mmc: dt: Support "broken-cd" property in sdhci-pltfm
        mmc: sdhci-s3c: fix the wrong number of max bus clocks
        mmc: sh-mmcif: avoid oops on spurious interrupts
        mmc: sh-mmcif: properly handle MMC_WRITE_MULTIPLE_BLOCK completion IRQ
        mmc: sdhci-s3c: Fix crash on module insertion for second time
        mmc: sdhci-s3c: Enable only required bus clock
        mmc: Revert "mmc: dw_mmc: Add check for IDMAC configuration"
        mmc: mxcmmc: fix bug that may block a data transfer forever
        mmc: omap_hsmmc: Pass on the suspend failure to the PM core
        mmc: atmel-mci: AP700x PDC is not connected to MCI
        mmc: atmel-mci: DMA can be used with other controllers
        mmc: mmci: use clk_prepare_enable and clk_disable_unprepare
        mmc: sdhci-s3c: Add device tree support
        mmc: dw_mmc: add support for exynos specific implementation of dw-mshc
        ...
      943c2ace
    • L
      Merge tag 'for-linus-20121009' of git://git.infradead.org/mtd-2.6 · 10f39f04
      Linus Torvalds 提交于
      Pull MTD updates from David Woodhouse:
      
       - Disable broken mtdchar mmap() on MMU systems
       - Additional ECC tests for NAND flash, and some test cleanups
       - New NAND and SPI chip support
       - Fixes/cleanup for SH FLCTL NAND controller driver
       - Improved hardware support for GPMI NAND controller
       - Conversions to device-tree support for various drivers
       - Removal of obsolete drivers (sbc8xxx, bcmring, etc.)
       - New LPC32xx drivers for MLC and SLC NAND
       - Further cleanup of NAND OOB/ECC handling
       - UAPI cleanup merge from David Howells (just moving files, since MTD
         headers were sorted out long ago to separate user-visible from kernel
         bits)
      
      * tag 'for-linus-20121009' of git://git.infradead.org/mtd-2.6: (168 commits)
        mtd: Disable mtdchar mmap on MMU systems
        UAPI: (Scripted) Disintegrate include/mtd
        mtd: nand: detect Samsung K9GBG08U0A, K9GAG08U0F ID
        mtd: nand: decode Hynix MLC, 6-byte ID length
        mtd: nand: increase max OOB size to 640
        mtd: nand: add generic READ ID length calculation functions
        mtd: nand: split simple ID decode into its own function
        mtd: nand: split extended ID decoding into its own function
        mtd: nand: split BB marker options decoding into its own function
        mtd: nand: remove redundant ID read
        mtd: nand: remove unnecessary variable
        mtd: docg4: add missing HAS_IOMEM dependency
        mtd: gpmi: initialize the timing registers only one time
        mtd: gpmi: add EDO feature for imx6q
        mtd: gpmi: do not set the default values for the extra clocks
        mtd: gpmi: simplify the DLL setting code
        mtd: gpmi: add a new field for HW_GPMI_CTRL1
        mtd: gpmi: do not get the clock frequency in gpmi_begin()
        mtd: gpmi: add a new field for HW_GPMI_TIMING1
        mtd: add helpers to get the supportted ONFI timing mode
        ...
      10f39f04
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 72055425
      Linus Torvalds 提交于
      Pull btrfs update from Chris Mason:
       "This is a large pull, with the bulk of the updates coming from:
      
         - Hole punching
      
         - send/receive fixes
      
         - fsync performance
      
         - Disk format extension allowing more hardlinks inside a single
           directory (btrfs-progs patch required to enable the compat bit for
           this one)
      
        I'm cooking more unrelated RAID code, but I wanted to make sure this
        original batch makes it in.  The largest updates here are relatively
        old and have been in testing for some time."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (121 commits)
        btrfs: init ref_index to zero in add_inode_ref
        Btrfs: remove repeated eb->pages check in, disk-io.c/csum_dirty_buffer
        Btrfs: fix page leakage
        Btrfs: do not warn_on when we cannot alloc a page for an extent buffer
        Btrfs: don't bug on enomem in readpage
        Btrfs: cleanup pages properly when ENOMEM in compression
        Btrfs: make filesystem read-only when submitting barrier fails
        Btrfs: detect corrupted filesystem after write I/O errors
        Btrfs: make compress and nodatacow mount options mutually exclusive
        btrfs: fix message printing
        Btrfs: don't bother committing delayed inode updates when fsyncing
        btrfs: move inline function code to header file
        Btrfs: remove unnecessary IS_ERR in bio_readpage_error()
        btrfs: remove unused function btrfs_insert_some_items()
        Btrfs: don't commit instead of overcommitting
        Btrfs: confirmation of value is added before trace_btrfs_get_extent() is called
        Btrfs: be smarter about dropping things from the tree log
        Btrfs: don't lookup csums for prealloc extents
        Btrfs: cache extent state when writing out dirty metadata pages
        Btrfs: do not hold the file extent leaf locked when adding extent item
        ...
      72055425
    • L
      Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6 · fc81c038
      Linus Torvalds 提交于
      Pull CIFS fixes from Steve French.
      
      * 'for-linus' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: reinstate the forcegid option
        Convert properly UTF-8 to UTF-16
        [CIFS] WARN_ON_ONCE if kernel_sendmsg() returns -ENOSPC
      fc81c038
    • J
      RDS: fix rds-ping spinlock recursion · 5175a5e7
      jeff.liu 提交于
      This is the revised patch for fixing rds-ping spinlock recursion
      according to Venkat's suggestions.
      
      RDS ping/pong over TCP feature has been broken for years(2.6.39 to
      3.6.0) since we have to set TCP cork and call kernel_sendmsg() between
      ping/pong which both need to lock "struct sock *sk". However, this
      lock has already been hold before rds_tcp_data_ready() callback is
      triggerred. As a result, we always facing spinlock resursion which
      would resulting in system panic.
      
      Given that RDS ping is only used to test the connectivity and not for
      serious performance measurements, we can queue the pong transmit to
      rds_wq as a delayed response.
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      CC: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
      CC: David S. Miller <davem@davemloft.net>
      CC: James Morris <james.l.morris@oracle.com>
      Signed-off-by: NJie Liu <jeff.liu@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5175a5e7
    • M
      netdev/phy: Prototype of_mdio_find_bus() · 4085a7f0
      Mark Brown 提交于
      Ensure that of_mdio_find_bus() matches the prototype in the header (and
      stop sparse complaining) by including the header with the prototype.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4085a7f0
    • D
      farsync: fix support for over 30 cards · 50fb47ae
      Dan Carpenter 提交于
      We're trying to fill a 64 bit bitmap but only the lower 30 shifts work
      because the shift wraps around.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      50fb47ae
    • A
      be2net: Remove code that stops further access to BE NIC based on UE bits · 1451ae6e
      Ajit Khaparde 提交于
      On certain platforms, BE hardware could  falsely indicate UE.
      For BE family of NICs, do not set hw_error based on the UE bits.
      If there was a real fatal error, the corresponding h/w block will
      automatically go offline and stop traffic.
      Signed-off-by: NAjit Khaparde <ajit.khaparde@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1451ae6e
    • H
      pch_gbe: Fix build error by selecting all the possible dependencies. · 0f796579
      Haicheng Li 提交于
      Fengguang reported a kernel build failure as following:
      drivers/built-in.o: In function `pch_gbe_ioctl':
      pch_gbe_main.c:(.text+0x510370): undefined reference to `pch_ch_control_write'
      pch_gbe_main.c:(.text+0x510393): undefined reference to `pch_ch_control_write'
      pch_gbe_main.c:(.text+0x5103b3): undefined reference to `pch_ch_control_write'
      ...
      
      It's a regression by commit da158646. The root cause is that
      the CONFIG_PPS is not set there, consequently CONFIG_PTP_1588_CLOCK
      can not be set anyway, which finally causes ptp_pch and pch_gbe_main
      build failures.
      
      As David prefers to use *select* to fix such module co-dependency issues,
      this patch explicitly selects all the possible dependencies of PCH_PTP.
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Reviewed-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NHaicheng Li <haicheng.lee@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0f796579
    • D
      3db6857c
    • D
      8a3ddb88
    • D
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux · 8dd9117c
      David S. Miller 提交于
      Pulled mainline in order to get the UAPI infrastructure already
      merged before I pull in David Howells's UAPI trees for networking.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8dd9117c
    • D
      9836d345
  2. 09 10月, 2012 24 次提交