]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xhci: show DMA address of TRB when tracing TRBs
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 6 Nov 2024 10:14:31 +0000 (12:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2024 12:26:14 +0000 (13:26 +0100)
commit71deae0a7224d85b926df8c4b2a63533b675a255
tree4246f501a419a8ed3fa3f0ea01a3ef8361eebe56
parentf28a7d7db247af8b9f1090bd6b1ca1fa48a3f0e4
xhci: show DMA address of TRB when tracing TRBs

The DMA address of a queued TRB is essential when looking at traces as
both transfer events and command completion events refer to the command
or transfer based on its DMA address.

Previously the TRB address was figured out from xhci_inc_enq and
xhci_inc_deq trace entries seen after queuing or handlong a TRB.

Now that DMA address is shown in TRB tracing we can get rid of most of the
xhci_inc_enq and xhci_inc_deq traces thus decreasing trace size.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241106101459.775897-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbgcap.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci-trace.h