From: Maxim Levitsky <maximlevitsky@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Moore, Robert" <robert.moore@intel.com>,
Matthew Garrett <mjg@redhat.com>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
Len Brown <lenb@kernel.org>,
Jesse Barnes <jbarnes@virtuousgeek.org>
Subject: Re: [RFC][PATCH 0/3] Introduce GPE refcounting (was: Re: Recent GPE patches - some questions.)
Date: Thu, 11 Feb 2010 19:36:13 +0200 [thread overview]
Message-ID: <1265909773.9788.12.camel@maxim-laptop> (raw)
In-Reply-To: <201002102236.34881.rjw@sisk.pl>
On Wed, 2010-02-10 at 22:36 +0100, Rafael J. Wysocki wrote:
> On Wednesday 10 February 2010, Maxim Levitsky wrote:
> > On Sun, 2010-02-07 at 03:17 +0100, Rafael J. Wysocki wrote:
> > > On Sunday 07 February 2010, Rafael J. Wysocki wrote:
> > > > Hi,
> > > >
> > > > On Wednesday 03 February 2010, Moore, Robert wrote:
> > > > > Matthew,
> > > > >
> > > > > Thanks for your response to my questions.
> > > > >
> > > > > I've been thinking about these interfaces:
> > > > >
> > > > > acpi_ref_runtime_gpe
> > > > > acpi_ref_wakeup_gpe
> > > > > acpi_unref_runtime_gpe
> > > > > acpi_unref_wakeup_gpe
> > > > >
> >
> > One minor, mostly off-topic question.
> > Currently to enable static wakeup one has to write /proc/acpi/wakeup.
>
> That depends on the device. For PCI devices there's another interface for
> that, which is /sys/devices/.../power/wakeup .
>
> > Do you consider propagating device wakeup settings to acpi,
> > so /proc/acpi/wakeup could finally be deprecated?
>
> We already do that for PCI devices.
Not in 2.6.33-rc6
maxim@maxim-laptop:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
UHC1 S3 disabled pci:0000:00:1d.0
UHC2 S3 disabled pci:0000:00:1d.1
UHC3 S3 disabled pci:0000:00:1d.2
UHC4 S3 disabled pci:0000:00:1a.0
UHC5 S3 disabled pci:0000:00:1a.1
EHC1 S3 disabled pci:0000:00:1d.7
EHC2 S3 disabled pci:0000:00:1a.7
EXP3 S4 disabled pci:0000:00:1c.2
EXP5 S4 disabled
EXP6 S4 disabled
AZAL S4 disabled pci:0000:00:1b.0
MODM S4 disabled
maxim@maxim-laptop:~$ echo enabled | sudo tee /sys/devices/pci0000
\:00/0000\:00\:1d.0/power/wakeup
enabled
cat /sys/devices/pci0000\:00/0000\:00\:1d.0/power/wakeup enabled
maxim@maxim-laptop:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
UHC1 S3 disabled pci:0000:00:1d.0
UHC2 S3 disabled pci:0000:00:1d.1
UHC3 S3 disabled pci:0000:00:1d.2
UHC4 S3 disabled pci:0000:00:1a.0
UHC5 S3 disabled pci:0000:00:1a.1
EHC1 S3 disabled pci:0000:00:1d.7
EHC2 S3 disabled pci:0000:00:1a.7
EXP3 S4 disabled pci:0000:00:1c.2
EXP5 S4 disabled
EXP6 S4 disabled
AZAL S4 disabled pci:0000:00:1b.0
MODM S4 disabled
Or am I mistaken somehow?
Best regards,
Maxim Levitsky
next prev parent reply other threads:[~2010-02-11 17:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-29 20:30 Recent GPE patches - some questions Moore, Robert
2010-02-01 22:36 ` Matthew Garrett
2010-02-02 23:02 ` Moore, Robert
2010-02-06 23:31 ` Rafael J. Wysocki
2010-02-07 2:17 ` [RFC][PATCH 0/3] Introduce GPE refcounting (was: Re: Recent GPE patches - some questions.) Rafael J. Wysocki
2010-02-07 2:22 ` [RFC][PATCH 1/3] ACPI: Add infrastructure for refcounting GPE consumers Rafael J. Wysocki
2010-02-07 2:23 ` [RFC][PATCH 2/3] ACPI: Modify GPE consumers to use GPE refcounting Rafael J. Wysocki
2010-02-07 2:24 ` [RFC][PATCH 3/3] ACPI: Remove old GPE API and transition code entirely to new one Rafael J. Wysocki
2010-02-07 11:56 ` [Update] Re: [RFC][PATCH 0/3] Introduce GPE refcounting (was: Re: Recent GPE patches - some questions.) Rafael J. Wysocki
2010-02-07 11:58 ` [Update][RFC][PATCH 1/3] ACPI: Add infrastructure for refcounting GPE consumers Rafael J. Wysocki
2010-02-07 11:58 ` [Update][RFC][PATCH 2/3] ACPI: Modify GPE consumers to use GPE refcounting Rafael J. Wysocki
2010-02-07 11:59 ` [Update][RFC][PATCH 3/3] ACPI: Remove old GPE API and transition code entirely to new one Rafael J. Wysocki
2010-02-10 21:29 ` [RFC][PATCH 0/3] Introduce GPE refcounting (was: Re: Recent GPE patches - some questions.) Maxim Levitsky
2010-02-10 21:36 ` Rafael J. Wysocki
2010-02-11 17:36 ` Maxim Levitsky [this message]
2010-02-11 20:34 ` Rafael J. Wysocki
2010-02-13 16:08 ` Maxim Levitsky
2010-02-14 2:24 ` Rafael J. Wysocki
2010-02-10 21:36 ` Recent GPE patches - some questions Moore, Robert
2010-02-11 22:51 ` [PATCH] ACPI: Use GPE reference counting to support shared GPEs (was: Re: Recent GPE patches - some questions.) Rafael J. Wysocki
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=1265909773.9788.12.camel@maxim-laptop \
--to=maximlevitsky@gmail.com \
--cc=jbarnes@virtuousgeek.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rjw@sisk.pl \
--cc=robert.moore@intel.com \
/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