diff options
| author | Andrew Davis <afd@ti.com> | 2026-09-04 14:56:33 -0500 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2026-09-15 09:41:46 -0600 |
| commit | fa62b6f795c4091bd6a81c8f3ad99c43edce316b (patch) | |
| tree | b749d49d96d40be899bf1c82ab49d11e37846730 /tools/perf/scripts/python/task-analyzer.py | |
| parent | f9de845da07fbfec34af4e6e22371c7d5ed47695 (diff) | |
| download | linux-next-fa62b6f795c4091bd6a81c8f3ad99c43edce316b.tar.gz linux-next-fa62b6f795c4091bd6a81c8f3ad99c43edce316b.zip | |
remoteproc: k3-dsp: Fix usage of omap_mbox_message and mbox_msg_t
The type of message sent using omap-mailbox is always u32. The definition
of mbox_msg_t is uintptr_t which is wrong as that type changes based on
the architecture (32bit vs 64bit). Make the type fixed to u32.
This then means we need to fix the helper macro omap_mbox_message so it
doesn't cast to u32 twice. What this macro should be doing is converting
from the message type returned from the mailbox framework into the
omap-mailbox type. When fixing this we should add a macro for the other
direction (from omap-mailbox type to something that can be used with
mbox_send_message).
After these changes, make use of the new macros as appropriate.
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Beleswar Padhi <b-padhi@ti.com>
Tested-by: Beleswar Padhi <b-padhi@ti.com>
Link: https://lore.kernel.org/r/20260904195634.2275867-2-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
