Re: [PATCH v2 3/3] usb: dwc3: Log dwc3 instance name in traces

From: Greg Kroah-Hartman

Date: Mon Jan 05 2026 - 08:04:02 EST


On Mon, Jan 05, 2026 at 05:23:25PM +0530, Prashanth K wrote:
> When multiple DWC3 controllers are being used, trace events from
> different instances get mixed up making debugging difficult as
> there's no way to distinguish which instance generated the trace.
>
> Append the base address of dwc3 controller to trace events, so that
> the source instance is clearly identifiable.
>
> Example trace output,
> before -> dwc3_event: event (00000101): Reset [U0]
> after -> dwc3_event: 0a600000: event (00000101): Reset [U0]

Why not use the device name instead? That will be unique in the system.

thanks,

greg k-h