All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] xen/console: few cleanups in console driver
@ 2025-04-03  0:06 dmkhn
  2025-04-03  0:06 ` [PATCH v1 1/3] xen/console: cleanup conring management dmkhn
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: dmkhn @ 2025-04-03  0:06 UTC (permalink / raw)
  To: xen-devel
  Cc: andrew.cooper3, anthony.perard, jbeulich, julien, michal.orzel,
	roger.pau, sstabellini, dmukhin

The patch series introduces a few cleanups aimed at reducing code duplication
in the console driver.

Originally, patches 2 and 3 were part of NS16550 emulator v3 series [1].

Patch 1 removes some code duplication for logging via conring facility.

Patch 2 (see [2]) removes code duplication between __putstr() and the rest of
the driver. It also introduces private flags to select console devices for
printout which simplifies some code paths.

Patch 3 (see [3]) adds conring_flush() to send contents of conring to all
currently available console devices.

[1] https://lore.kernel.org/xen-devel/20250103-vuart-ns8250-v3-v1-0-c5d36b31d66c@ford.com/
[2] https://lore.kernel.org/xen-devel/20250103-vuart-ns8250-v3-v1-16-c5d36b31d66c@ford.com/
[3] https://lore.kernel.org/xen-devel/20250103-vuart-ns8250-v3-v1-17-c5d36b31d66c@ford.com/
[4] CI link: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1749584524

Denis Mukhin (3):
  xen/console: cleanup conring management
  xen/console: introduce console_puts()
  xen/console: introduce conring_flush()

 xen/drivers/char/console.c | 175 ++++++++++++++++++++++---------------
 1 file changed, 104 insertions(+), 71 deletions(-)

-- 
2.34.1




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-04-28 20:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03  0:06 [PATCH v1 0/3] xen/console: few cleanups in console driver dmkhn
2025-04-03  0:06 ` [PATCH v1 1/3] xen/console: cleanup conring management dmkhn
2025-04-08 15:10   ` Jan Beulich
2025-04-25 22:18   ` Stefano Stabellini
2025-04-28  6:47     ` Jan Beulich
2025-04-28 20:10       ` dmkhn
2025-04-03  0:06 ` [PATCH v1 2/3] xen/console: introduce console_puts() dmkhn
2025-04-25 22:35   ` Stefano Stabellini
2025-04-25 22:47   ` Stefano Stabellini
2025-04-28  1:47     ` dmkhn
2025-04-03  0:06 ` [PATCH v1 3/3] xen/console: introduce conring_flush() dmkhn
2025-04-25 22:53   ` Stefano Stabellini

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.