]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
interconnect: qcom: Support bcm-voter-specific TCS wait behavior
authorMike Tipton <mdtipton@codeaurora.org>
Thu, 3 Sep 2020 19:21:47 +0000 (12:21 -0700)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 8 Sep 2020 13:28:55 +0000 (16:28 +0300)
commitb92902fddf42003d4c8e3816e3fbf8caea540440
treecabd53b03c9c4afe6d6cc29b7598e2e6e50193dc
parentad4bedfc060c2ef7f9e701bd3292f8de19bc1ea0
interconnect: qcom: Support bcm-voter-specific TCS wait behavior

Currently, all bcm-voters set tcs_cmd::wait=true for the last VCD
command in each TCS (AMC, WAKE, and SLEEP). However, some bcm-voters
don't need the completion and instead need to optimize for latency. For
instance, disabling wait-for-completion in the WAKE set can decrease
resume latency and allow for certain operations to occur in parallel
with the WAKE TCS triggering. This is only safe in very specific
situations. Keep the default behavior of always waiting, but allow it to
be overridden in devicetree.

Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Link: https://lore.kernel.org/r/20200903192149.30385-5-mdtipton@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/qcom/bcm-voter.c