Re: [PATCH v2] remoteproc: qcom_q6v5_pas: disable auto boot for wpss

2024-10-18 Thread Dmitry Baryshkov
On Fri, Oct 18, 2024 at 04:29:11PM +0530, Balaji Pothunoori wrote: > Currently, the rproc "atomic_t power" variable is incremented during: > a. WPSS rproc auto boot. > b. AHB power on for ath11k. > > During AHB power off (rmmod ath11k_ahb.ko), rproc_shutdown fails > to unload the WPSS firmware bec

[PATCH v2] remoteproc: qcom_q6v5_pas: disable auto boot for wpss

2024-10-18 Thread Balaji Pothunoori
Currently, the rproc "atomic_t power" variable is incremented during: a. WPSS rproc auto boot. b. AHB power on for ath11k. During AHB power off (rmmod ath11k_ahb.ko), rproc_shutdown fails to unload the WPSS firmware because the rproc->power value is '2', causing the atomic_dec_and_test(&rproc->pow