]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'octeontx2-improve-mailbox-tracing'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 15 May 2025 11:26:20 +0000 (13:26 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 May 2025 11:26:21 +0000 (13:26 +0200)
commit67fa756408a5359941bea2c021740da5e9ed490d
tree9753f1bf085bc3ee0170ae033d23591aceb4409e
parentc16608005ccb99fbde3a4cd96eab28e16f148abf
parentfa00077d8fd6728a7cda48d0795d885ea2006a92
Merge branch 'octeontx2-improve-mailbox-tracing'

Subbaraya Sundeep says:

====================
octeontx2: Improve mailbox tracing

Octeontx2 VF,PF and AF devices communicate using hardware
shared mailbox region where VFs can only to talk to its PFs
and PFs can only talk to AF. AF does the entire resource management
for all PFs and VFs. The shared mbox region is used for synchronous
requests (requests from PF to AF or VF to PF) and async notifications
(notifications from AF to PFs or PF to VFs). Sending a request to AF
from VF involves various stages like
1. VF allocates message in shared region
2. Triggers interrupt to PF
3. PF upon receiving interrupt from VF will copy the message
   from VF<->PF region to PF<->AF region
4. Triggers interrupt to AF
5. AF processes it and writes response in PF<->AF region
6. Triggers interrupt to PF
7. PF copies responses from PF<->AF region to VF<->PF region
8. Triggers interrupt to Vf
9. VF reads response in VF<->PF region

Due to various stages involved, Tracepoints are used in mailbox code for
debugging. Existing tracepoints need some improvements so that maximum
information can be inferred from trace logs during an issue.
This patchset tries to enhance existing tracepoints and also adds
a couple of tracepoints.
====================

Link: https://patch.msgid.link/1747136408-30685-1-git-send-email-sbhatta@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>