Skip to content

Fix no_console_suspend for PNP serial consoles

Peter Hurley linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PNP: Allow console to override ACPI device sleepdrivers/pnp/driver.c include/linux/pnp.h+11 -30 replies
2/2serial: 8250_pnp: Enable PNP_CONSOLE for console portsdrivers/tty/serial/8250/8250_pnp.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix no_console_suspend for PNP serial consoles

Hi Greg and Rafael,

This v2 of the earlier series submitted back in Nov addresses Rafael's comments, specifically:

* Adds PNP_CONSOLE flag, which disables the pnp protocol's suspend() and disable() methods.

This greatly simplifies the PNP serial driver patch since the existing pnp device capabilities does not need to be saved and restored now.

Note that it was necessary to continue to use macros, since struct pnp_protocol is anonymous.

Regards,

Peter Hurley (2):
PNP: Allow console to override ACPI device sleep
serial: 8250_pnp: Enable PNP_CONSOLE for console ports

 drivers/pnp/driver.c               |  2 +-
 drivers/tty/serial/8250/8250_pnp.c |  8 +++++++-
 include/linux/pnp.h                | 12 ++++++++++--
 3 files changed, 18 insertions(+), 4 deletions(-)
Signature · 1 line
2.2.2