xen/console: some cleanups and configurable conring size
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest7 patches 13 repliesIn review
- v77 patches 11 repliesSuperseded
- v64 patches 4 repliesSuperseded
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | xen/console: do not use XENCONS_RING_IDX in console_init_ring()xen/ | +3 | 1 reply | |
| 2/7 | xen/console: use 'unsigned int' in contring_{flush,puts}()xen/ | +2 | 3 replies | |
| 3/7 | xen/console: switch conring runtime allocation to xvmallocxen/ | +19 | 2 replies | |
| 4/7 | xen/serial: switch txbuf runtime allocation to xvmallocxen/ | +2 | 1 reply | |
| 5/7 | xen/console: use memcpy() in conring_puts()xen/ | +15 | 3 replies | |
| 6/7 | xen/serial: harden serial_tx_buffer checksdocs/ xen/ | +4 | 2 replies | |
| 7/7 | xen/console: make console buffer size configurabledocs/ xen/ xen/ | +30 | 1 reply |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | |
| 4/7 | R-b |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/7] xen/console: some cleanups and configurable conring size
Series introduces some cleanups in console conring and serial driver buffer management code ending up with adding compile-time configuration knob for conring size.
Patch 1-2 correct the data types used in conring management code.
Patch 3 updates the conring buffer allocation code.
Patch 4 updates the serial driver buffer allocation code.
Patch 5 optimizes code in conring_puts().
Patch 6 hardens the checks in the serial driver buffer management code.
Patch 7 introduces CONRING_CONRING_SHIFT to select compile-time conring buffer size.
[1] v7: https://lore.kernel.org/xen-devel/[email protected]/
[2] CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/2710713367
Denis Mukhin (7):
xen/console: do not use XENCONS_RING_IDX in console_init_ring() xen/console: use 'unsigned int' in contring_{flush,puts}() xen/console: switch conring runtime allocation to xvmalloc xen/serial: switch txbuf runtime allocation to xvmalloc xen/console: use memcpy() in conring_puts() 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 | 61 +++++++++++++++++++++---------- xen/drivers/char/serial.c | 6 ++- 4 files changed, 75 insertions(+), 23 deletions(-)
Signature · 1 line
2.54.0