Skip to content

xen/console: few cleanups in console driver

[email protected] xen-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyIn review
  2. v43 patches 2 repliesSuperseded
  3. v33 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches4 repliesSuperseded
v13 patches8 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/console: cleanup conring managementxen/drivers/char/console.c+14 -140 replies
2/3xen/console: introduce console_send()xen/drivers/char/console.c+84 -491 reply
3/3xen/console: introduce conring_flush()xen/drivers/char/console.c+21 -100 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] xen/console: few cleanups in console driver

xen/console: few cleanups in console driver

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

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

Patch 1 performs a cleanup in conring console.

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/[email protected]/
[2] https://lore.kernel.org/xen-devel/[email protected]/
[3] https://lore.kernel.org/xen-devel/[email protected]/
[4] Link to v4: https://lore.kernel.org/xen-devel/[email protected]/
[5] Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1823639304

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

 xen/drivers/char/console.c | 186 +++++++++++++++++++++++--------------
 1 file changed, 116 insertions(+), 70 deletions(-)
Signature · 1 line
2.34.1