aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/page_owner.py
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2023-11-29 16:20:31 +0200
committerOded Gabbay <ogabbay@kernel.org>2023-12-19 11:09:44 +0200
commitbc5f15abcf95ce7e4c2e33daddcb5850ee5e671d (patch)
treec790a7a18fd966cd50224b8c4f008328f656e0c0 /scripts/gdb/linux/page_owner.py
parentaa5cea38ce687021bf97f9f4cdb18b26db290964 (diff)
accel/habanalabs/gaudi2: avoid overriding existing undefined opcode data
Part of the undefined opcode data is updated in gaudi2_handle_qman_err_generic() and some in handle_lower_qman_data_on_err(). However, the 'write_enable' flag is checked only in gaudi2_handle_qman_err_generic(), and information of more than a single error can be mixed there. Moreover, handle_lower_qman_data_on_err() is called only for the lower QMAN, so for an error in the upper QMAN there is only a partial info. Move all the data update to be done in a single place, protected by the 'write_enable' flag. As mainly the lower QMAN's info is interesting, avoid saving the partial info for the upper QMAN. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/page_owner.py')
0 files changed, 0 insertions, 0 deletions