This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VE-Q1:[linux][j721S2 8.6 sdk]有关 K3_R5_remoteproc 驱动程序的问题

Guru**** 2546020 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1260630/tda4ve-q1-linux-j721s2-8-6-sdk-a-question-about-k3_r5_remoteproc-driver

器件型号:TDA4VE-Q1

您好、TI 专家!

我看到`unroll_module_reset`代码也会调用`put_device`来减少参考计数

展开时、为什么不使用`get_device`函数?  

此致

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    很抱歉耽误你的时间。

    get_device 通常为开机状态,put_device 通常为关闭状态。

    在 k3_lock_step_reset() API 中,由于您已经停止/停止了处理器,并且远程处理器内核中没有逻辑可以恢复器件,因此 remoteproc 状态通常不会完全恢复。

    此致

    M·塔伦