All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Julien Grall" <julien@xen.org>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH v1 5/5] console: support multiple serial console simultaneously
Date: Tue, 10 Jun 2025 15:49:08 +0200	[thread overview]
Message-ID: <aEg31IPOTifE8Yir@mail-itl> (raw)
In-Reply-To: <cc661b69-9260-405c-b421-a75bdc8166af@suse.com>

[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]

On Tue, Jun 10, 2025 at 02:48:54PM +0200, Jan Beulich wrote:
> On 25.05.2025 16:15, Marek Marczykowski-Górecki wrote:
> > Previously only one serial console was supported at the same time. Using
> > console=com1,dbgp,vga silently ignored all but last serial console (in
> > this case: only dbgp and vga were active).
> > 
> > Fix this by storing not a single sercon_handle, but an array of them, up
> > to MAX_SERCONS entries. The value of MAX_SERCONS can be chosen in
> > kconfig, the default (4) is arbitrary, inspired by the number of
> > SERHND_IDX values.
> > 
> > Make console_steal() aware of multiple consoles too. It can now either
> > steal output from specific console (for gdbstub), or from all of them at
> > once (for console suspend).
> > 
> > Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
> > ---
> > This was posted before as part of initial xhci console submission, it
> > reached v6 (but last changes were in v4), but wasn't considered useful
> > enough to review/ack:
> > https://lore.kernel.org/xen-devel/Yu0XHUhsebE+WG0g@mail-itl/
> > 
> > Since I needed this feature again, to debug xhci console issue, I'm
> > including this patch again in the series.
> 
> Beyond this narrow aspect, has anything changed in the picture, compared
> to what was said / discussed earlier on?

Not really. It's still quite useful for people doing console drivers
debugging and have the luxury of having many options at the same time.
For me it's xhci, but it could be useful also for debugging other
drivers (outside of x86 too). And it's still not very useful for anybody
else.

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2025-06-10 13:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-25 14:15 [PATCH v1 0/5] Fix XHCI console on legacy MB2 boot Marek Marczykowski-Górecki
2025-05-25 14:15 ` [PATCH v1 1/5] console: add relocation hook Marek Marczykowski-Górecki
2025-05-26 15:08   ` Andrew Cooper
2025-05-26 15:39     ` Marek Marczykowski-Górecki
2025-06-05 14:42       ` Jan Beulich
2025-06-05 14:51         ` Marek Marczykowski-Górecki
2025-06-05 16:05           ` Jan Beulich
2025-06-05 16:08             ` Marek Marczykowski-Górecki
2025-06-06  6:26               ` Jan Beulich
2025-06-06 15:54                 ` Marek Marczykowski-Górecki
2025-06-10  7:52                   ` Jan Beulich
2025-06-10 12:54                     ` Andrew Cooper
2025-06-10 13:01                       ` Marek Marczykowski-Górecki
2025-05-25 14:15 ` [PATCH v1 2/5] drivers/char: Handle Xen relocation in the XHCI console driver Marek Marczykowski-Górecki
2025-05-25 14:15 ` [PATCH v1 3/5] drivers/char: make dbc_uart_dump() a bit more useful Marek Marczykowski-Górecki
2025-06-10 12:46   ` Jan Beulich
2025-05-25 14:15 ` [PATCH v1 4/5] drivers/char: remove outdated comment in xhci driver Marek Marczykowski-Górecki
2025-06-05 14:43   ` Jan Beulich
2025-05-25 14:15 ` [PATCH v1 5/5] console: support multiple serial console simultaneously Marek Marczykowski-Górecki
2025-06-10 12:48   ` Jan Beulich
2025-06-10 13:49     ` Marek Marczykowski-Górecki [this message]

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=aEg31IPOTifE8Yir@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.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.