linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
To: linux-serial@vger.kernel.org
Subject: abusing early serial console init for resume
Date: Wed, 11 May 2005 05:15:36 +0200	[thread overview]
Message-ID: <428178D8.3040302@gmx.net> (raw)

Hi,

is it possible to use the code from drivers/serial/8250_early.c
to make the serial console work again during resume from
suspend-to-RAM? It seems my serial port loses its state during
suspend and for debugging poweron crashes having a working
serial console is absolutely essential.

Having working suspend/resume in the generic serial driver
would be great, too, but I'm not demanding that. I'll settle
for any hackish solution which brings my serial console back
before the system has a chance to commit suicide.

At a first glance, it seems removing __init from all
functions in 8250_early.c and calling early_uart_setup during
resume could work just fine.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/

                 reply	other threads:[~2005-05-11  3:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428178D8.3040302@gmx.net \
    --to=c-d.hailfinger.devel.2005@gmx.net \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).