hvc and powerpc opal console latency reduction
Status from this message: Applied to powerpc next, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | powerpc/powernv: opal_put_chars partial write fixarch/ | +1 | 1 reply | |
| 2/15 | powerpc/powernv: Fix OPAL console driver OPAL_BUSY loopsarch/ | +23 | 0 replies | |
| 3/15 | powerpc/powernv: opal-kmsg standardise OPAL_BUSY handlingarch/ | +16 | 0 replies | |
| 4/15 | powerpc/powernv: opal-kmsg use flush fallback from console codearch/ | +6 | 4 replies | |
| 5/15 | powerpc/powernv: Implement and use opal_flush_consolearch/ arch/ arch/ | +42 | 0 replies | |
| 6/15 | powerpc/powernv: Remove OPALv1 support from opal console driverarch/ | +40 | 0 replies | |
| 7/15 | powerpc/powernv: move opal console flushing to udbgarch/ drivers/ | +12 | 0 replies | |
| 8/15 | powerpc/powernv: implement opal_put_chars_atomicarch/ arch/ drivers/ | +41 | 4 replies | |
| 9/15 | tty: hvc: remove unexplained "just in case" spin delaydrivers/ | +1 | 0 replies | |
| 10/15 | tty: hvc: use mutex instead of spinlock for hvc_structs lockdrivers/ | +11 | 1 reply | |
| 11/15 | tty: hvc: hvc_poll break hv read loopdrivers/ | +45 | 1 reply | |
| 12/15 | tty: hvc: hvc_poll may sleepdrivers/ | +14 | 1 reply | |
| 13/15 | tty: hvc: hvc_write may sleepdrivers/ | +21 | 1 reply | |
| 14/15 | tty: hvc: introduce the hv_ops.flush operation for hvc driversdrivers/ drivers/ | +34 | 1 reply | |
| 15/15 | powerpc/powernv: provide a console flush operation for opal hvc driverarch/ arch/ drivers/ | +55 | 1 reply |
Reviews trailers per patch
5 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Benjamin Herrenschmidt | Russell Currey |
|---|---|---|
| 1/15 | R-b | |
| 2/15 | ||
| 3/15 | R-b | |
| 4/15 | R-b | |
| 5/15 | R-b | |
| 6/15 | ||
| 7/15 | ||
| 8/15 | ||
| 9/15 | R-b | |
| 10/15 | ||
| 11/15 | ||
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] hvc and powerpc opal console latency reduction
I'm seeing scattered reports of hard lockups triggering in the OPAL console code. I haven't got a full latency trace -- they are difficult to reproduce and sometimes just show up in dmesg of a bug report when the system is having other issues. But it does seem like there are some improvements that can be made to the hvc console and powerpc opal driver.
I'm not sure how this series should be merged yet, but we can cross that if/when it comes. Possibly all can go via the tty tree with acks from powerpc maintainers.
Comments appreciated.
Thanks,
Nick
--
Nicholas Piggin (15):
powerpc/powernv: opal_put_chars partial write fix powerpc/powernv: Fix OPAL console driver OPAL_BUSY loops powerpc/powernv: opal-kmsg standardise OPAL_BUSY handling powerpc/powernv: opal-kmsg use flush fallback from console code powerpc/powernv: Implement and use opal_flush_console powerpc/powernv: Remove OPALv1 support from opal console driver powerpc/powernv: move opal console flushing to udbg powerpc/powernv: implement opal_put_chars_atomic
tty: hvc: remove unexplained "just in case" spin delay
tty: hvc: use mutex instead of spinlock for hvc_structs lock
tty: hvc: hvc_poll break hv read loop
tty: hvc: hvc_poll may sleep
tty: hvc: hvc_write may sleep
tty: hvc: introduce the hv_ops.flush operation for hvc drivers powerpc/powernv: provide a console flush operation for opal hvc driver
arch/powerpc/include/asm/opal.h | 3 + arch/powerpc/platforms/powernv/opal-kmsg.c | 30 +--- arch/powerpc/platforms/powernv/opal.c | 176 +++++++++++++------ drivers/tty/hvc/hvc_console.c | 194 +++++++++++++-------- drivers/tty/hvc/hvc_console.h | 1 + drivers/tty/hvc/hvc_opal.c | 33 ++-- 6 files changed, 276 insertions(+), 161 deletions(-)
Signature · 1 line
2.17.0