[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 1/9] drivers/char: Add support for Xue USB3 debugger
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > From: Connor Davis <davisc@xxxxxxxxxxxx> > > [Connor] > Xue is a cross-platform USB 3 debugger that drives the Debug > Capability (DbC) of xHCI-compliant host controllers. This patch > implements the operations needed for xue to initialize the host > controller's DbC and communicate with it. It also implements a struct > uart_driver that uses xue as a backend. Note that only target -> host > communication is supported for now. To use Xue as a console, add > 'console=dbgp dbgp=xue' to the command line. > > [Marek] > The Xue driver is taken from https://github.com/connojd/xue and heavily > refactored to fit into Xen code base. Major changes include: > - drop support for non-Xen systems > - drop xue_ops abstraction > - use Xen's native helper functions for PCI access > - move all the code to xue.c, drop "inline" > - build for x86 only > - annotate functions with cf_check > - adjust for Xen's code style > > At this stage, only the first xHCI is considered. Later patch adds > support for choosing specific one. > The driver is initiallized before memory allocator works, so all the > transfer buffers (about 2MB of them) are allocated statically and will > use memory even if XUE console is not selected. The driver can be > disabled build time to reclaim this memory. > > Signed-off-by: Connor Davis <davisc@xxxxxxxxxxxx> Btw - iirc this email address has already been bouncing for me when replying to v1 patches. Interestingly enough you did Cc the cover letter to Connor Davis <connojdavis@xxxxxxxxx> (which I'm using in replacement for the other address in this reply). And I can only assume that the address did bounce for you as well when sending both v1 and v2 ... Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |