1. 13 Feb, 2014 1 commit
    • Olof Johansson's avatar
      dma: mv_xor: Silence a bunch of LPAE-related warnings · 31fd8f5b
      Olof Johansson authored
      Enabling some of the mvebu platforms in the multiplatform config for ARM
      enabled these drivers, which also triggered a bunch of warnings when LPAE
      is enabled (thus making phys_addr_t 64-bit).
      
      Most changes are switching printk formats, but also a bit of changes to what
      used to be array-based pointer arithmetic that could just be done with the
      address types instead.
      
      The warnings were:
      
      drivers/dma/mv_xor.c: In function 'mv_xor_tx_submit':
      drivers/dma/mv_xor.c:500:3: warning: format '%x' expects argument of type
          'unsigned int', but argument 4 has type 'dma_addr_t' [-Wformat]
      drivers/dma/mv_xor.c: In function 'mv_xor_alloc_chan_resources':
      drivers/dma/mv_xor.c:553:13: warning: cast to pointer from integer of
          different size [-Wint-to-pointer-cast]
      drivers/dma/mv_xor.c:555:4: warning: cast from pointer to integer of
          different size [-Wpointer-to-int-cast]
      drivers/dma/mv_xor.c: In function 'mv_xor_prep_dma_memcpy':
      drivers/dma/mv_xor.c:584:2: warning: format '%x' expects argument of type
          'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat]
      drivers/dma/mv_xor.c:584:2: warning: format '%x' expects argument of type
          'unsigned int', but argument 6 has type 'dma_addr_t' [-Wformat]
      drivers/dma/mv_xor.c: In function 'mv_xor_prep_dma_xor':
      drivers/dma/mv_xor.c:628:2: warning: format '%u' expects argument of type
          'unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat]
      Acked-by: default avatarVinod Koul <vinod.koul@intel.com>
      Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      31fd8f5b
  2. 11 Feb, 2014 1 commit
  3. 10 Feb, 2014 7 commits
  4. 07 Feb, 2014 6 commits
  5. 05 Feb, 2014 3 commits
  6. 03 Feb, 2014 7 commits
    • Rob Herring's avatar
      ARM: fix HAVE_ARM_TWD selection for OMAP and shmobile · 8b7dfa7d
      Rob Herring authored
      The selection of HAVE_ARM_TWD for OMAP and shmobile depend on LOCAL_TIMER
      which no longer exists. They should depend on SMP instead.
      
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Simon Horman <horms@verge.net.au>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      8b7dfa7d
    • Rob Herring's avatar
      ARM: moxart: move DMA_OF selection to driver · e803d988
      Rob Herring authored
      Move the DMA_OF selection to the DMA driver to fix kconfig warning:
      
      warning: (ARCH_MOXART) selects DMA_OF which has unmet direct dependencies (DMADEVICES && OF)
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e803d988
    • Rob Herring's avatar
      ARM: hisi: fix kconfig warning on HAVE_ARM_TWD · 57789d69
      Rob Herring authored
      Commit "ARM: hisi: don't select SMP" introduced a kconfig warning:
      warning: (ARCH_HI3xxx) selects HAVE_ARM_TWD which has unmet direct dependencies (SMP)
      
      Fix HAVE_ARM_TWD to depend on SMP.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      57789d69
    • Linus Torvalds's avatar
      Linus 3.14-rc1 · 38dbfb59
      Linus Torvalds authored
      38dbfb59
    • Linus Torvalds's avatar
      Merge branch 'parisc-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 69048e01
      Linus Torvalds authored
      Pull parisc updates from Helge Deller:
       "The three major changes in this patchset is a implementation for
        flexible userspace memory maps, cache-flushing fixes (again), and a
        long-discussed ABI change to make EWOULDBLOCK the same value as
        EAGAIN.
      
        parisc has been the only platform where we had EWOULDBLOCK != EAGAIN
        to keep HP-UX compatibility.  Since we will probably never implement
        full HP-UX support, we prefer to drop this compatibility to make it
        easier for us with Linux userspace programs which mostly never checked
        for both values.  We don't expect major fall-outs because of this
        change, and if we face some, we will simply rebuild the necessary
        applications in the debian archives"
      
      * 'parisc-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: add flexible mmap memory layout support
        parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
        parisc: convert uapi/asm/stat.h to use native types only
        parisc: wire up sched_setattr and sched_getattr
        parisc: fix cache-flushing
        parisc/sti_console: prefer Linux fonts over built-in ROM fonts
      69048e01
    • Mikulas Patocka's avatar
      hpfs: optimize quad buffer loading · 1c0b8a7a
      Mikulas Patocka authored
      HPFS needs to load 4 consecutive 512-byte sectors when accessing the
      directory nodes or bitmaps.  We can't switch to 2048-byte block size
      because files are allocated in the units of 512-byte sectors.
      
      Previously, the driver would allocate a 2048-byte area using kmalloc,
      copy the data from four buffers to this area and eventually copy them
      back if they were modified.
      
      In the current implementation of the buffer cache, buffers are allocated
      in the pagecache.  That means that 4 consecutive 512-byte buffers are
      stored in consecutive areas in the kernel address space.  So, we don't
      need to allocate extra memory and copy the content of the buffers there.
      
      This patch optimizes the code to avoid copying the buffers.  It checks
      if the four buffers are stored in contiguous memory - if they are not,
      it falls back to allocating a 2048-byte area and copying data there.
      Signed-off-by: default avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1c0b8a7a
    • Mikulas Patocka's avatar
      hpfs: remember free space · 2cbe5c76
      Mikulas Patocka authored
      Previously, hpfs scanned all bitmaps each time the user asked for free
      space using statfs.  This patch changes it so that hpfs scans the
      bitmaps only once, remembes the free space and on next invocation of
      statfs it returns the value instantly.
      
      New versions of wine are hammering on the statfs syscall very heavily,
      making some games unplayable when they're stored on hpfs, with load
      times in minutes.
      
      This should be backported to the stable kernels because it fixes
      user-visible problem (excessive level load times in wine).
      Signed-off-by: default avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2cbe5c76
  7. 02 Feb, 2014 12 commits
  8. 01 Feb, 2014 3 commits