1. 07 3月, 2014 1 次提交
    • L
      ASoC: Intel: Check Haswell IPC process_reply/notification return value. · f69f41e1
      Liam Girdwood 提交于
      Check the return value for error when processing replies and notifications.
      
      The patch 22981243: "ASoC: Intel: Add Haswell/Broadwell IPC" from
      > Feb 20, 2014, leads to the following imaginary static checker warning:
      >
      > 	sound/soc/intel/sst-haswell-ipc.c:898 hsw_irq_thread()
      > 	warn: this is always true.
      >
      > sound/soc/intel/sst-haswell-ipc.c
      >    895                  /* Handle Immediate reply from DSP Core */
      >    896                  handled = hsw_process_reply(hsw, ipcx);
      >                                   ^^^^^^^^^^^^^^^^^
      > Returns 1 on success/error and -EIO on error.
      >
      >    897
      >    898                  if (handled) {
      >    899                          /* clear DONE bit - tell DSP we have completed */
      >    900                          sst_dsp_shim_update_bits_unlocked(sst, SST_IPCX,
      >    901                                  SST_IPCX_DONE, 0);
      >    902
      >    903                          /* unmask Done interrupt */
      >    904                          sst_dsp_shim_update_bits_unlocked(sst, SST_IMRX,
      >    905                                  SST_IMRX_DONE, 0);
      >    906                  }
      >
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      f69f41e1
  2. 06 3月, 2014 1 次提交
  3. 26 2月, 2014 7 次提交
  4. 25 2月, 2014 7 次提交
  5. 22 2月, 2014 6 次提交
  6. 20 2月, 2014 2 次提交
    • L
      ASoC: Intel: Fix build for sst-dsp.c on PPC architecture · afd95490
      Liam Girdwood 提交于
      Disable build on non X86 architectures except for compile testing. This fixes
      the following build errors on PPC and adds an option for testing the build on other
      architectures as suggested by Mark Brown :-
      
      sound/soc/intel/sst-dsp.c: In function 'sst_dsp_outbox_write':
      sound/soc/intel/sst-dsp.c:218:2: error: implicit declaration of function 'memcpy_toio' [-Werror=implicit-function-declaration]
        memcpy_toio(sst->mailbox.out_base, message, bytes);
        ^
      sound/soc/intel/sst-dsp.c: In function 'sst_dsp_outbox_read':
      sound/soc/intel/sst-dsp.c:231:2: error: implicit declaration of function 'memcpy_fromio' [-Werror=implicit-function-declaration]
        memcpy_fromio(message, sst->mailbox.out_base, bytes);
        ^
      Signed-off-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      afd95490
    • J
      ASoC: Intel: sst-acpi: Add support for multiple machine drivers per platform · 6dda27cb
      Jarkko Nikula 提交于
      Initial implementation of this driver focused only matching SST ACPI ID
      with single machine driver and same firmware file per platform. It was known
      restriction to be improved incrementally.
      
      This patch is now changing this that SST ACPI ID refers purely to platform
      specific data which refers to machine drivers on this platform, not vice
      versa.
      
      Matching machine driver is found by looking at ACPI ID which would best
      match with the driver. Typically this would be the ACPI ID of audio codec
      but is not tied to it.
      
      This patch also changes that DSP firmware name is machine not platform
      specific.
      Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com>
      Acked-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6dda27cb
  7. 19 2月, 2014 5 次提交
  8. 18 2月, 2014 5 次提交
  9. 12 2月, 2014 1 次提交
  10. 03 2月, 2014 5 次提交
    • L
      Linus 3.14-rc1 · 38dbfb59
      Linus Torvalds 提交于
      38dbfb59
    • L
      Merge branch 'parisc-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 69048e01
      Linus Torvalds 提交于
      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
    • M
      hpfs: optimize quad buffer loading · 1c0b8a7a
      Mikulas Patocka 提交于
      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: NMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1c0b8a7a
    • M
      hpfs: remember free space · 2cbe5c76
      Mikulas Patocka 提交于
      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: NMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
      Cc: stable@vger.kernel.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2cbe5c76
    • H
      parisc: add flexible mmap memory layout support · 9dabf60d
      Helge Deller 提交于
      Add support for the flexible mmap memory layout (as described in
      http://lwn.net/Articles/91829). This is especially very interesting on
      parisc since we currently only support 32bit userspace (even with a
      64bit Linux kernel).
      Signed-off-by: NHelge Deller <deller@gmx.de>
      9dabf60d