From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Tamas K Lengyel <tamas.k.lengyel@gmail.com>
Cc: xen-devel@lists.xenproject.org, "Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>, "Wei Liu" <wl@xen.org>,
"George Dunlap" <george.dunlap@citrix.com>,
"Julien Grall" <julien@xen.org>,
"Stefano Stabellini" <sstabellini@kernel.org>
Subject: Re: [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger
Date: Mon, 6 Jun 2022 16:03:25 +0200 [thread overview]
Message-ID: <Yp4JLd8UGS3jjD5Z@mail-itl> (raw)
In-Reply-To: <CABfawhn7XGoMRb9LsSwNyaCb92KD5jC4juM+NwOMyOntOgo5pg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]
On Mon, Jun 06, 2022 at 09:32:52AM -0400, Tamas K Lengyel wrote:
> > +/* Supported xHC PCI configurations */
> > +#define XUE_XHC_CLASSC 0xC0330ULL
> > +#define XUE_XHC_VEN_INTEL 0x8086ULL
> > +#define XUE_XHC_DEV_Z370 0xA2AFULL
> > +#define XUE_XHC_DEV_Z390 0xA36DULL
> > +#define XUE_XHC_DEV_WILDCAT_POINT 0x9CB1ULL
> > +#define XUE_XHC_DEV_SUNRISE_POINT 0x9D2FULL
> > +#define XUE_XHC_DEV_CANNON_POINT 0x9DEDULL
>
> I had to add an extra device ID here to get it working on my NUC,
> would be nice if we could add that to the list of supported configs so
> I don't need to custom patch:
>
> #define XUE_XHC_DEV_COMET_LAKE 0x02EDULL
>
> The patch is here:
> https://github.com/tklengyel/xen/commit/dd0423aba6caa4ef41dff65470598a1c0c1105ae
Interesting, I think known_xhc() is used only in the EFI variant of Xue.
Xen one just looks for any XHC based on the device class. And indeed, I
works for me on Tiger Lake that is not included here.
I did need to select specific controller, since I have 3 of them:
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
So, I need dbgp=xue2 or dbgp=xue@pci00:14.0.
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2022-06-06 14:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-06 3:40 [RFC PATCH 00/12] Add Xue - console over USB 3 Debug Capability Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 01/12] drivers/char: Add support for Xue USB3 debugger Marek Marczykowski-Górecki
2022-06-06 13:32 ` Tamas K Lengyel
2022-06-06 14:03 ` Marek Marczykowski-Górecki [this message]
2022-06-06 14:10 ` Tamas K Lengyel
2022-06-06 16:57 ` Tamas K Lengyel
2022-06-06 17:04 ` Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 02/12] xue: annotate functions with cf_check Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 03/12] xue: reset XHCI ports when initializing dbc Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 04/12] xue: add support for selecting specific xhci Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 05/12] ehci-dbgp: fix selecting n-th ehci controller Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 06/12] console: support multiple serial console simultaneously Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 07/12] IOMMU: add common API for device reserved memory Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 08/12] IOMMU/VT-d: wire common device reserved memory API Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 09/12] IOMMU/AMD: " Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 10/12] xue: mark DMA buffers as reserved for the device Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 11/12] xue: prevent dom0 (or other domain) from using " Marek Marczykowski-Górecki
2022-06-06 3:40 ` [RFC PATCH 12/12] xue: allow driving the reset of XHCI by a domain while Xen uses DbC Marek Marczykowski-Górecki
2022-06-06 13:18 ` [RFC PATCH 00/12] Add Xue - console over USB 3 Debug Capability Lengyel, Tamas
2022-06-06 13:37 ` Marczykowski, Marek
2022-06-06 13:18 ` Andrew Cooper
2022-06-06 13:56 ` Marek Marczykowski-Górecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yp4JLd8UGS3jjD5Z@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=tamas.k.lengyel@gmail.com \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.