diff options
author | Kendall Willis <k-willis@ti.com> | 2025-04-28 15:53:36 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2025-05-06 07:25:51 -0500 |
commit | 9b808f7f395ae375a26e32046b680cf898dacc21 (patch) | |
tree | 533bcf2ac3bee7d984b1a1a9117cf58030d8c1d3 /scripts/lib/kdoc/kdoc_output.py | |
parent | c62bc66d53de9a61154224f99c1b4ca68ed57208 (diff) |
firmware: ti_sci: Convert CPU latency constraint from us to ms
Fix CPU resume latency constraint units sent to device manager through the
TI SCI API. The device manager expects CPU resume latency to be in msecs
which is passed in with the TI SCI API [1]. CPU latency constraints are
set in userspace using the PM QoS framework which uses usecs as the unit.
Since PM QoS uses usecs for units and the device manager expects msecs as
the unit, TI SCI needs to convert from usecs to msecs before passing to
device manager.
[1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/pm/lpm.html#tisci-msg-lpm-set-latency-constraint
Cc: stable@vger.kernel.org
Fixes: a7a15754c7f7 ("firmware: ti_sci: add CPU latency constraint management")
Signed-off-by: Kendall Willis <k-willis@ti.com>
Link: https://lore.kernel.org/r/20250428205336.2947118-1-k-willis@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions