1. 10 12月, 2016 2 次提交
    • B
      remoteproc: Remove "experimental" warning · a4ff18e9
      Bjorn Andersson 提交于
      Warning users that remoteproc and it's binary format are under
      development doesn't serve much of a purpose. Different drivers support
      different image formats and the resource table has a version field that
      would need to be bumped when incompatible changes are introduced.
      
      So lets drop this warning to clean up the kernel log.
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      a4ff18e9
    • A
      remoteproc: qcom_adsp_pil: select qcom_scm · 8af1d63e
      Arnd Bergmann 提交于
      The adsp-pil driver relies on SCM and causes a build error without it:
      
      ERROR: "qcom_scm_pas_supported" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
      ERROR: "qcom_scm_is_available" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
      ERROR: "qcom_scm_pas_auth_and_reset" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
      ERROR: "qcom_scm_pas_shutdown" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
      ERROR: "qcom_scm_pas_mem_setup" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
      ERROR: "qcom_scm_pas_init_image" [drivers/remoteproc/qcom_adsp_pil.ko] undefined!
      
      This adds a 'select', as SCM is a silent Kconfig symbol that gets
      enabled implicitly by all its users.
      
      Fixes: b9e718e9 ("remoteproc: Introduce Qualcomm ADSP PIL")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      8af1d63e
  2. 05 12月, 2016 1 次提交
  3. 03 12月, 2016 1 次提交
  4. 20 11月, 2016 2 次提交
  5. 19 11月, 2016 2 次提交
  6. 17 11月, 2016 4 次提交
  7. 16 11月, 2016 2 次提交
  8. 15 11月, 2016 11 次提交
  9. 14 11月, 2016 1 次提交
  10. 10 11月, 2016 1 次提交
  11. 03 11月, 2016 1 次提交
  12. 01 11月, 2016 3 次提交
  13. 20 10月, 2016 1 次提交
  14. 19 10月, 2016 5 次提交
    • A
      dmaengine: st_fdma: fix uninitialized variable access · 919b742f
      Arnd Bergmann 提交于
      The newly added st_fdma driver introduces a build warning for
      allmodconfig when we add '-Wmaybe-uninitialized':
      
      drivers/dma/st_fdma.c: In function 'st_fdma_probe':
      drivers/dma/st_fdma.c:777:5: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      The warning is correct, though this can't happen in practice
      as the check is redundant (we don't get to this function if
      the pointer is NULL). Even if the function were called with a
      NULL of_node, the check is not needed because of_property_read_u32
      can deal with a NULL argument by returning an error.
      
      Removing the unnecessary code simplifies the function and avoids
      the condition that we get the warning for.
      
      Fixes: 6b4cd727 ("dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NPeter Griffin <peter.griffin@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      919b742f
    • J
      remoteproc: qcom: wcnss_iris: Fix module autoload · af148e45
      Javier Martinez Canillas 提交于
      If the driver is built as a module, autoload won't work because the module
      alias information is not filled. So user-space can't match the registered
      device with the corresponding module.
      
      Export the module alias information using the MODULE_DEVICE_TABLE() macro.
      
      Before this patch:
      
      $ modinfo drivers/remoteproc/qcom_wcnss_iris.ko | grep alias
      $
      
      After this patch:
      
      $ modinfo drivers/remoteproc/qcom_wcnss_iris.ko | grep alias
      alias:          of:N*T*Cqcom,wcn3680C*
      alias:          of:N*T*Cqcom,wcn3680
      alias:          of:N*T*Cqcom,wcn3660C*
      alias:          of:N*T*Cqcom,wcn3660
      alias:          of:N*T*Cqcom,wcn3620C*
      alias:          of:N*T*Cqcom,wcn3620
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      af148e45
    • J
      remoteproc: qcom: wcnss: Fix module autoload · 4958aabb
      Javier Martinez Canillas 提交于
      If the driver is built as a module, autoload won't work because the module
      alias information is not filled. So user-space can't match the registered
      device with the corresponding module.
      
      Export the module alias information using the MODULE_DEVICE_TABLE() macro.
      
      Before this patch:
      
      $ modinfo drivers/remoteproc/qcom_wcnss.ko | grep alias
      $
      
      After this patch:
      
      $ modinfo drivers/remoteproc/qcom_wcnss.ko | grep alias
      alias:          of:N*T*Cqcom,pronto-v2-pilC*
      alias:          of:N*T*Cqcom,pronto-v2-pil
      alias:          of:N*T*Cqcom,pronto-v1-pilC*
      alias:          of:N*T*Cqcom,pronto-v1-pil
      alias:          of:N*T*Cqcom,riva-pilC*
      alias:          of:N*T*Cqcom,riva-pil
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      4958aabb
    • J
      remoteproc: qcom: q6v5_pil: Fix module autoload · 3227c876
      Javier Martinez Canillas 提交于
      If the driver is built as a module, autoload won't work because the module
      alias information is not filled. So user-space can't match the registered
      device with the corresponding module.
      
      Export the module alias information using the MODULE_DEVICE_TABLE() macro.
      
      Before this patch:
      
      $ modinfo drivers/remoteproc/qcom_q6v5_pil.ko | grep alias
      $
      
      After this patch:
      
      $ modinfo drivers/remoteproc/qcom_q6v5_pil.ko | grep alias
      alias:          of:N*T*Cqcom,q6v5-pilC*
      alias:          of:N*T*Cqcom,q6v5-pil
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      3227c876
    • M
      remoteproc: Keep local copy of firmware name · 0f57dc6a
      Matt Redfearn 提交于
      Storage of the firmware name was inconsistent, either storing a pointer
      to a name stored with unknown ownership, or a variable length tacked
      onto the end of the struct proc allocated in rproc_alloc.
      
      In preparation for allowing the firmware of an already allocated struct
      rproc to be changed, instead always keep a locally maintained copy of
      the firmware name.
      Signed-off-by: NMatt Redfearn <matt.redfearn@imgtec.com>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      0f57dc6a
  15. 18 10月, 2016 3 次提交