1. 27 Jul, 2012 8 commits
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 25918f98
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "A mixed bag of fixes, some for merge window fallout (tegra, MXS), and
        a short series of fixes for marvell platforms that didn't make it in
        before 3.5."
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: mxs: fix compile error caused by prom_update_property change
        ARM: dt: tegra trimslice: enable USB2 port
        ARM: dt: tegra trimslice: add vbus-gpio property
        ARM: vt8500: Add maintainer for VT8500 architecture
        ARM: Kirkwood: Replace mrvl with marvell
        ARM: Orion: fix driver probe error handling with respect to clk
        ARM: Dove: Fixup ge00 initialisation
        ARM: Kirkwood: Fix PHY disable clk problems
        ARM: Kirkwood: Ensure runit clock always ticks.
        ARM: versatile: Don't use platform clock for Integrator & VE
        ARM: tegra: harmony: add regulator supply name and its input supply
      25918f98
    • Linus Torvalds's avatar
      Merge branch 'for-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds · aa0b3b2b
      Linus Torvalds authored
      Pull LED subsystem update from Bryan Wu.
      
      * 'for-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: (50 commits)
        leds-lp8788: forgotten unlock at lp8788_led_work
        LEDS: propagate error codes in blinkm_detect()
        LEDS: memory leak in blinkm_led_common_set()
        leds: add new lp8788 led driver
        LEDS: add BlinkM RGB LED driver, documentation and update MAINTAINERS
        leds: max8997: Simplify max8997_led_set_mode implementation
        leds/leds-s3c24xx: use devm_gpio_request
        leds: convert Network Space v2 LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert DAC124S085 LED driver to devm_kzalloc()
        leds: convert LM3530 LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert TCA6507 LED driver to devm_kzalloc()
        leds: convert Freescale MC13783 LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert ADP5520 LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert PCA955x LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert Sun Fire LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert PCA9532 LED driver to devm_kzalloc()
        leds: convert LT3593 LED driver to devm_kzalloc()
        leds: convert Renesas TPU LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert LP5523 LED driver to devm_kzalloc() and cleanup error exit path
        leds: convert PCA9633 LED driver to devm_kzalloc()
        ...
      aa0b3b2b
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · 6ee127b7
      Linus Torvalds authored
      Pull sparc updates from David Miller:
       "Nothing much this merge window for sparc.
      
        1) Fix FPU state management in sparc32, from Tkhai Kirill.
      
        2) More sparc32 mm layer code cleanups, largely more side effects of
           the sun4c support removal in the 3.5 From Sam Ravnborg.
      
        3) Remove unused code in sparc64, from Bjorn Helgaas and Kirill Tkhai.
      
        4) Some declaration and comment tidies in PROM support code, from
           Geert Uytterhoeven."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: (24 commits)
        sparc32, copy_thread: Clear TIF_USEDFPU flag of created task instead of current
        sparc32: delete dead code in show_mem()
        sparc32: move kmap_init() to highmem.c
        sparc32: move probe_memory() to srmmu.c
        sparc32: drop unused BAD_PAGE stuff
        sparc32: centralize all mmu context handling in srmmu.c
        sparc32: drop quicklist
        sparc32: drop sparc model check in paging_init
        sparc32: drop sparc_unmapped_base
        sparc32,leon: drop leon_init()
        sparc32: drop fixmap.h
        sparc32: fixmap.h cleanup
        sparc32: drop unused kmap_atomic_to_page
        sparc32: drop swapper_pg_dir
        sparc32: beautify srmmu_inherit_prom_mappings()
        sparc32: use void * in nocache get/free
        sparc32: fix coding-style in srmmu.c
        sparc32: sort includes in srmmu.c
        sparc32: define a few srmmu functions __init
        sparc64: remove unused function straddles_64bit_va_hole()
        ...
      6ee127b7
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 1e30c1b3
      Linus Torvalds authored
      Pull networking updates and fixes from David Miller:
      
      1) Reinstate the no-ref optimization for input route lookups in ipv4 to
         fix some routing cache removal perf regressions.
      
      2) Make TCP socket pre-demux work on ipv6 side too, from Eric Dumazet.
      
      3) Get RX hash value from correct place in be2net driver, from
         Sarveshwar Bandi.
      
      4) Validation of FIB cached routes missing critical check, from Eric
         Dumazet.
      
      5) EEH support in mlx4 driver, from Kleber Sacilotto de Souza.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (23 commits)
        ipv6: Early TCP socket demux
        ipv4: Fix input route performance regression.
        pch_gbe: vlan skb len fix
        pch_gbe: add extra clean tx
        pch_gbe: fix transmit watchdog timeout
        ixgbe: fix panic while dumping packets on Tx hang with IOMMU
        be2net: Fix to parse RSS hash from Receive completions correctly.
        net/mlx4_en: Limit the RFS filter IDs to be < RPS_NO_FILTER
        hyperv: Add error handling to rndis_filter_device_add()
        hyperv: Add a check for ring_size value
        ipv4: rt_cache_valid must check expired routes
        net/pch_gpe: Cannot disable ethernet autonegation
        qeth: repair crash in qeth_l3_vlan_rx_kill_vid()
        netiucv: cleanup attribute usage
        net: wiznet add missing HAS_IOMEM dependency
        be2net: Missing byteswap in be_get_fw_log_level causes oops on PowerPC
        mlx4: Add support for EEH error recovery
        cdc-ncm: tag Ericsson WWAN devices (eg F5521gw) with FLAG_WWAN
        wanmain: comparing array with NULL
        caif: fix NULL pointer check
        ...
      1e30c1b3
    • Stephen Rothwell's avatar
      Btrfs: using vmalloc and friends needs vmalloc.h · a1857ebe
      Stephen Rothwell authored
      On powerpc, we don't get the implicit vmalloc.h include, and as a result
      the build fails noisily:
      
        fs/btrfs/send.c: In function 'fs_path_free':
        fs/btrfs/send.c:185:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
        fs/btrfs/send.c: In function 'fs_path_ensure_buf':
        fs/btrfs/send.c:215:4: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
        fs/btrfs/send.c:215:12: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c:225:12: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c:233:13: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c: In function 'iterate_dir_item':
        fs/btrfs/send.c:900:10: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c:909:11: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c: In function 'btrfs_ioctl_send':
        fs/btrfs/send.c:4463:17: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c:4469:17: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c:4475:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
        fs/btrfs/send.c:4475:20: warning: assignment makes pointer from integer without a cast [enabled by default]
        fs/btrfs/send.c:4483:21: warning: assignment makes pointer from integer without a cast [enabled by default]
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a1857ebe
    • Devendra Naga's avatar
      leds-lp8788: forgotten unlock at lp8788_led_work · d45bb116
      Devendra Naga authored
      at default case of switch we return with out unlocking the mutex.
      Signed-off-by: default avatarDevendra Naga <develkernel412222@gmail.com>
      Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
      d45bb116
    • Dan Carpenter's avatar
      LEDS: propagate error codes in blinkm_detect() · 18d4a06f
      Dan Carpenter authored
      Use the error codes from the lower levels instead of -ENODEV.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: default avatarJan-Simon Möller <jansimon.moeller@gmx.de>
      Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
      18d4a06f
    • Dan Carpenter's avatar
      LEDS: memory leak in blinkm_led_common_set() · 4d8729a1
      Dan Carpenter authored
      This can return without freeing the bl_work struct.  Also there was no
      check for allocation failure.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: default avatarJan-Simon Möller <jansimon.moeller@gmx.de>
      Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
      4d8729a1
  2. 26 Jul, 2012 32 commits
    • Tkhai Kirill's avatar
      sparc32, copy_thread: Clear TIF_USEDFPU flag of created task instead of current · 427f23cb
      Tkhai Kirill authored
      FPU state is saved into task_struct of created task. Current task continues
      use of the state, so it needs TIF_USEDFPU flag is not cleared.
      
      Created task receives fresh FPU and cleared TIF_USEFPU flag is required for it.
      Signed-off-by: default avatarKirill Tkhai <tkhai@yandex.ru>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      427f23cb
    • Sam Ravnborg's avatar
      a0ce3ba0
    • Sam Ravnborg's avatar
      sparc32: move kmap_init() to highmem.c · 9a4d5b93
      Sam Ravnborg authored
      Try to keep highmem support in a more central place.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9a4d5b93
    • Sam Ravnborg's avatar
      sparc32: move probe_memory() to srmmu.c · d8a1b2b9
      Sam Ravnborg authored
      Only one user so move it to the file using it.
      It had nothing to do in fault_32.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d8a1b2b9
    • Sam Ravnborg's avatar
      sparc32: drop unused BAD_PAGE stuff · 2acdf2ce
      Sam Ravnborg authored
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2acdf2ce
    • Sam Ravnborg's avatar
    • Sam Ravnborg's avatar
      sparc32: drop quicklist · 59b00c79
      Sam Ravnborg authored
      The quicklist stuff is not used anymore - drop it.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      59b00c79
    • Sam Ravnborg's avatar
      sparc32: drop sparc model check in paging_init · cc52aea9
      Sam Ravnborg authored
      We already check the model in head_32.S so no need to
      repeat the check here
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cc52aea9
    • Sam Ravnborg's avatar
      sparc32: drop sparc_unmapped_base · c966a337
      Sam Ravnborg authored
      The base is always the same so no need to use a variable for this.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c966a337
    • Sam Ravnborg's avatar
      sparc32,leon: drop leon_init() · d884297a
      Sam Ravnborg authored
      This function was only used to set of_pdt_build_more to leon_node_init().
      But the leon_node_init() was a nop as prom_amba_init was never assigned.
      
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Konrad Eisele <konrad@gaisler.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d884297a
    • Sam Ravnborg's avatar
      sparc32: drop fixmap.h · 1b6d06d8
      Sam Ravnborg authored
      sparc32 does not support fixmaps - so do not pretend so by
      having the fixmap.h file.
      Move relevant parts to vaddrs.h.
      
      I looked at simplifying this even more but failed to understand
      the reasoning behind the extra guard page involved and due to
      missing testing possibilities only the trivial conversion was done.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1b6d06d8
    • Sam Ravnborg's avatar
      sparc32: fixmap.h cleanup · c00db321
      Sam Ravnborg authored
      Remove all unused stuff from fixmap.h
      It is only used for highmem - sparc32 has no fixmap support.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c00db321
    • Sam Ravnborg's avatar
      sparc32: drop unused kmap_atomic_to_page · 5bbeed12
      Sam Ravnborg authored
      No users left of this function - drop it.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5bbeed12
    • Sam Ravnborg's avatar
      sparc32: drop swapper_pg_dir · 881e02d2
      Sam Ravnborg authored
      We save one page of RAM dropping swapper_pg_dir.
      It was only used for an assignment in init-mm.c and we
      redid this later in srmmu.c anyway.
      
      This is likely a left-over from the sun4c removal.
      
      To avoid a dummy variable we use a simple #define swapper_pg_dir NULL
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      881e02d2
    • Sam Ravnborg's avatar
      7cdfbc74
    • Sam Ravnborg's avatar
      sparc32: use void * in nocache get/free · f71a2aac
      Sam Ravnborg authored
      This allowed to us to kill a lot of casts,
      with no loss of readability in any places
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f71a2aac
    • Sam Ravnborg's avatar
      sparc32: fix coding-style in srmmu.c · 605ae962
      Sam Ravnborg authored
      Fix the most annoying issues that distracts me:
      - whitespace
      - missing space after "if" and "while"
      - spaces around operators
      and similar simple things.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      605ae962
    • Sam Ravnborg's avatar
      sparc32: sort includes in srmmu.c · 4a049b03
      Sam Ravnborg authored
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4a049b03
    • Sam Ravnborg's avatar
      sparc32: define a few srmmu functions __init · 32442467
      Sam Ravnborg authored
      They are only used during early init so lets get rid of them
      after init to save some RAM.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      32442467
    • Linus Torvalds's avatar
      Merge tag 'remoteproc-for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc · a9197f90
      Linus Torvalds authored
      Pull remoteproc update from Ohad Ben-Cohen:
       - custom binary format support from Sjur Brændeland
       - groundwork for recovery and runtime pm support
       - some cleanups and API simplifications
      
      Fix up conflicts in drivers/remoteproc/remoteproc_core.c due to clashes
      with earlier cleanups by Sjur Brændeland (with part of the cleanups
      moved into the new remoteproc_elf_loader.c file).
      
      * tag 'remoteproc-for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc:
        MAINTAINERS: add remoteproc's git
        remoteproc: Support custom firmware handlers
        remoteproc: Move Elf related functions to separate file
        remoteproc: Add function rproc_get_boot_addr
        remoteproc: Pass struct fw to load_segments and find_rsc_table.
        remoteproc: adopt the driver core's alloc/add/del/put naming
        remoteproc: remove the get_by_name/put API
        remoteproc: support non-iommu carveout assignment
        remoteproc: simplify unregister/free interfaces
        remoteproc: remove the now-redundant kref
        remoteproc: maintain a generic child device for each rproc
        remoteproc: allocate vrings on demand, free when not needed
      a9197f90
    • Eric Dumazet's avatar
      ipv6: Early TCP socket demux · c7109986
      Eric Dumazet authored
      This is the IPv6 missing bits for infrastructure added in commit
      41063e9d (ipv4: Early TCP socket demux.)
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c7109986
    • David S. Miller's avatar
      ipv4: Fix input route performance regression. · c6cffba4
      David S. Miller authored
      With the routing cache removal we lost the "noref" code paths on
      input, and this can kill some routing workloads.
      
      Reinstate the noref path when we hit a cached route in the FIB
      nexthops.
      
      With help from Eric Dumazet.
      Reported-by: default avatarAlexander Duyck <alexander.duyck@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c6cffba4
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · e2aed8df
      Linus Torvalds authored
      Pull large btrfs update from Chris Mason:
       "This pull request is very large, and the two main features in here
        have been under testing/devel for quite a while.
      
        We have subvolume quotas from the strato developers.  This enables
        full tracking of how many blocks are allocated to each subvolume (and
        all snapshots) and you can set limits on a per-subvolume basis.  You
        can also create quota groups and toss multiple subvolumes into a big
        group.  It's everything you need to be a web hosting company and give
        each user their own subvolume.
      
        The userland side of the quotas is being refreshed, they'll send out
        details on where to grab it soon.
      
        Next is the kernel side of btrfs send/receive from Alexander Block.
        This leverages the same infrastructure as the quota code to figure out
        relationships between blocks and their owners.  It can then compute
        the difference between two snapshots and sends the diffs in a neutral
        format into userland.
      
        The basic model:
      
              create a snapshot
              send that snapshot as the initial backup
              make changes
              create a second snapshot
              send the incremental as a backup
              delete the first snapshot
              (use the second snapshot for the next incremental)
      
        The receive portion is all in userland, and in the 'next' branch of my
        btrfs-progs repo.
      
        There's still some work to do in terms of optimizing the send side
        from kernel to userland.  The really important part is figuring out
        how two snapshots are different, and this is where we are
        concentrating right now.  The initial send of a dataset is a little
        slower than tar, but the incremental sends are dramatically faster
        than what rsync can do.
      
        On top of all of that, we have a nice queue of fixes, cleanups and
        optimizations."
      
      Fix up trivial modify/del conflict in fs/btrfs/ioctl.c
      
      Also fix up semantic conflict in fs/btrfs/send.c: the interface to
      dentry_open() changed in commit 765927b2 ("switch dentry_open() to
      struct path, make it grab references itself"), and since it now grabs
      whatever references it needs, we should no longer do the mntget() on the
      mnt (and we need to dput() the dentry reference we took).
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (65 commits)
        Btrfs: uninit variable fixes in send/receive
        Btrfs: introduce BTRFS_IOC_SEND for btrfs send/receive
        Btrfs: add btrfs_compare_trees function
        Btrfs: introduce subvol uuids and times
        Btrfs: make iref_to_path non static
        Btrfs: add a barrier before a waitqueue_active check
        Btrfs: call the ordered free operation without any locks held
        Btrfs: Check INCOMPAT flags on remount and add helper function
        Btrfs: add helper for tree enumeration
        btrfs: allow cross-subvolume file clone
        Btrfs: improve multi-thread buffer read
        Btrfs: make btrfs's allocation smoothly with preallocation
        Btrfs: lock the transition from dirty to writeback for an eb
        Btrfs: fix potential race in extent buffer freeing
        Btrfs: don't return true in releasepage unless we actually freed the eb
        Btrfs: suppress printk() if all device I/O stats are zero
        Btrfs: remove unwanted printk() for btrfs device I/O stats
        Btrfs: rewrite BTRFS_SETGET_FUNCS
        Btrfs: zero unused bytes in inode item
        Btrfs: kill free_space pointer from inode structure
        ...
      
      Conflicts:
      	fs/btrfs/ioctl.c
      e2aed8df
    • Andy Cress's avatar
      pch_gbe: vlan skb len fix · 4487e64d
      Andy Cress authored
      pch_gbe_xmit_frame skb->len verification was incorrect in vlan case
      causing bogus transfer length errors.  One correction could be:
          offset = skb->protocol == htons(ETH_P_8021Q) ? 0 : 4;
          if (unlikely(skb->len > (adapter->hw.mac.max_frame_size - offset)))
      However, this verification is not necessary, so remove it.
      Signed-off-by: default avatarAndy Cress <andy.cress@us.kontron.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4487e64d
    • Andy Cress's avatar
      pch_gbe: add extra clean tx · f2c31662
      Andy Cress authored
      This adds extra cleaning to the pch_gbe_clean_tx routine to avoid
      transmit timeouts on some BCM PHYs that have different timing.
      Also update the DRV_VERSION to 1.01, and show it.
      Signed-off-by: default avatarAndy Cress <andy.cress@us.kontron.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f2c31662
    • Andy Cress's avatar
      pch_gbe: fix transmit watchdog timeout · 913f53e4
      Andy Cress authored
      An extended ping test with 6 vlans resulted in a driver oops with a
      netdev transmit timeout.
      Fix WATCHDOG_TIMEOUT to be more like e1000e at 5 * HZ, to avoid
      unnecessary transmit timeouts.
      Signed-off-by: default avatarAndy Cress <andy.cress@us.kontron.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      913f53e4
    • Emil Tantilov's avatar
      ixgbe: fix panic while dumping packets on Tx hang with IOMMU · 9c50c035
      Emil Tantilov authored
      This patch resolves a "BUG: unable to handle kernel paging request at ..."
      oops while dumping packet data. The issue occurs with IOMMU enabled due to
      the address provided by phys_to_virt().
      
      This patch makes use of skb->data on Tx and the virtual address of the pages
      allocated for Rx.
      Signed-off-by: default avatarEmil Tantilov <emil.s.tantilov@intel.com>
      Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9c50c035
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux · 47652500
      Linus Torvalds authored
      Pull ACPI & power management update from Len Brown:
       "Re-write of the turbostat tool.
           lower overhead was necessary for measuring very large system when
           they are very idle.
      
        IVB support in intel_idle
           It's what I run on my IVB, others should be able to also:-)
      
        ACPICA core update
           We have found some bugs due to divergence between Linux and the
           upstream ACPICA base.  Most of these patches are to reduce that
           divergence to reduce the risk of future bugs.
      
        Some cpuidle updates, mostly for non-Intel
           More will be coming, as they depend on this part.
      
        Some thermal management changes needed by non-ACPI systems.
      
        Some _OST (OS Status Indication) updates for hot ACPI hot-plug."
      
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (51 commits)
        Thermal: Documentation update
        Thermal: Add Hysteresis attributes
        Thermal: Make Thermal trip points writeable
        ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check
        tools/power: turbostat: fix large c1% issue
        tools/power: turbostat v2 - re-write for efficiency
        ACPICA: Update to version 20120711
        ACPICA: AcpiSrc: Fix some translation issues for Linux conversion
        ACPICA: Update header files copyrights to 2012
        ACPICA: Add new ACPI table load/unload external interfaces
        ACPICA: Split file: tbxface.c -> tbxfload.c
        ACPICA: Add PCC address space to space ID decode function
        ACPICA: Fix some comment fields
        ACPICA: Table manager: deploy new firmware error/warning interfaces
        ACPICA: Add new interfaces for BIOS(firmware) errors and warnings
        ACPICA: Split exception code utilities to a new file, utexcep.c
        ACPI: acpi_pad: tune round_robin_time
        ACPICA: Update to version 20120620
        ACPICA: Add support for implicit notify on multiple devices
        ACPICA: Update comments; no functional change
        ...
      47652500
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · bd22dc17
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "One of the smaller drm -next pulls in ages!
      
        Ben (nouveau) has a rewrite in progress but we decided to leave it
        stew for another cycle, so just some fixes from him.
      
         - radeon: lots of documentation work, fixes, more ring and locking
           changes, pcie gen2, more dp fixes.
         - i915: haswell features, gpu reset fixes, /dev/agpgart removal on
           machines that we never used it on, more VGA/HDP fix., more DP fixes
         - drm core: cleanups from Daniel, sis 64-bit fixes, range allocator
           colouring.
      
        but yeah fairly quiet merge this time, probably because I missed half
        of it!"
      
      Trivial add-add conflict in include/linux/pci_regs.h
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (255 commits)
        drm/nouveau: init vblank requests list
        drm/nv50: extend vblank semaphore to generic dmaobj + offset pair
        drm/nouveau: mark most of our ioctls as deprecated, move to compat layer
        drm/nouveau: move current gpuobj code out of nouveau_object.c
        drm/nouveau/gem: fix object reference leak in a failure path
        drm/nv50: rename INVALID_QUERY_OR_TEXTURE error to INVALID_OPERATION
        drm/nv84: decode PCRYPT errors
        drm/nouveau: dcb table quirk for fdo#50830
        nouveau: Fix alignment requirements on src and dst addresses
        drm/i915: unbreak lastclose for failed driver init
        drm/i915: Set the context before setting up regs for the context.
        drm/i915: constify mode in crtc_mode_fixup
        drm/i915/lvds: ditch ->prepare special case
        drm/i915: dereferencing an error pointer
        drm/i915: fix invalid reference handling of the default ctx obj
        drm/i915: Add -EIO to the list of known errors for __wait_seqno
        drm/i915: Flush the context object from the CPU caches upon switching
        drm/radeon: fix dpms on/off on trinity/aruba v2
        drm/radeon: on hotplug force link training to happen (v2)
        drm/radeon: fix hotplug of DP to DVI|HDMI passive adapters (v2)
        ...
      bd22dc17
    • Linus Torvalds's avatar
      Merge tag 'dlm-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm · 548ed102
      Linus Torvalds authored
      Pull dlm updatesfrom David Teigland:
       "This set includes a major redesign of recording the master node for
        resources.  The old dir hash table, which just held the master node
        for each resource, has been removed.  The rsb hash table has always
        duplicated the master node value from the dir, and is now the single
        record of it.
      
        Having two full hash tables of all resources has always been a waste,
        especially since one just duplicated a single value from the other.
        Local requests will now often require one instead of two lengthy hash
        table searches.
      
        The other substantial change is made possible by the dirtbl removal,
        and fixes a long standing race between resource removal and lookup by
        reworking how removal is done.  At the same time it improves the
        efficiency of removal by avoiding repeated searches through a hash
        bucket.
      
        The other commits include minor fixes and changes."
      
      * tag 'dlm-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
        dlm: fix missing dir remove
        dlm: fix conversion deadlock from recovery
        dlm: use wait_event_timeout
        dlm: fix race between remove and lookup
        dlm: use idr instead of list for recovered rsbs
        dlm: use rsbtbl as resource directory
      548ed102
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 · 98077a72
      Linus Torvalds authored
      Pull CIFS fixes from Steve French.
      
      * 'for-next' of git://git.samba.org/sfrench/cifs-2.6: (40 commits)
        cifs: ensure that we always do cifsFileInfo_get under the spinlock
        CIFS: Make CAP_* checks protocol independent
        CIFS: Allow SMB2 statistics to be tracked
        CIFS: Move clear/print_stats code to ops struct
        CIFS: Add echo request support for SMB2
        CIFS: Move echo code to osp struct
        CIFS: Add SMB2 support for async requests
        CIFS: Setup async request in ops struct
        CIFS: Add SMB2 support for build_path_to_root
        CIFS: Move building path to root to ops struct
        CIFS: Query SMB2 inode info
        CIFS: Move query inode info code to ops struct
        CIFS: Add SMB2 support for is_path_accessible
        CIFS: Move is_path_accessible to ops struct
        CIFS: Move informational tcon calls to ops struct
        CIFS: Move getting dfs referalls to ops struct
        CIFS: Process reconnects for SMB2 shares
        CIFS: Add tree connect/disconnect capability for SMB2
        CIFS: Add session setup/logoff capability for SMB2
        CIFS: Add capability to send SMB2 negotiate message
        ...
      98077a72
    • Linus Torvalds's avatar
      Merge tag 'gpio-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · f948ad07
      Linus Torvalds authored
      Pull GPIO changes from Linus Walleij:
       - New driver for AMD-8111 southbridge GPIOs
       - New driver for Wolfson Micro Arizona devices
       - Propagate device tree parse errors
       - Probe deferral finalizations - all expected calls to GPIO will now
         hopefully request deferral where apropriate
       - Misc updates to TCA6424, WM8994, LPC32xx, PCF857x, Samsung MXC, OMAP
         and PCA953X drivers.
      
      Fix up gpio_idx conflicts in drivers/gpio/gpio-mxc.c
      
      * tag 'gpio-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio: of_get_named_gpio_flags() return -EPROBE_DEFER if GPIO not yet available
        gpiolib: Defer failed gpio requests by default
        MAINTAINERS: add entry OMAP GPIO driver
        gpio/pca953x: increase variables size to support 24 bit of data
        GPIO: PCA953X: Increase size of invert variable to support 24 bit
        gpio/omap: move bank->dbck initialization to omap_gpio_mod_init()
        gpio/mxc: use the edge_sel feature if available
        gpio: propagate of_parse_phandle_with_args errors
        gpio: samsung: add flags specifier to device-tree binding
        gpiolib: Add support for Wolfson Microelectronics Arizona class devices
        gpio: gpio-lpc32xx: Add gpio_to_irq mapping
        gpio: pcf857x: share 8/16 bit access functions
        gpio: LPC32xx: Driver cleanup
        MAINTAINERS: Add Wolfson gpiolib drivers to the Wolfson entry
        gpiolib: wm8994: Convert to devm_kzalloc()
        gpiolib: wm8994: Use irq_domain mappings for gpios
        gpio: add a driver for GPIO pins found on AMD-8111 south bridge chips
        gpio/tca6424: merge I2C transactions, remove cast
        gpio/of: fix a typo of comment message
      f948ad07