From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
"George Dunlap" <george.dunlap@citrix.com>,
"Julien Grall" <julien@xen.org>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Wei Liu" <wl@xen.org>, "Roger Pau Monné" <roger.pau@citrix.com>,
xen-devel@lists.xenproject.org,
"Connor Davis" <connojdavis@gmail.com>
Subject: Re: [PATCH v2 1/9] drivers/char: Add support for Xue USB3 debugger
Date: Sun, 17 Jul 2022 00:40:35 +0200 [thread overview]
Message-ID: <YtM+ZGb6FnkVVCj6@mail-itl> (raw)
In-Reply-To: <d55ad603-1d54-f3cc-5a7e-87103704564d@suse.com>
[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]
On Thu, Jul 14, 2022 at 08:05:28AM +0200, Jan Beulich wrote:
> On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote:
> > +struct xue {
> > + struct xue_dbc_reg *dbc_reg;
> > + struct xue_dbc_ctx *dbc_ctx;
> > + struct xue_erst_segment *dbc_erst;
> > + struct xue_trb_ring dbc_ering;
> > + struct xue_trb_ring dbc_oring;
> > + struct xue_trb_ring dbc_iring;
> > + struct xue_work_ring dbc_owork;
> > + char *dbc_str;
> > +
> > + pci_sbdf_t sbdf;
> > + uint64_t xhc_mmio_phys;
> > + uint64_t xhc_mmio_size;
> > + uint64_t xhc_dbc_offset;
>
> One more observation: None of these four field look to be needed.
> They're all used only in a single function, so could be local
> variables there (and xhc_dbc_offset is only ever written, so
> could be dropped altogether).
While xhc_mmio_size indeed isn't used outside of this function,
xhc_mmio_phys and xhc_dbc_offset are in later patches.
--
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-07-16 22:41 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 15:32 [PATCH v2 0/9] Add Xue - console over USB 3 Debug Capability Marek Marczykowski-Górecki
2022-07-06 15:32 ` [PATCH v2 1/9] drivers/char: Add support for Xue USB3 debugger Marek Marczykowski-Górecki
2022-07-08 2:11 ` Marek Marczykowski-Górecki
2022-07-12 15:59 ` Jan Beulich
2022-07-18 10:45 ` Marek Marczykowski-Górecki
2022-07-18 10:55 ` Jan Beulich
2022-07-12 16:06 ` Jan Beulich
2022-07-14 6:05 ` Jan Beulich
2022-07-16 22:40 ` Marek Marczykowski-Górecki [this message]
2022-07-14 11:58 ` Jan Beulich
2022-07-16 23:32 ` Marek Marczykowski-Górecki
2022-07-20 20:12 ` Marek Marczykowski-Górecki
2022-07-21 10:25 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 2/9] xue: reset XHCI ports when initializing dbc Marek Marczykowski-Górecki
2022-07-13 7:19 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 3/9] xue: add support for selecting specific xhci Marek Marczykowski-Górecki
2022-07-13 7:24 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 4/9] console: support multiple serial console simultaneously Marek Marczykowski-Górecki
2022-07-13 9:39 ` Jan Beulich
2022-07-18 12:48 ` Marek Marczykowski-Górecki
2022-07-18 14:37 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 5/9] IOMMU: add common API for device reserved memory Marek Marczykowski-Górecki
2022-07-14 10:17 ` Jan Beulich
2022-07-18 10:53 ` Marek Marczykowski-Górecki
2022-07-18 11:14 ` Jan Beulich
2022-07-18 11:03 ` Marek Marczykowski-Górecki
2022-07-18 11:15 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 6/9] IOMMU/VT-d: wire common device reserved memory API Marek Marczykowski-Górecki
2022-07-06 15:32 ` [PATCH v2 7/9] IOMMU/AMD: " Marek Marczykowski-Górecki
2022-07-14 10:22 ` Jan Beulich
2022-07-18 11:35 ` Marek Marczykowski-Górecki
2022-07-18 11:44 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 8/9] xue: mark DMA buffers as reserved for the device Marek Marczykowski-Górecki
2022-07-14 11:51 ` Jan Beulich
2022-07-18 13:15 ` Marek Marczykowski-Górecki
2022-07-20 20:17 ` Marek Marczykowski-Górecki
2022-07-21 10:30 ` Jan Beulich
2022-07-06 15:32 ` [PATCH v2 9/9] xue: allow driving the rest of XHCI by a domain while Xen uses DbC Marek Marczykowski-Górecki
2022-07-14 12:06 ` Jan Beulich
2022-07-18 12:54 ` Marek Marczykowski-Górecki
2022-07-18 15:07 ` Jan Beulich
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=YtM+ZGb6FnkVVCj6@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=andrew.cooper3@citrix.com \
--cc=connojdavis@gmail.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--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.