1. 20 1月, 2012 6 次提交
  2. 19 1月, 2012 16 次提交
  3. 18 1月, 2012 18 次提交
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · ccb19d26
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (47 commits)
        tg3: Fix single-vector MSI-X code
        openvswitch: Fix multipart datapath dumps.
        ipv6: fix per device IP snmp counters
        inetpeer: initialize ->redirect_genid in inet_getpeer()
        net: fix NULL-deref in WARN() in skb_gso_segment()
        net: WARN if skb_checksum_help() is called on skb requiring segmentation
        caif: Remove bad WARN_ON in caif_dev
        caif: Fix typo in Vendor/Product-ID for CAIF modems
        bnx2x: Disable AN KR work-around for BCM57810
        bnx2x: Remove AutoGrEEEn for BCM84833
        bnx2x: Remove 100Mb force speed for BCM84833
        bnx2x: Fix PFC setting on BCM57840
        bnx2x: Fix Super-Isolate mode for BCM84833
        net: fix some sparse errors
        net: kill duplicate included header
        net: sh-eth: Fix build error by the value which is not defined
        net: Use device model to get driver name in skb_gso_segment()
        bridge: BH already disabled in br_fdb_cleanup()
        net: move sock_update_memcg outside of CONFIG_INET
        mwl8k: Fixing Sparse ENDIAN CHECK warning
        ...
      ccb19d26
    • M
      tg3: Fix single-vector MSI-X code · c3b5003b
      Matt Carlson 提交于
      Kdump kernels leave MSI-X interrupts (as setup by the crashed kernel)
      enabled.  However, kdump only enables one CPU in the new environment,
      thus causing tg3 to abort MSI-X setup.  When the driver attempts to
      enable INTA or MSI interrupt modes on a kdump kernel, interrupt
      delivery fails.
      
      This patch attempts to workaround the problem by forcing the driver
      to enable a single MSI-X interrupt.  In such a configuration, the
      device's multivector interrupt mode must be disabled.
      Signed-off-by: NMatt Carlson <mcarlson@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c3b5003b
    • B
      openvswitch: Fix multipart datapath dumps. · 77676fdb
      Ben Pfaff 提交于
      The logic to split up the list of datapaths into multiple Netlink messages
      was simply wrong, causing the list to be terminated after the first part.
      Only about the first 50 datapaths would be dumped.  This fixes the
      problem.
      Reported-by: NPaul Ingram <paul@nicira.com>
      Signed-off-by: NBen Pfaff <blp@nicira.com>
      Signed-off-by: NJesse Gross <jesse@nicira.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      77676fdb
    • E
      ipv6: fix per device IP snmp counters · 766e9f1b
      Eric Dumazet 提交于
      In commit 4ce3c183 (snmp: 64bit ipstats_mib for all arches), I forgot
      to change the /proc/net/dev_snmp6/xxx output for IP counters.
      
      percpu array is 64bit per counter but the folding still used the 'long'
      variant, and output garbage on 32bit arches.
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      766e9f1b
    • L
      Merge tag 'arm-soc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 6a488979
      Linus Torvalds 提交于
      ARM: fixes for ARM platforms
      
      Some fallout from the 3.3. merge window as well as a couple bug fixes
      for older preexisting bugs that seem valid to include at this time:
      
      * sched_clock changes broke picoxcell, fix included
      * BSYM bugs causing issues with thumb2-built kernels on SMP
      * Missing module.h include on msm.
      * A collection of bugfixes for samsung platforms that didn't make it into
        the first pull requests.
      
      * tag 'arm-soc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: make BSYM macro assembly only
        ARM: highbank: remove incorrect BSYM usage
        ARM: imx: remove incorrect BSYM usage
        ARM: exynos: remove incorrect BSYM usage
        ARM: ux500: add missing ENDPROC to headsmp.S
        ARM: msm: Add missing ENDPROC to headsmp.S
        ARM: versatile: Add missing ENDPROC to headsmp.S
        ARM: EXYNOS: Invert VCLK polarity for framebuffer on ORIGEN
        ARM: S3C64XX: Fix interrupt configuration for PCA935x on Cragganmore
        ARM: S3C64XX: Fix the memory mapped GPIOs on Cragganmore
        ARM: S3C64XX: Remove hsmmc1 from Cragganmore
        ARM: S3C64XX: Remove unconditional power domain disables
        ARM: SAMSUNG: Declare struct platform_device in plat/s3c64xx-spi.h
        ARM: SAMSUNG: dma-ops.h needs mach/dma.h
        ARM: SAMSUNG: Guard against multiple inclusion of plat/dma.h
        ARM: picoxcell: fix sched_clock() cleanup fallout
        ARM: msm: vreg is a module and so needs module.h
      6a488979
    • L
      Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma · 57f2685c
      Linus Torvalds 提交于
      * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (53 commits)
        ARM: mach-shmobile: specify CHCLR registers on SH7372
        dma: shdma: fix runtime PM: clear channel buffers on reset
        dma/imx-sdma: save irq flags when use spin_lock in sdma_tx_submit
        dmaengine/ste_dma40: clear LNK on channel startup
        dmaengine: intel_mid_dma: remove legacy pm interface
        ASoC: mxs: correct 'direction' of device_prep_dma_cyclic
        dmaengine: intel_mid_dma: error path fix
        dmaengine: intel_mid_dma: locking and freeing fixes
        mtd: gpmi-nand: move to dma_transfer_direction
        mtd: fix compile error for gpmi-nand
        mmc: mxs-mmc: fix the dma_transfer_direction migration
        dmaengine: add DMA_TRANS_NONE to dma_transfer_direction
        dma: mxs-dma: Don't use CLKGATE bits in CTRL0 to disable DMA channels
        dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe
        dma: mxs-dma: Always leave mxs_dma_init() with the clock disabled.
        dma: mxs-dma: fix a typo in comment
        DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove
        video i.MX IPU: Fix display connections
        i.MX IPU DMA: Fix wrong burstsize settings
        dmaengine/ste_dma40: allow fixed physical channel
        ...
      
      Fix up conflicts in drivers/dma/{Kconfig,mxs-dma.c,pl330.c}
      
      The conflicts looked pretty trivial, but I'll ask people to verify them.
      57f2685c
    • L
      Merge branch 'upstream-linus' of git://github.com/jgarzik/libata-dev · 488a9d01
      Linus Torvalds 提交于
      * 'upstream-linus' of git://github.com/jgarzik/libata-dev:
        [libata] ata_piix: Add Toshiba Satellite Pro A120 to the quirks list due to broken suspend functionality.
        [libata] add DVRTD08A and DVR-215 to NOSETXFER device quirk list
        [libata] pata_bf54x: Support sg list in bmdma transfer.
        [libata] sata_fsl: fix the controller operating mode
        [libata] enable ata port async suspend
      488a9d01
    • A
      x86-32: Fix build failure with AUDIT=y, AUDITSYSCALL=n · 6015ff10
      Al Viro 提交于
      JONGMAN HEO reports:
      
        With current linus git (commit a25a2b84), I got following build error,
      
        arch/x86/kernel/vm86_32.c: In function 'do_sys_vm86':
        arch/x86/kernel/vm86_32.c:340: error: implicit declaration of function '__audit_syscall_exit'
        make[3]: *** [arch/x86/kernel/vm86_32.o] Error 1
      
      OK, I can reproduce it (32bit allmodconfig with AUDIT=y, AUDITSYSCALL=n)
      
      It's due to commit d7e7528b: "Audit: push audit success and retcode
      into arch ptrace.h".
      Reported-by: NJONGMAN HEO <jongman.heo@samsung.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6015ff10
    • B
      [libata] ata_piix: Add Toshiba Satellite Pro A120 to the quirks list · b73fa463
      Benjamin Larsson 提交于
      due to broken suspend functionality.
      Signed-off-by: NBenjamin Larsson <benjamin@southpole.se>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      b73fa463
    • V
    • S
      [libata] pata_bf54x: Support sg list in bmdma transfer. · 81b0287d
      Sonic Zhang 提交于
      BF54x on-chip ATAPI controller allows maximum 0x1fffe bytes to be transfered
      in one ATAPI transfer. So, set the max sg_tablesize to 4.
      Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      81b0287d
    • J
      [libata] sata_fsl: fix the controller operating mode · 93272b13
      Jerry Huang 提交于
      Configure the FSL SATA controller to the preferred, enterprise mode.
      Signed-off-by: NYutaka Ando <r46913@freescale.com>
      Signed-off-by: NJerry Huang <Chang-Ming.Huang@freescale.com>
      CC: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      93272b13
    • L
      [libata] enable ata port async suspend · 966f1212
      Lin Ming 提交于
      This saves devices suspend/resume time.
      
      Tested system suspend/resume with SATA IDE/AHCI mode 3 times.
      Below is the time took for devices suspend/resume.
      
      SATA mode    vanilla-kernel           patched-kernel
      ---------    ---------------------    ---------------------
      IDE          suspend: 0.744           suspend: 0.432
                   (0.716, 0.768, 0.748)    (0.440, 0.428, 0.428)
      
                   resume: 5.084            resume: 2.209
                   (5.100, 5.064, 5.088)    (2.168, 2.232, 2.228)
      
      AHCI:        suspend: 0.725           suspend: 0.449
                   (0.740, 0.708, 0.728)    (0.456, 0.448, 0.444)
      
                   resume: 2.556            resume: 1.896
                   (2.604, 2.492, 2.572)    (1.932, 1.872, 1.884)
      Signed-off-by: NLin Ming <ming.m.lin@intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      966f1212
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · a25a2b84
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        integrity: digital signature config option name change
        lib: Removed MPILIB, MPILIB_EXTRA, and SIGNATURE prompts
        lib: MPILIB Kconfig description update
        lib: digital signature dependency fix
        lib: digital signature config option name change
        encrypted-keys: fix rcu and sparse messages
        keys: fix trusted/encrypted keys sparse rcu_assign_pointer messages
        KEYS: Add missing smp_rmb() primitives to the keyring search code
        TOMOYO: Accept \000 as a valid character.
        security: update MAINTAINERS file with new git repo
      a25a2b84
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit · f429ee3b
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit: (29 commits)
        audit: no leading space in audit_log_d_path prefix
        audit: treat s_id as an untrusted string
        audit: fix signedness bug in audit_log_execve_info()
        audit: comparison on interprocess fields
        audit: implement all object interfield comparisons
        audit: allow interfield comparison between gid and ogid
        audit: complex interfield comparison helper
        audit: allow interfield comparison in audit rules
        Kernel: Audit Support For The ARM Platform
        audit: do not call audit_getname on error
        audit: only allow tasks to set their loginuid if it is -1
        audit: remove task argument to audit_set_loginuid
        audit: allow audit matching on inode gid
        audit: allow matching on obj_uid
        audit: remove audit_finish_fork as it can't be called
        audit: reject entry,always rules
        audit: inline audit_free to simplify the look of generic code
        audit: drop audit_set_macxattr as it doesn't do anything
        audit: inline checks for not needing to collect aux records
        audit: drop some potentially inadvisable likely notations
        ...
      
      Use evil merge to fix up grammar mistakes in Kconfig file.
      
      Bad speling and horrible grammar (and copious swearing) is to be
      expected, but let's keep it to commit messages and comments, rather than
      expose it to users in config help texts or printouts.
      f429ee3b
    • L
      Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs · 22b4eb5e
      Linus Torvalds 提交于
      * 'for-linus' of git://oss.sgi.com/xfs/xfs:
        xfs: cleanup xfs_file_aio_write
        xfs: always return with the iolock held from xfs_file_aio_write_checks
        xfs: remove the i_new_size field in struct xfs_inode
        xfs: remove the i_size field in struct xfs_inode
        xfs: replace i_pin_wait with a bit waitqueue
        xfs: replace i_flock with a sleeping bitlock
        xfs: make i_flags an unsigned long
        xfs: remove the if_ext_max field in struct xfs_ifork
        xfs: remove the unused dm_attrs structure
        xfs: cleanup xfs_iomap_eof_align_last_fsb
        xfs: remove xfs_itruncate_data
      22b4eb5e
    • L
      Merge branch 'btrfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d65773b2
      Linus Torvalds 提交于
      * 'btrfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        btrfs: take allocation of ->tree_root into open_ctree()
        btrfs: let ->s_fs_info point to fs_info, not root...
        btrfs: consolidate failure exits in btrfs_mount() a bit
        btrfs: make free_fs_info() call ->kill_sb() unconditional
        btrfs: merge free_fs_info() calls on fill_super failures
        btrfs: kill pointless reassignment of ->s_fs_info in btrfs_fill_super()
        btrfs: make open_ctree() return int
        btrfs: sanitizing ->fs_info, part 5
        btrfs: sanitizing ->fs_info, part 4
        btrfs: sanitizing ->fs_info, part 3
        btrfs: sanitizing ->fs_info, part 2
        btrfs: sanitizing ->fs_info, part 1
        btrfs: fix a deadlock in btrfs_scan_one_device()
        btrfs: fix mount/umount race
        btrfs: get ->kill_sb() of its own
        btrfs: preparation to fixing mount/umount race
      d65773b2
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · f9156c72
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (62 commits)
        Btrfs: use larger system chunks
        Btrfs: add a delalloc mutex to inodes for delalloc reservations
        Btrfs: space leak tracepoints
        Btrfs: protect orphan block rsv with spin_lock
        Btrfs: add allocator tracepoints
        Btrfs: don't call btrfs_throttle in file write
        Btrfs: release space on error in page_mkwrite
        Btrfs: fix btrfsck error 400 when truncating a compressed
        Btrfs: do not use btrfs_end_transaction_throttle everywhere
        Btrfs: add balance progress reporting
        Btrfs: allow for resuming restriper after it was paused
        Btrfs: allow for canceling restriper
        Btrfs: allow for pausing restriper
        Btrfs: add skip_balance mount option
        Btrfs: recover balance on mount
        Btrfs: save balance parameters to disk
        Btrfs: soft profile changing mode (aka soft convert)
        Btrfs: implement online profile changing
        Btrfs: do not reduce profile in do_chunk_alloc()
        Btrfs: virtual address space subset filter
        ...
      
      Fix up trivial conflict in fs/btrfs/ioctl.c due to the use of the new
      mnt_drop_write_file() helper.
      f9156c72