1. 30 Oct, 2014 1 commit
    • Jie Yang's avatar
      ASoC: Intel: Fix block is enabled multiple times issue · 35c0a8c0
      Jie Yang authored
      During FW parsing and loading, block_list_prepare() may
      be called for each raw data block copying and this may
      made the hsw_block_enable() called mutiple times, which
      increase block->users many times. The result of this is
      hsw_block_disable() can't power gated the related block
      when trying to free the blocks during suspend, and the
      power gating status also confused.
      
      Here check the block user status, only calling enable()
      for those blocks who has no user yet. Remember that
      this works correctlly on current case, where there are
      enough SRAM memory so different module won't share a
      memory block. For further usage, we may need restructure
      the struct sst_mem_block to save the module list who is
      using it.
      Signed-off-by: default avatarJie Yang <yang.jie@intel.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      35c0a8c0
  2. 29 Oct, 2014 6 commits
  3. 28 Oct, 2014 1 commit
    • Liam Girdwood's avatar
      ASoC: Intel: Make ADSP memory block allocation more generic · e9600bc1
      Liam Girdwood authored
      Current block allocation is tied to block type and requestor type. Make the
      allocation more generic by removing the struct module parameter and adding
      a generic block allocator structure. Also pass in the list that the blocks
      have to be added too in order to remove dependence on block requestor type.
      
      ASoC: Intel: update scratch allocator to use generic block allocator
      
      Update the scratch allocator to use the generic block allocator and calculate
      total scratch buffer size.
      
      ASoC: Intel: Add call to calculate offsets internally within the DSP.
      
      A call to calculate internal DSP memory addresses used to allocate persistent
      and scartch buffers.
      
      ASoC: Intel: Add runtime module support.
      
      Add support for runtime module objects that can be created for every FW
      module that is parsed from the FW file. This gives a 1:N mapping between
      the FW module from file and the runtime instantiations of that module.
      
      We also need to make sure we remove every module and runtime module when
      we unload the FW.
      
      ASoC: Intel: Add DMA firmware loading support
      
      Add support for DMA to load firmware modules to the DSP memory blocks.
      Two DMA engines are supported, DesignWare and Intel MID.
      
      ASoC: Intel: Add runtime module lookup API call
      
      Add an API to allow quick lookup of runtime modules based on ID.
      
      ASoC: Intel: Provide streams with dynamic module information
      
      Remove the hard coded module paramaters and provide each module with
      dynamically generated buffer information for scratch and persistent
      buffers.
      Signed-off-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e9600bc1
  4. 27 Oct, 2014 3 commits
  5. 21 Oct, 2014 5 commits
  6. 20 Oct, 2014 21 commits
  7. 19 Oct, 2014 3 commits
    • Linus Torvalds's avatar
      Merge git://git.infradead.org/users/eparis/audit · ab074ade
      Linus Torvalds authored
      Pull audit updates from Eric Paris:
       "So this change across a whole bunch of arches really solves one basic
        problem.  We want to audit when seccomp is killing a process.  seccomp
        hooks in before the audit syscall entry code.  audit_syscall_entry
        took as an argument the arch of the given syscall.  Since the arch is
        part of what makes a syscall number meaningful it's an important part
        of the record, but it isn't available when seccomp shoots the
        syscall...
      
        For most arch's we have a better way to get the arch (syscall_get_arch)
        So the solution was two fold: Implement syscall_get_arch() everywhere
        there is audit which didn't have it.  Use syscall_get_arch() in the
        seccomp audit code.  Having syscall_get_arch() everywhere meant it was
        a useless flag on the stack and we could get rid of it for the typical
        syscall entry.
      
        The other changes inside the audit system aren't grand, fixed some
        records that had invalid spaces.  Better locking around the task comm
        field.  Removing some dead functions and structs.  Make some things
        static.  Really minor stuff"
      
      * git://git.infradead.org/users/eparis/audit: (31 commits)
        audit: rename audit_log_remove_rule to disambiguate for trees
        audit: cull redundancy in audit_rule_change
        audit: WARN if audit_rule_change called illegally
        audit: put rule existence check in canonical order
        next: openrisc: Fix build
        audit: get comm using lock to avoid race in string printing
        audit: remove open_arg() function that is never used
        audit: correct AUDIT_GET_FEATURE return message type
        audit: set nlmsg_len for multicast messages.
        audit: use union for audit_field values since they are mutually exclusive
        audit: invalid op= values for rules
        audit: use atomic_t to simplify audit_serial()
        kernel/audit.c: use ARRAY_SIZE instead of sizeof/sizeof[0]
        audit: reduce scope of audit_log_fcaps
        audit: reduce scope of audit_net_id
        audit: arm64: Remove the audit arch argument to audit_syscall_entry
        arm64: audit: Add audit hook in syscall_trace_enter/exit()
        audit: x86: drop arch from __audit_syscall_entry() interface
        sparc: implement is_32bit_task
        sparc: properly conditionalize use of TIF_32BIT
        ...
      ab074ade
    • Olof Johansson's avatar
      Merge tag 'qcom-dt-for-3.18-3' of... · 57764512
      Olof Johansson authored
      Merge tag 'qcom-dt-for-3.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom into fixes
      
      Merge "qcom DT changes for v3.18-3" from Kumar Gala:
      
      Qualcomm ARM Based Device Tree Updates for v3.18-3
      
      * Added Board support for CM-QS600 and Sony Xperia Z1 phone
      * Added SATA support on IPQ8064/AP148
      
      * tag 'qcom-dt-for-3.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom:
        ARM: dts: qcom: add CM-QS600 board
        ARM: dts: qcom: Add initial DTS file for Sony Xperia Z1 phone
        ARM: dts: qcom: Add SATA support on IPQ8064/AP148
      57764512
    • Olof Johansson's avatar
      Merge tag 'samsung-fixes-2' of... · e29c6486
      Olof Johansson authored
      Merge tag 'samsung-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
      
      Pull more fixes from Kukjin Kim:
      
      2nd Samsung fixes for v3.18
      - Explicitly set dr_mode on exynos5800-peach-pi, exynos5420-peach-pit
        and exynos5420-arndale-octa boards, because the USB dwc3 controller
        will not work properly without dr_mode as host on above boards if
        the USB host and gadget are enabled in kernel configuration both.
      
      * tag 'samsung-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: dts: Explicitly set dr_mode on exynos5420-arndale-octa
        ARM: dts: Explicitly set dr_mode on exynos Peach boards
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e29c6486