From: Ole Rohne <ole.rohne-vJEk5272eHo@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Fujitsu P2120 S3 resume - no video, lost PCI config, suggestions?
Date: 04 Mar 2003 20:35:46 +0100 [thread overview]
Message-ID: <ebw3cm26i25.fsf_-_@lxplus004.cern.ch> (raw)
In-Reply-To: <20030304173547.7a815082.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
In my quest to make S3 working on this platform, I've found the
underlying reason why the display is black after a S3: the vga adapter
(ATI Radeon M6 LY) looses its pci configuration and comes back with io
and memory disabled, and BASE_ADDRESS_n, LATENCY_TIMER,
CACHE_LINE_SIZE, and INTERRUPT_LINE containing garbage. At first I
felt let down by the BIOS, but on reading the ACPI spec it seems that
it is up to the OS to enumerate and configure devices on "known" buses.
So far I've tried calling pci_save_state/pci_restore_state from within
the radeonfb pci driver suspend/resume routines. Unfortunately, that
causes the machine to hang, probably just after PCI_COMMAND has been
updated. Alternatively, I've tried rewriting the PCI configuration
from userspace (setpci), which doesn't always hang but now the thing
claims there is nothing connected when I eg reload radeonfb.
Questions:
Is it really the job of the OS to configure PCI devices after a S3 sleep?
What is the reason for the hanging when I try to restore PCI config?
Is it possible that PCI "enumeration" and configuration needs to be
done early, like in real mode or before irqs are enabled?
Appreciating your suggestions,
Ole
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
next prev parent reply other threads:[~2003-03-04 19:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-28 20:53 ACPI patches updated (20030228) Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A84725A1BB-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-01 9:34 ` Markus Gaugusch
2003-03-04 16:35 ` Nils Faerber
[not found] ` <20030304173547.7a815082.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2003-03-04 19:35 ` Ole Rohne [this message]
[not found] ` <ebw3cm26i25.fsf_-_-DyOQ+clltETga/7gGEVw4u1GAupnlqi7@public.gmane.org>
2003-03-04 20:26 ` Fujitsu P2120 S3 resume - no video, lost PCI config, suggestions? Patrick Mochel
[not found] ` <Pine.LNX.4.33.0303041422450.1438-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-03-05 15:07 ` Ducrot Bruno
[not found] ` <20030305150729.GJ7861-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-05 17:22 ` Patrick Mochel
[not found] ` <Pine.LNX.4.33.0303051119320.994-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-03-05 20:20 ` Ducrot Bruno
2003-03-06 6:09 ` Ole Rohne
[not found] ` <ebwn0k9jaab.fsf-e5kh7Nd5fja2ozzinb8jHw@public.gmane.org>
2003-03-06 14:48 ` Patrick Mochel
[not found] ` <Pine.LNX.4.33.0303060848260.994-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-03-06 16:12 ` Ole Rohne
2003-03-05 8:35 ` ACPI patches updated (20030228) Takayoshi Kochi
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=ebw3cm26i25.fsf_-_@lxplus004.cern.ch \
--to=ole.rohne-vjek5272eho@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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