summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-12-04 10:16:03 -0800
committerLizhi Hou <lizhi.hou@amd.com>2025-12-08 08:29:34 -0800
commitcd77d5a4aaf8c5c1d819f47cf814bf7d4920b0a2 (patch)
tree2c084b9c14c8928c77d0442914c4e4532f729cb2 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent646013f513f38a3e75a60fde31ae0e6154ce19a7 (diff)
accel/amdxdna: Fix tail-pointer polling in mailbox_get_msg()
In mailbox_get_msg(), mailbox_reg_read_non_zero() is called to poll for a non-zero tail pointer. This assumed that a zero value indicates an error. However, certain corner cases legitimately produce a zero tail pointer. To handle these cases, remove mailbox_reg_read_non_zero(). The zero tail pointer will be treated as a valid rewind event. Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20251204181603.793824-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions