Skip to content

Conversation

@Jianping-Li
Copy link
Contributor

This PR addresses issue #225 by removing unused PM QoS code.

Changes include:

  • Removal of PM_Qos-related fastrpc code
  • Cleanup of associated headers and macros
  • Verified that no active components depend on the removed code
  • This cleanup improves maintainability and aligns with the current usage patterns of fastRPC

Fixes #225.

fastrpc_set_qos_latency(domain, h, FASTRPC_QOS_MAX_LATENCY_USEC);
break;
}
case RPC_PM_QOS: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not remove this case?

@Jianping-Li Jianping-Li force-pushed the issue-225-fix branch 2 times, most recently from cae7ee6 to 776bcd8 Compare September 5, 2025 08:20

/** Control cpu low power modes based on RPC activity in 100 ms window.
* Recommended for latency sensitive use cases.
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's not remove the definitions of remote.h for now, might need to match it with SDK shipped version

Clean up unused PM QoS implementation.
PM QoS is not supported by fastrpc driver, so related code is removed.

Signed-off-by: Jianping Li <quic_jianpl@quicinc.com>
(nErr = manage_poll_qos(domain, h, RPC_DISABLE_QOS, lp->latency)));
/* Error ignored, currently meeting qos requirement is optional. Consider
* to error out in later targets */
fastrpc_set_qos_latency(domain, h, FASTRPC_QOS_MAX_LATENCY_USEC);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you check if fastrpc_set_qos_latency call is still valid? Also need to evaluate adaptive QoS as well.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

This pull request has been marked as stale due to 60 days of inactivity.

@github-actions github-actions bot added the Stale label Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean-up QoS related implemetation

3 participants