(Resent with more Ccs and To lines) We remove the tcs_is_free() API and then do super micro optimizations on the irq handler. I haven't tested anything here so most likely there's a bug (again again)! Changes from v2: * Went back in time and used the v1 patch for the first patch with the fixes to make it not so complicated Changes from v1: * First patch became even moar complicated because it combines find_free_tcs() with the check for a request in flight * Fixed subject in patch 2 * Put back unsigned long for bitmap operation to silence compiler warning * Picked up review tags Stephen Boyd (3): soc: qcom: rpmh-rsc: Remove tcs_is_free() API soc: qcom: rpmh-rsc: Loop over fewer bits in irq handler soc: qcom: rpmh-rsc: Fold WARN_ON() into if condition drivers/soc/qcom/rpmh-rsc.c | 65 +++++++++++++------------------------ 1 file changed, 22 insertions(+), 43 deletions(-) Cc: Maulik Shah <mkshah@xxxxxxxxxxxxxx> Cc: Douglas Anderson <dianders@xxxxxxxxxxxx> base-commit: 1f7a3eb785e4a4e196729cd3d5ec97bd5f9f2940 -- Sent by a computer, using git, on the internet