From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Arjan van de Ven <arjan@infradead.org>,
Dave Jones <davej@redhat.com>, Pavel Machek <pavel@ucw.cz>,
kernel list <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linux-pm mailing list <linux-pm@lists.osdl.org>
Subject: Re: [linux-pm] [RFC] userland swsusp
Date: Fri, 18 Nov 2005 20:18:21 -0800 [thread overview]
Message-ID: <200511182018.22060.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <1132351635.5238.12.camel@localhost.localdomain>
On Friday, November 18, 2005 2:07 pm, Alan Cox wrote:
> On Gwe, 2005-11-18 at 22:23 +0100, Arjan van de Ven wrote:
> > 1) accessing non-ram memory (eg PCI mmio space) by X and the likes
> > (ideally should use sysfs but hey, changing X for this will take
> > forever)
>
> Once sysfs supports the relevant capabilities fixing X actually
> doesn't look too horrible, the PCI mapping routines are abstracted
> and done by PCITAG (ie PCI device). You would need the ISA hole too
> in some cases.
It's actually partly done already (at least for ia64, but the code I put
together works on x86 too, iirc, and should work elsewhere). The ISA
stuff is exported on a per-bus basis in legacy_io and legacy_mem files.
If vbetool and friends want to get at the ROM, they can use the sysfs
rom file like everyone else. There are problems with this however, on
systems where the ROM is unpacked at 0xc0000 or something, especially
if the unpacked version is modified by the BIOS at startup time, not
sure how to address that reliably.
Jesse
next prev parent reply other threads:[~2005-11-19 5:54 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-15 21:29 [RFC] userland swsusp Pavel Machek
2005-11-15 21:32 ` [linux-pm] " Greg KH
2005-11-15 22:03 ` Pavel Machek
2005-11-15 22:25 ` Dave Jones
2005-11-15 23:32 ` Pavel Machek
2005-11-15 23:40 ` Dave Jones
2005-11-16 8:56 ` Pavel Machek
2005-11-16 21:41 ` Rafael J. Wysocki
2005-11-16 4:35 ` Dumitru Ciobarcianu
2005-11-16 6:14 ` Greg KH
2005-11-16 6:00 ` Nigel Cunningham
2005-11-16 16:50 ` Greg KH
2005-11-16 19:57 ` Nigel Cunningham
2005-11-16 21:35 ` Pavel Machek
2005-11-16 21:13 ` Nigel Cunningham
2005-11-16 22:47 ` Pavel Machek
2005-11-16 21:53 ` Nigel Cunningham
2005-11-23 10:16 ` Lorenzo Colitti
2005-11-23 12:02 ` Pavel Machek
2005-11-19 9:32 ` Rob Landley
2005-11-19 23:51 ` Pavel Machek
2005-11-18 19:36 ` Alan Cox
2005-11-18 21:18 ` Dave Jones
2005-11-18 21:20 ` Greg KH
2005-11-19 23:43 ` Pavel Machek
2005-11-20 21:48 ` Dave Jones
2005-11-20 22:09 ` Pavel Machek
2005-11-21 11:47 ` Rafael J. Wysocki
2005-11-21 14:19 ` Pavel Machek
2005-11-18 21:23 ` Arjan van de Ven
2005-11-18 22:07 ` Alan Cox
2005-11-19 4:18 ` Jesse Barnes [this message]
2005-11-19 8:44 ` Arjan van de Ven
2005-11-18 23:34 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2005-11-16 16:10 Gross, Mark
2005-11-16 16:44 ` Greg KH
2005-11-16 20:20 ` Nigel Cunningham
2005-11-16 22:05 ` Pavel Machek
2005-11-16 21:13 ` Nigel Cunningham
2005-11-16 22:41 ` Rafael J. Wysocki
2005-11-16 22:50 ` Pavel Machek
2005-11-17 17:02 ` Olivier Galibert
2005-11-17 19:57 ` Lee Revell
2005-11-17 20:12 ` Olivier Galibert
2005-11-17 20:20 ` Lee Revell
2005-11-17 20:37 ` Dave Jones
2005-11-17 20:46 ` Lee Revell
2005-11-17 20:59 ` Dave Jones
2005-11-17 20:54 ` Lee Revell
2005-11-17 21:01 ` Dave Jones
2005-11-17 21:06 ` Chris Wright
2005-11-17 21:14 ` Lee Revell
2005-11-17 21:18 ` Chris Wright
2005-11-17 21:45 ` Diego Calleja
2005-11-17 21:09 ` Matthew Garrett
2005-11-17 21:16 ` Lee Revell
2005-11-17 20:47 ` Lee Revell
2005-11-16 22:10 ` Greg KH
2005-11-16 21:25 ` Nigel Cunningham
2005-11-17 7:14 ` Arjan van de Ven
2005-11-16 19:10 ` Pavel Machek
2005-11-17 16:54 ` Olivier Galibert
2005-11-17 16:44 ` Greg KH
2005-11-17 17:03 ` Patrick Mochel
2005-11-17 17:31 ` Olivier Galibert
2005-11-17 20:15 ` Jacek Kawa
2005-11-17 21:56 ` Greg KH
2005-11-18 17:41 ` Jacek Kawa
2005-11-18 23:22 ` Pavel Machek
2005-11-17 18:50 Starikovskiy, Alexey Y
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=200511182018.22060.jbarnes@virtuousgeek.org \
--to=jbarnes@virtuousgeek.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
/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