On Tue, 2025-03-11 at 13:40 +0100, Petr Mladek wrote:
> On Tue 2025-03-11 11:38:00, Petr Mladek wrote:
> > On Wed 2025-02-26 16:59:00, Marcos Paulo de Souza wrote:
> > > Hello, I've being working on some patches that help to clarify
> > > the suspend/resume
>
The function resume_console has a misleading name, since it resumes all
consoles, so rename it accordly.
Signed-off-by: Marcos Paulo de Souza
---
include/linux/console.h | 2 +-
kernel/kexec_core.c | 2 +-
kernel/power
will rework the suspend flag (a global suspend flag istead of per console)
and
the removal of CON_ENABLED flag later on (I've created a function that will
forcibly)
register the console instead of using this flag.
Please review!
Signed-off-by: Marcos Paulo de Souza
---
Marcos Paulo d
The intent of console_start was to resume a previosly suspended console,
so rename it accordly.
Signed-off-by: Marcos Paulo de Souza
---
drivers/tty/serial/serial_core.c | 2 +-
include/linux/console.h | 2 +-
kernel/printk/printk.c | 4 ++--
3 files changed, 4 insertions
The function suspend_console has a misleading name, since it suspends all
consoles, so rename it accordly.
Signed-off-by: Marcos Paulo de Souza
---
include/linux/console.h | 2 +-
kernel/kexec_core.c | 2 +-
kernel/power
The intent of console_stop was in fact to suspend it, so rename the
function accordly.
Signed-off-by: Marcos Paulo de Souza
---
drivers/tty/serial/serial_core.c | 4 ++--
include/linux/console.h | 2 +-
kernel/printk/printk.c | 6 +++---
3 files changed, 6 insertions(+), 6
The commit 9e70a5e109a4 ("printk: Add per-console suspended state")
introduced the CON_SUSPENDED flag for consoles. The suspended consoles
will stop receiving messages, so don't unblank suspended consoles
because it won't be showing anything either way.
Signed-off-by: M