rpmh_rsc_ctrlr_is_busy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rpmh_rsc_ctrlr_is_busy(9) ✨

okay so bestie, this page lives in the Kernel API Manual, and it’s all about checking whether the AMCs are busy. tiny function, kinda important vibe check πŸ’…


πŸ’– NAME πŸ’–

rpmh_rsc_ctrlr_is_busy β€” check if any of the AMCs are busy. 🫢


🌸 SYNOPSIS 🌸

bool rpmh_rsc_ctrlr_is_busy (struct rsc_drv *drv );

πŸŽ€ ARGUMENTS πŸŽ€

  • drv β€” the controller πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

This checks if any of the AMCs are busy handling ACTIVE sets. literally that’s the whole assignment. ✨

It gets called from the last cpu powering down before flushing SLEEP and WAKE sets. if the AMCs are busy, the controller can not enter power collapse, so the move is to deny from the last cpu’s pm notification. no cap, that’s the important part πŸ”₯


πŸ’œ CONTEXT πŸ’œ

Must be called with the drv->lock held. πŸ”’

like, do not skip this. the lock is not optional, bestie 😭


🌈 RETURN 🌈

  • False β€” AMCs are idle 😴
  • True β€” AMCs are busy πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/soc/qcom/rpmh-rsc.c, plus the whole squad: tcs_invalidate(9), rpmh_rsc_invalidate(9), get_tcs_for_msg(9), get_req_from_tcs(9), __tcs_set_trigger(9), enable_tcs_irq(9), tcs_tx_done(9), __tcs_buffer_write(9), check_for_req_inflight(9), find_free_tcs(9), claim_tcs_for_req(9), rpmh_rsc_send_data(9), find_slots(9), rpmh_rsc_write_ctrl_data(9), rpmh_rsc_write_next_wakeup(9), rpmh_rsc_cpu_pm_callback(9), rpmh_rsc_pd_callback(9) πŸ§šπŸ’–


kisses from the Kernel API Manual πŸ’Œ β€” source/version spot: ./drivers/soc/qcom, dated October 2026. periodt 🌟

πŸ“¦ where this page comes from