[PATCH v7 0/7] xen/console: configurable conring size

dmukhin@ford.com posted 7 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20260713181619.672176-1-dmukhin@ford.com
docs/misc/xen-command-line.pandoc | 10 ++++-
xen/drivers/char/Kconfig          | 21 +++++++++
xen/drivers/char/console.c        | 71 ++++++++++++++++++++++---------
xen/drivers/char/serial.c         | 24 +++++++++--
4 files changed, 99 insertions(+), 27 deletions(-)
[PATCH v7 0/7] xen/console: configurable conring size
Posted by dmukhin@ford.com 1 week, 3 days ago
Series introduces compile-time configurable conring size along
with few cleanups in conring management.

Patch 1 updates conring{,_size} annotations to __ro_after_init as per [1].

Patch 2 optimizes switch from early conring to permanent conring.

Patch 3 optimizes code in conring_puts().

Patch 4 updates the conring buffer allocation code.

Patch 5,6 updates for the command line options for the serial driver.

Patch 7 introduces CONRING_CONRING_SHIFT to select compile-time
conring buffer size.

[1] https://lore.kernel.org/xen-devel/1a5ed8ad-0cc7-4e05-9b9c-cd6930d9b9ea@citrix.com
[2] Link to v6: https://lore.kernel.org/xen-devel/20260509005714.892018-1-dmukhin@ford.com/
[3] Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/2673235063 

Denis Mukhin (7):
  xen/console: promote conring{,_size} to __ro_after_init
  xen/console: use memcpy() in console_init_ring()
  xen/console: use memcpy() in conring_puts()
  xen/console: switch conring runtime allocation to xvmalloc
  xen/serial: drop stale SERIAL_NEVER_DROP_CHARS
  xen/serial: harden serial_tx_buffer checks
  xen/console: make console buffer size configurable

 docs/misc/xen-command-line.pandoc | 10 ++++-
 xen/drivers/char/Kconfig          | 21 +++++++++
 xen/drivers/char/console.c        | 71 ++++++++++++++++++++++---------
 xen/drivers/char/serial.c         | 24 +++++++++--
 4 files changed, 99 insertions(+), 27 deletions(-)

-- 
2.54.0