1. 27 9月, 2018 2 次提交
  2. 31 7月, 2018 1 次提交
  3. 19 6月, 2018 4 次提交
  4. 26 4月, 2018 1 次提交
  5. 28 3月, 2018 1 次提交
    • A
      soc: qcom: qmi: add CONFIG_NET dependency · dea4bd19
      Arnd Bergmann 提交于
      Access to the socket API and the root network namespace is only available
      when networking is enabled:
      
      ERROR: "kernel_sendmsg" [drivers/soc/qcom/qmi_helpers.ko] undefined!
      ERROR: "sock_release" [drivers/soc/qcom/qmi_helpers.ko] undefined!
      ERROR: "sock_create_kern" [drivers/soc/qcom/qmi_helpers.ko] undefined!
      ERROR: "kernel_getsockname" [drivers/soc/qcom/qmi_helpers.ko] undefined!
      ERROR: "init_net" [drivers/soc/qcom/qmi_helpers.ko] undefined!
      ERROR: "kernel_recvmsg" [drivers/soc/qcom/qmi_helpers.ko] undefined!
      
      Adding a dependency on CONFIG_NET lets us build it in all randconfig
      builds.
      
      Fixes: 9b8a11e8 ("soc: qcom: Introduce QMI encoder/decoder")
      Acked-by: NAndy Gross <andy.gross@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      dea4bd19
  6. 13 2月, 2018 2 次提交
  7. 26 10月, 2017 1 次提交
  8. 11 10月, 2017 1 次提交
    • A
      remoteproc: qcom: fix RPMSG_QCOM_GLINK_SMEM dependencies · ab759b97
      Arnd Bergmann 提交于
      When RPMSG_QCOM_GLINK_SMEM=m and one driver causes the qcom_common.c file
      to be compiled as built-in, we get a link error:
      
      drivers/remoteproc/qcom_common.o: In function `glink_subdev_remove':
      qcom_common.c:(.text+0x130): undefined reference to `qcom_glink_smem_unregister'
      qcom_common.c:(.text+0x130): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `qcom_glink_smem_unregister'
      drivers/remoteproc/qcom_common.o: In function `glink_subdev_probe':
      qcom_common.c:(.text+0x160): undefined reference to `qcom_glink_smem_register'
      qcom_common.c:(.text+0x160): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `qcom_glink_smem_register'
      
      Out of the three PIL driver instances, QCOM_ADSP_PIL already has a
      Kconfig dependency to prevent this from happening, but the other two
      do not. This adds the same dependency there.
      
      Fixes: eea07023 ("remoteproc: qcom: adsp: Allow defining GLINK edge")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      ab759b97
  9. 02 9月, 2017 1 次提交
  10. 31 8月, 2017 1 次提交
  11. 28 6月, 2017 3 次提交
  12. 27 6月, 2017 1 次提交
    • S
      remoteproc/keystone: Add a remoteproc driver for Keystone 2 DSPs · e88bb8f7
      Suman Anna 提交于
      The Texas Instrument's Keystone 2 family of SoCs has 1 or more
      TMS320C66x DSP Core Subsystems (C66x CorePacs). Each subsystem has
      a C66x Fixed/Floating-Point DSP Core, with 32KB of L1P and L1D SRAMs,
      that can be configured and partitioned as either RAM and/or Cache,
      and 1 MB of L2 SRAM. The CorePac also includes an Internal DMA (IDMA),
      External Memory Controller (EMC), Extended Memory Controller (XMC)
      with a Memory Protection and Address Extension (MPAX) unit, a Bandwidth
      Management (BWM) unit, an Interrupt Controller (INTC) and a Powerdown
      Controller (PDC).
      
      A new remoteproc module is added to perform the device management of
      these DSP devices. The driver expects the firmware names to be of the
      form "keystone-dsp<X>-fw", where X is the corresponding DSP number, and
      uses the standard remoteproc core ELF loader. The support is limited
      to images only using the DSP internal memories at the moment. This
      remoteproc driver is also designed to work with virtio, and uses the
      IPC Generation registers for performing the virtio signalling and
      getting notified of exceptions.
      
      The driver currently supports the 66AK2H/66AK2K, 66AK2L and 66AK2E
      SoCs.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NSam Nelson <sam.nelson@ti.com>
      Signed-off-by: NAndrew F. Davis <afd@ti.com>
      Acked-by: NSantosh Shilimkar <ssantosh@kernel.org>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      e88bb8f7
  13. 26 6月, 2017 1 次提交
    • S
      remoteproc/davinci: Update Kconfig to depend on DMA_CMA · c51e882c
      Suman Anna 提交于
      The davinci remoteproc driver requires a CMA pool for allocating
      memory for virtio vrings/buffers and other sections of the firmware
      image. The allocations are done using the DMA API. The CMA option is
      currently selected automatically on systems with MMU when davinci
      remoteproc is enabled, switch this to a saner depends on dependency
      convention. The dependency is also updated to use the DMA_CMA kconfig
      symbol that is used for CMA allocations using the DMA API, the CMA
      dependency is inherited implicitly.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      c51e882c
  14. 29 3月, 2017 1 次提交
  15. 21 3月, 2017 1 次提交
    • A
      remoteproc: qcom: fix QCOM_SMD dependencies · c3104aae
      Arnd Bergmann 提交于
      qcom_smd_register_edge() is provided by either QCOM_SMD or RPMSG_QCOM_SMD,
      and if both of them are disabled, it does nothing.
      
      The check for the PIL drivers however only checks for QCOM_SMD, so it breaks
      with QCOM_SMD=n && RPMSG_QCOM_SMD=m:
      
      drivers/remoteproc/built-in.o: In function `smd_subdev_remove':
      qcom_wcnss_iris.c:(.text+0x231c): undefined reference to `qcom_smd_unregister_edge'
      drivers/remoteproc/built-in.o: In function `smd_subdev_probe':
      qcom_wcnss_iris.c:(.text+0x2344): undefined reference to `qcom_smd_register_edge'
      drivers/remoteproc/built-in.o: In function `smd_subdev_probe':
      qcom_q6v5_pil.c:(.text+0x3538): undefined reference to `qcom_smd_register_edge'
      qcom_q6v5_pil.c:(.text+0x3538): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `qcom_smd_register_edge'
      
      This clarifies the Kconfig dependency.
      
      Fixes: 4b48921a ("remoteproc: qcom: Use common SMD edge handler")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      c3104aae
  16. 07 2月, 2017 5 次提交
  17. 19 1月, 2017 1 次提交
  18. 10 12月, 2016 3 次提交
    • A
      remoteproc: qcom_adsp_pil: select qcom_scm · e2a32b6b
      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>
      e2a32b6b
    • J
      remoteproc/ste: Delete unused driver · 394c6200
      Jean Delvare 提交于
      Back in July 2014 I asked around what was the intended target
      platform for the STE Modem remoteproc driver, so that I could add the
      proper hardware dependency to its config option. The answer I got was
      that there was no known publicly available hardware needing it and it
      was unlikely that there ever would.
      
      So I think it's time to delete this driver to lower the maintenance
      burden.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Ohad Ben-Cohen <ohad@wizery.com>
      Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
      Cc: Suman Anna <s-anna@ti.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NLoic Pallardy <loic.pallardy@st.com>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      394c6200
    • 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
  19. 19 11月, 2016 1 次提交
    • A
      remoteproc: wcnss-pil: add QCOM_SMD dependency · c496f676
      Arnd Bergmann 提交于
      When qcom_smd is a loadable module and wcnss-pil is built-in,
      we get a link error:
      
      drivers/remoteproc/qcom_wcnss_pil.o: In function `wcnss_smd_remove':
      qcom_wcnss_iris.c:(.text.wcnss_smd_remove+0x10): undefined reference to `qcom_smd_unregister_edge'
      drivers/remoteproc/qcom_wcnss_pil.o: In function `wcnss_smd_probe':
      qcom_wcnss_iris.c:(.text.wcnss_smd_probe+0x12): undefined reference to `qcom_smd_register_edge'
      
      This adds a Kconfig dependency to avoid this. We can still allow
      build-testing with SMD disabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      c496f676
  20. 17 11月, 2016 1 次提交
  21. 16 11月, 2016 1 次提交
  22. 15 11月, 2016 1 次提交
    • B
      remoteproc: qcom_wcnss: Fix circular module dependency · 6de1a507
      Bjorn Andersson 提交于
      The tie between the main WCNSS driver and the IRIS driver causes a
      circular dependency between the two modules. Neither part makes sense to
      have on their own so lets merge them into one module.
      
      For the sake of picking up the clock and regulator resources described
      in the iris of_node we need an associated struct device. But, to keep
      the size of the patch down we continue to represent the IRIS part as its
      own platform_driver, within the same module, rather than setting up a
      dummy device.
      
      Fixes: aed361ad ("remoteproc: qcom: Introduce WCNSS peripheral image loader")
      Reported-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      6de1a507
  23. 18 10月, 2016 2 次提交
    • P
      remoteproc: Update Kconfig setup to 'depends on REMOTEPROC' · e41ddbc0
      Peter Griffin 提交于
      Make REMOTEPROC core a selectable kconfig option, and update
      remoteproc client drivers to 'depends on' the core. This avoids
      some nasty Kconfig recursive dependency issues. Also when using
      menuconfig client drivers will be hidden until the core has been
      enabled.
      
      Documentation/kbuild/kconfig-language.txt:
      
        Note:
              select should be used with care. select will force
              a symbol to a value without visiting the dependencies.
              By abusing select you are able to select a symbol FOO even
              if FOO depends on BAR that is not set.
              In general use select only for non-visible symbols
              (no prompts anywhere) and for symbols with no dependencies.
              That will limit the usefulness but on the other hand avoid
              the illegal configurations all over.
      Signed-off-by: NPeter Griffin <peter.griffin@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      e41ddbc0
    • P
      remoteproc: st_slim_rproc: add a slimcore rproc driver · bb6869b2
      Peter Griffin 提交于
      slim core is used as a basis for many IPs in the STi
      chipsets such as fdma and demux. To avoid duplicating
      the elf loading code in each device driver a slim
      rproc driver has been created.
      
      This driver is designed to be used by other device drivers
      such as fdma, or demux whose IP is based around a slim core.
      The device driver can call slim_rproc_alloc() to allocate
      a slim rproc and slim_rproc_put() when finished.
      
      This driver takes care of ioremapping the slim
      registers (dmem, imem, slimcore, peripherals), whose offsets
      and sizes can change between IP's. It also obtains and enables
      any clocks used by the device. This approach avoids having
      a double mapping of the registers as slim_rproc does not register
      its own platform device. It also maps well to device tree
      abstraction as it allows us to have one dt node for the whole
      device.
      
      All of the generic rproc elf loading code can be reused, and
      we provide start() stop() hooks to start and stop the slim
      core once the firmware has been loaded. This has been tested
      successfully with fdma driver.
      Signed-off-by: NPeter Griffin <peter.griffin@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      bb6869b2
  24. 09 9月, 2016 1 次提交
  25. 19 8月, 2016 1 次提交
  26. 14 7月, 2016 1 次提交