From: Benjamin Herrenschmidt <benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
To: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>,
Emmanuel Thome <Emmanuel.Thome+acpi-/zGXu1G9BXs@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Dell D600: teaching radeonfb how to wake up...
Date: Fri, 28 Nov 2003 11:10:44 +1100 [thread overview]
Message-ID: <1069978244.671.219.camel@gaston> (raw)
In-Reply-To: <20031127104722.GM7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
On Thu, 2003-11-27 at 21:47, Ducrot Bruno wrote:
> On Wed, Nov 26, 2003 at 11:34:36PM +0100, Pavel Machek wrote:
> > That's what I'm doing, but it crashes machine on most
> > machines. Perhaps PCI needs to be already initialized at this point or
> > something like that?
>
> In fact, I don't think that POST is a good idea anyway (we had
> alerady that discussion). It's way too early in the resume path.
> Perhaps POSTing after PCI subsystem wakeup may help, but then you
> may have to go with int 10 instead (and that will be pretty hard
> to do that in kernel space).
Well... we have to POST the card one way or another. So unless ATI
provides us with the complete POST code for all of their chipset
revisions, which may never happen, we are stuck with using the BIOS
POST facility.
However, I think Pavel is right here, we should probably restore
the PCI bus (and AGP !) completely before attempting that. Which
means we'll probably have to add a facility to x86 to go back to
real mode run that dawn int10 thing.
Something else we need on x86 (I need that at least in radeonfb),
provided that doesn't exist already, is a small hook in the PCI
code at probe time that "detects" which VGA PCI chbip had IO
decoding enabled, that is which one is the primary one.
I need that in order to properly retreive some tables, as on a
bunch of laptops, the video BIOS ROM isn't accessible on the PCI
ROM BAR of the card. So I need to check when dealing with the
primary card and peek at the BIOS image at c0000 instead of the
PCI ROM.
ben.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
next prev parent reply other threads:[~2003-11-28 0:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 18:01 Dell D600: teaching radeonfb how to wake up Emmanuel Thomé
[not found] ` <20031119180119.GB22307-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2003-11-19 19:43 ` Karol Kozimor
[not found] ` <20031119194303.GA16571-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-11-19 19:51 ` Emmanuel Thome
[not found] ` <20031119205129.A19364-SAjW485I7Qt98t58zOhiHA@public.gmane.org>
2003-11-19 20:08 ` Karol Kozimor
2003-11-20 11:44 ` Ducrot Bruno
2003-11-20 11:13 ` Pavel Machek
[not found] ` <1069370504.705.32.camel@gaston>
[not found] ` <1069370504.705.32.camel-ZSGxbZoyBwc@public.gmane.org>
2003-11-20 23:47 ` Pavel Machek
[not found] ` <20031120234708.GA431-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-11-21 0:24 ` Benjamin Herrenschmidt
[not found] ` <1069374272.723.44.camel-ZSGxbZoyBwc@public.gmane.org>
2003-11-21 12:32 ` Karol Kozimor
[not found] ` <20031121123239.GB9973-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-11-21 13:01 ` Charl P. Botha
2003-11-24 1:30 ` Benjamin Herrenschmidt
2003-11-21 14:50 ` Emmanuel Thome
[not found] ` <20031121155010.C19564-SAjW485I7Qt98t58zOhiHA@public.gmane.org>
2003-11-24 1:29 ` Benjamin Herrenschmidt
[not found] ` <1069637387.723.112.camel-ZSGxbZoyBwc@public.gmane.org>
2003-11-24 17:36 ` Pavel Machek
[not found] ` <20031124173603.GA298-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-11-25 2:02 ` Benjamin Herrenschmidt
[not found] ` <1069725771.876.296.camel-ZSGxbZoyBwc@public.gmane.org>
2003-11-25 12:04 ` Pavel Machek
[not found] ` <20031125120443.GA297-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-11-26 13:24 ` Ducrot Bruno
[not found] ` <20031126132419.GL7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-26 22:34 ` Pavel Machek
[not found] ` <20031126223436.GD207-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-11-26 23:27 ` Benjamin Herrenschmidt
2003-11-27 10:47 ` Ducrot Bruno
[not found] ` <20031127104722.GM7374-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-28 0:10 ` Benjamin Herrenschmidt [this message]
[not found] ` <yzo1xs3ijgr.fsf@localhost.localdomain>
[not found] ` <yzo1xs3ijgr.fsf-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-11-21 14:35 ` Emmanuel Thomé
2003-11-22 16:31 ` Emmanuel Thome
[not found] ` <20031122163147.GA26528-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2003-11-24 17:39 ` Pavel Machek
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=1069978244.671.219.camel@gaston \
--to=benh-xvmvhmargas8u2djnn8i7kb+6bgklq7r@public.gmane.org \
--cc=Emmanuel.Thome+acpi-/zGXu1G9BXs@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
--cc=pavel-+ZI9xUNit7I@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