diff options
| author | Chris Lew <chris.lew@oss.qualcomm.com> | 2026-01-27 16:08:46 +0530 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-03-15 20:23:23 -0500 |
| commit | 42c4cf5d482813067789dd5ea2e33f3b7805e7e1 (patch) | |
| tree | a2dc8a48f7379bcd0e9ba477c44f98a66dd1cec9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8a9a7b9d14c21d060301a8dd4a676ccb4ade5870 (diff) | |
soc: qcom: smp2p: Add support for smp2p v2
smp2p v2 adds support for allowing remote processors to write outbound
smp2p items without completing the feature negotiation. This is required
for processors that start before linux to write out signals like error
and clock ready and unblock their bootup.
If a remote processor only supports v1, smp2p can version down by
mirroring the peer version during the negotiation stage.
When using smp2p version 2, the remote does not wait for the ssr ack
before setting the items. To accommodate this, set the last_value of all
the entries to 0 when SSR is detected. This forces smp2p to detect the
new values written by the remote. Because the SSR ack is skipped, the
down transition of bits is missed in smp2p version 2.
Signed-off-by: Chris Lew <chris.lew@oss.qualcomm.com>
Signed-off-by: Deepak Kumar Singh <deepak.singh@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260127-smp2pv2-v3-2-4060b859b1e2@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
