1. 02 Apr, 2009 11 commits
    • Andy Grover's avatar
      RDS: Rewrite connection cleanup, fixing oops on rmmod · 745cbcca
      Andy Grover authored
      This fixes a bug where a connection was unexpectedly
      not on *any* list while being destroyed. It also
      cleans up some code duplication and regularizes some
      function names.
      
      * Grab appropriate lock in conn_free() and explain in comment
      * Ensure via locking that a conn is never not on either
        a dev's list or the nodev list
      * Add rds_xx_remove_conn() to match rds_xx_add_conn()
      * Make rds_xx_add_conn() return void
      * Rename remove_{,nodev_}conns() to
        destroy_{,nodev_}conns() and unify their implementation
        in a helper function
      * Document lock ordering as nodev conn_lock before
        dev_conn_lock
      Reported-by: default avatarYosef Etigin <yosefe@voltaire.com>
      Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      745cbcca
    • Andy Grover's avatar
      RDS: Fix m_rs_lock deadlock · f1cffcbf
      Andy Grover authored
      rs_send_drop_to() is called during socket close. If it takes
      m_rs_lock without disabling interrupts, then
      rds_send_remove_from_sock() can run from the rx completion
      handler and thus deadlock.
      Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f1cffcbf
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Kconfig and Makefile · f1782852
      Ramkrishna Vepa authored
      - Kconfig and Makefile related changes for vxge driver.
      
      - No changes in current submission.
      
      - Changes from previous submission -
       - Incorporated the following review comments as per Bill Flink:
              - Add dependancy on INET along with PCI
              - Remove dependancy on INET_LRO and add GRO support.
       - Made this patch as last patch as per Ben Hutchings comments.
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f1782852
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Driver version · 5f548a32
      Ramkrishna Vepa authored
      - Driver version
      
      - Changes from previous submission -
       - Updated driver version.
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5f548a32
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Ethtool related · d26078fe
      Ramkrishna Vepa authored
      This patch implements all ethtool related entry point functions for the driver.
      
      - Changes in this submission -
              - Removed redundant #include statements
      
      - Changes in previous submissions -
              - Removed unused statistics.
              - General clean up - removed unused variables and macros.
       - Incorporated following comments from Ben Hutchings
              - No need to restart the interface in vxge_ethtool_sset
              - Do not use #ifdef ADVERTISED_XX
              - Remove unnecessart intermediate copy in vxge_ethtool_gdrvinfo
              - Use strlcpy() to ensure null-termination.
              - Use ethtool_op_get_tso, ethtool_op_set_tx_hw_csum instead
                of redefining the same code.
              - Implement get_strings_count instead of deprecated get_stats_count.
              - Don't report reporting the EEPROM length as we don't supprt
                get/set eeprom.
              - Don't set self_test_count as we don't support any self tests.
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d26078fe
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Main entry points · 703da5a1
      Ramkrishna Vepa authored
      This patch implements all the driver entry point functions.
      - Definition of all module loadable paramters.
      - Implementation of all driver entry point functions.
      
      - Changes in this submission -
              - Fixed compilation error when enabling debug statements
              - Fixed few warnings when CONFIG_PCI_MSI is not defined
              - Removed unnecessary volatile variables
              - Removed compare_ether_addr as it causes unaligned memory access on
                the sparc64 platform.
      
      - Changes in previous submissions -
              - As per Stephen Hemminger's comments removed the following loadable
                parameters - gro, rx_& tx max_indicate_pkts, exec_mode, rx & tx
                pause_enable, tx_steering_type and intr_type.
              - Added Device ID definition in vxge-main.h instead of
                include/linux/pci_ids.h file - Reported by David Miller
       - Incorporated following review comments from Ben Hutchings
              - NAPI is always enabled (no option to turn it OFF).
              - Loadable parameters
               rx_steering_type: This loadable option is removed.
               ring_blocks: This loadable option is removed.
               The driver default settings work well in most if not all cases.
               Another patch to configure these parameters with ethtool will be
               released in the future.
       - LRO has been deprecated in favour of GRO - Bill Fink & Dave Miller's comment
       - Fixed sparse warnings - Reported by Andi Kleen
       - Removed unused variables
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      703da5a1
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Traffic & alarm handler · 11324132
      Ramkrishna Vepa authored
      This patch takes care of trafic handling related APIS.
      - Interrupt Enable and disable
      - Mask / Unmask Interrupt
      - Traffic Interrupt handling.
      - Alarm Interrupt handling.
      
      - Changes in this submission -
              - General clean up - removed redundant includes, defines and macros.
      
      - Changes in previous submissions -
       - General cleanup - removed unused functions and variables.
       - Use asserts where necessary - Reported by Andi Kleen
       - Fixed sparse warnings - Reported by Andi Kleen
       - Use a prefix, "__vxge" in front of hw functions to make them globally
         unique - Ben Hutchings
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      11324132
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Hardware init & configuration · 40a3a915
      Ramkrishna Vepa authored
      This patch takes care of Initialization and configuration steps of
      Neterion Inc's X3100 Series 10GbE PCIe I/O Virtualized Server Adapter.
      - Device Initialization.
      - Verification and setting of device config parameters.
      - Allocation of Tx FIFO and Rx Ring descriptors (DTR).
      - APIs to get various type of hw stats
      - APIs to configure RTS (Receive Traffic Steering)
      
      - Changes in this submission -
              - Include vmalloc header without which a compilation error occured
                on sparc64, ppc64 and IA64 plaforms.
      	- Fixed compilation warning in register_poll, write32_upper,
                write32_lower and the special write64 functions on ppc64.
              - General cleanup - removed redundant includes and defines.
      
      - Changes in previous submissions -
              - Add readq/writeq implementation for the driver for 32 bit systems -
                reported by Dave Miller.
      - Incorporated following comments from Ben Hutchings
              - Start a comment with "/**" to make it a kernel-doc comment.
              - Use prefix, "__vxge" in front of hw functions to make them globally
                unique.
              - Fixed unnecessary clearing members of *channel just before freeing
              - Use backslashes only for macro definitions and not in multi-line
                statements.
              - Used pci_find_capability instead of redefining it.
              - Used device and revision ids that are already in pdev - no need to
                read them again.
              - Used pci_save_state() and pci_restore_state() around resets.
              - Used udelay and mdelay directly instead of wrapper.
              - In __vxge_hw_device_register_poll() reset i to 0 after the
                microsecond delay loop to commence the millisecond delay loop.
              - Corrected spelling "sapper" - should be "swapper"
              - Remove too much vertical whitespace.
              - Replaced magic numbers with appropriate macros
      - Incorporated following comments from Andi Kleen [andi@firstfloor.org]
              - Reduced the arguments in functions or refactored them into smaller
              functions.
              - Allocate page sized memories used in slow path with vmalloc.
              - Use asserts where necessary.
              - Use macros instead of magic numbers.
              - Use the pci layer code instead of defining own functions
              - Remove driver wrappers such as xge_hw_device_private_set().
              - Fixed sparse warnings.
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      40a3a915
    • Ramkrishna Vepa's avatar
      Neterion: New driver: register set - vxge-reg.h · 66d97fed
      Ramkrishna Vepa authored
      - Complete Register map details of Neterion Inc's X3100 Series 10GbE PCIe I/O
        Virtualized Server Adapter.
      
      - No change from previous submission.
      
      - Changes in previous submissions -
      - Incorporated following comments from Ben Hutchings
              - Use original macros for endian checks
              - Remove VXGE_OS_PLATFORM_* macros as they are unused.
              - Converted multiple bVALX macros into single with additional
                width parameter and renamed it to vxge_bVALn.
              - Using __packed instead of pragma pack(1)
              - Added a comment of the use of a hw swapper so driver code is
                portable (does not have to change the byte order for register
                access as well as dma operations) on different ENDIAN platforms.
              - Using the <linux/pci_regs.h> definitions instead of redefing them.
              - Using the PCI capabilities registers in <linux/pci_regs.h>
                instead of redefing them.
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      66d97fed
    • Ramkrishna Vepa's avatar
      Neterion: New driver: Update Maintainer list · b136d1cb
      Ramkrishna Vepa authored
      - update to Maintainer list of S2IO 10GbE drivers (xframe/vxge).
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b136d1cb
    • Ramkrishna Vepa's avatar
      Neterion: Driver help file · 5adfb64b
      Ramkrishna Vepa authored
      - vxge driver help text file.
      
      - No change from previous submission.
      
      - Changes in previous submissions -
        Removed the performance tuning section with instructions to disable
        time stamps and change sysctl settings - Reported by Dave Miller
        General clean up.
       - Removed tx/rx_pause, exec_mode, tx_steering_type, rx_steering_type, gro,
         intr_type, rx & tx max_indicate_pkts and exec_mode loadable parameters. The
         driver default settings work well in most if not all cases. Another patch
         to configure these parameters with ethtool will be released in the future -
         Reported by Stephen Hemminger.
      - Incorporated following fixes based on comments from Ben Hutchings
              Removed references to earlier kernel versions.
              Removed sections that are similar for all drivers -
                      Load/Unload
                      Identifying the adapter/interface
                      Boot time configuration
              Removed loadable parameter -
                      NAPI - Napi is always enabled.
                      rx_steering_type & ring_blocks - The driver default settings
                      work well in most if not all cases. Another patch to configure
                      these parameters with ethtool will be released in the future.
              Removed ethtool support section - No need to duplicate ethtool
                      docs here.
              Removed Known Issue on SUSE 9 - Doesn't apply when using a
                      current kernel.
              Removed Common Problems section - These don't apply to in-tree modules.
              Removed Available Downloads section - Not sure this belongs in-tree.
              Removed Copyright information - This notice doesn't belong in
                      the kernel.
      Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5adfb64b
  2. 31 Mar, 2009 5 commits
  3. 30 Mar, 2009 3 commits
  4. 29 Mar, 2009 14 commits
  5. 28 Mar, 2009 7 commits
    • Linus Torvalds's avatar
      Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 · 07d43ba9
      Linus Torvalds authored
      * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
        i2c-core: Some style cleanups
        i2c-piix4: Add support for the Broadcom HT1100 chipset
        i2c-piix4: Add support to SB800 SMBus changes
        i2c-pca-platform: Use defaults if no platform_data given
        i2c-algo-pca: Use timeout for checking the state machine
        i2c-algo-pca: Rework waiting for a free bus
        i2c-algo-pca: Add PCA9665 support
        i2c: Adapt debug macros for KERN_* constants
        i2c-davinci: Fix timeout handling
        i2c: Adapter timeout is in jiffies
        i2c: Set a default timeout value for all adapters
        i2c: Add missing KERN_* constants to printks
        i2c-algo-pcf: Handle timeout correctly
        i2c-algo-pcf: Style cleanups
        eeprom/at24: Remove EXPERIMENTAL
        i2c-nforce2: Add support for MCP67, MCP73, MCP78S and MCP79
        i2c: Clarify which clients are auto-removed
        i2c: Let checkpatch shout on users of the legacy model
        i2c: Document the different ways to instantiate i2c devices
      07d43ba9
    • Linus Torvalds's avatar
      Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm · 0fe41b89
      Linus Torvalds authored
      * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (422 commits)
        [ARM] 5435/1: fix compile warning in sanity_check_meminfo()
        [ARM] 5434/1: ARM: OMAP: Fix mailbox compile for 24xx
        [ARM] pxa: fix the bad assumption that PCMCIA sockets always start with 0
        [ARM] pxa: fix Colibri PXA300 and PXA320 LCD backlight pins
        imxfb: Fix TFT mode
        i.MX21/27: remove ifdef CONFIG_FB_IMX
        imxfb: add clock support
        mxc: add arch_reset() function
        clkdev: add possibility to get a clock based on the device name
        i.MX1: remove fb support from mach-imx
        [ARM] pxa: build arch/arm/plat-pxa/mfp.c only when PXA3xx or ARCH_MMP defined
        Gemini: Add support for Teltonika RUT100
        Gemini: gpiolib based GPIO support v2
        MAINTAINERS: add myself as Gemini architecture maintainer
        ARM: Add Gemini architecture v3
        [ARM] OMAP: Fix compile for omap2_init_common_hw()
        MAINTAINERS: Add myself as Faraday ARM core variant maintainer
        ARM: Add support for FA526 v2
        [ARM] acorn,ebsa110,footbridge,integrator,sa1100: Convert asm/io.h to linux/io.h
        [ARM] collie: fix two minor formatting nits
        ...
      0fe41b89
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-async-for-30 · eedf2c52
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-async-for-30:
        fastboot: remove duplicate unpack_to_rootfs()
        ide/net: flip the order of SATA and network init
        async: remove the temporary (2.6.29) "async is off by default" code
      
      Fix up conflicts in init/initramfs.c manually
      eedf2c52
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 · 0151f94f
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
        Blackfin arch: be less noisy when gets a gpio conflict after kernel has booted
        Blackfin arch: add RSI's definitions to bf514 and bf516
        Blackfin arch: add link-time asserts to make sure on-chip regions dont overflow
        Blackfin arch: sport spi needs 6 gpio pins
        Blackfin arch: add sport-spi related resource stuff to board file
        Blackfin arch: Blacklist Hibernate (PM_SUSPEND_MEM) on BF561 as well
        Blackfin arch: Privide BF537-STAMP platform data of ADP5520 Multifunction driver
        Blackfin arch: enable the platfrom PATA driver with CF Cards
        Blackfin arch: clean up sports header file
        Blackfin arch: convert BF5{18,27,48}_FAMILY to CONFIG_BF{51,52,54}x
        Blackfin arch: bf51x processors also have 8 timers
        Blackfin arch: add a check to make sure only Blackfin GPIOs may generate IRQs
        Blackfin arch: update default kernel configuration
        Blackfin arch: include linux headers that this one uses definitions from fro sport drivers
      0151f94f
    • Linus Torvalds's avatar
      Merge branch 'percpu-cpumask-x86-for-linus-2' of... · 7c730ccd
      Linus Torvalds authored
      Merge branch 'percpu-cpumask-x86-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'percpu-cpumask-x86-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (682 commits)
        percpu: fix spurious alignment WARN in legacy SMP percpu allocator
        percpu: generalize embedding first chunk setup helper
        percpu: more flexibility for @dyn_size of pcpu_setup_first_chunk()
        percpu: make x86 addr <-> pcpu ptr conversion macros generic
        linker script: define __per_cpu_load on all SMP capable archs
        x86: UV: remove uv_flush_tlb_others() WARN_ON
        percpu: finer grained locking to break deadlock and allow atomic free
        percpu: move fully free chunk reclamation into a work
        percpu: move chunk area map extension out of area allocation
        percpu: replace pcpu_realloc() with pcpu_mem_alloc() and pcpu_mem_free()
        x86, percpu: setup reserved percpu area for x86_64
        percpu, module: implement reserved allocation and use it for module percpu variables
        percpu: add an indirection ptr for chunk page map access
        x86: make embedding percpu allocator return excessive free space
        percpu: use negative for auto for pcpu_setup_first_chunk() arguments
        percpu: improve first chunk initial area map handling
        percpu: cosmetic renames in pcpu_setup_first_chunk()
        percpu: clean up percpu constants
        x86: un-__init fill_pud/pmd/pte
        x86: remove vestigial fix_ioremap prototypes
        ...
      
      Manually merge conflicts in arch/ia64/kernel/irq_ia64.c
      7c730ccd
    • Zhenwen Xu's avatar
      i2c-core: Some style cleanups · 09b8ce0a
      Zhenwen Xu authored
      Some lines over 80. 
      The printk(KERN_ERR ... ) should be dev_err.
      And some blankspace should be deleted.
      Signed-off-by: default avatarZhenwen Xu <helight.xu@gmail.com>
      Signed-off-by: default avatarJean Delvare <khlai@linux-fr.org>
      09b8ce0a
    • Flavio Leitner's avatar
      i2c-piix4: Add support for the Broadcom HT1100 chipset · 506a8b6c
      Flavio Leitner authored
      Add support for the Broadcom HT1100 LD chipset (SMBus function.)
      Signed-off-by: default avatarFlavio Leitner <fbl@redhat.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      506a8b6c