diff options
| author | Niklas Neronin <niklas.neronin@linux.intel.com> | 2025-11-19 17:23:59 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-21 16:52:59 +0300 |
| commit | 829738e59f1fad90ef7b63d6a1a4de9d5d22544a (patch) | |
| tree | 82e702e3ae8e9e2a6dd32996901c3aafaa151de0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2f751709463b235ae0f0790210a70ff48b33493a (diff) | |
| download | linux-829738e59f1fad90ef7b63d6a1a4de9d5d22544a.tar.xz | |
usb: xhci: add tracing for PORTSC register writes
Introduce a dedicated write function for the USB Port Register Set (PORTSC)
that includes tracing capabilities for values written to the PORTSC
register. This enhancement minimizes code duplication and improves
debugging.
The PORTSC register is part of the Host Controller USB Port Register Set,
comprising 4 x 32-bit registers. As the first register, PORTSC is accessed
directly via 'port->addr'. Future commits will introduce a dedicated Port
register struct to further streamline access.
By adding the xhci_portsc_writel() function prior to these changes, we
significantly reduce the number of same line modifications required.
Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://patch.msgid.link/20251119142417.2820519-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
