From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Li Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: ncunningham-3EexvZdKGZRWk0Htik3J/w@public.gmane.org,
ACPI List
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Suggestion for improving the handling of GPE enabling.
Date: Wed, 9 Mar 2005 23:21:24 +0100 [thread overview]
Message-ID: <20050309222122.GA32516@elf.ucw.cz> (raw)
In-Reply-To: <1110331896.12642.16.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
Hi!
> > better tied to what's actually happening (I'm assuming Pavel's
> > pm_message_t changes are applied). Something like:
> >
> > PMSG_FREEZE: Disable GPEs.
> > PMSG_SUSPEND: Enable wake GPEs.
> > PMSG_ON: Disable wake GPEs, enable normal GPEs.
> I have the same feeling. A real solution should be to merge ACPI device
> into the global device tree, so every ACPI driver will have a
> .suspend/.resume method. In the .suspend/.resume method, we can do
> anything we want. This has been in the wish list for a long time.
> Some issues are:
> 1. what kind of device should ACPI device be? system device or platform
> device?
I'd say platform device, but pick one ;-).
> 2. What's purpose of the current ACPI namespace in sysfs? Could ACPI
> device be regarded as a normal device?
I did not notice we have ACPI namespace in sysfs... ... aha, I see. I
guess it is okay for debugging and low-level tricks aka sonypi?
> 3. Some ACPI devices have physical partners. Who will do the
> suspend/resume?
I'd let the physical partners do it; it should work without ACPI, too.
> 4. ACPI devices are in many different physical buses. If we just define
> an ACPI bus, we possibly can't show the bus hierarchy.
Maybe ACPI device should be "under" real hardware one?
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-03-09 22:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-08 22:23 Suggestion for improving the handling of GPE enabling Nigel Cunningham
[not found] ` <1110318037.3663.19.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-03-09 1:31 ` Li Shaohua
[not found] ` <1110331896.12642.16.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-03-09 22:21 ` Pavel Machek [this message]
[not found] ` <20050309222122.GA32516-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-10 5:10 ` Len Brown
2005-03-10 10:11 ` Pavel Machek
2005-03-10 13:30 ` Matthew Garrett
2005-03-10 17:18 ` Karol Kozimor
-- strict thread matches above, loose matches on Subject: below --
2005-03-11 2:30 Li, Shaohua
2005-03-11 4:50 Li, Shaohua
2005-03-11 5:05 Brown, Len
2005-03-11 5:43 Li, Shaohua
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=20050309222122.GA32516@elf.ucw.cz \
--to=pavel-+zi9xunit7i@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ncunningham-3EexvZdKGZRWk0Htik3J/w@public.gmane.org \
--cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@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