From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: "Chen, Yu C" <yu.c.chen@intel.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
"x86@kernel.org" <x86@kernel.org>,
"linux-efi@vger.kernel.org" <linux-efi@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
Len Brown <lenb@kernel.org>,
Matt Fleming <matt@codeblueprint.co.uk>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
"Zhang, Rui" <rui.zhang@intel.com>
Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5
Date: Tue, 08 Mar 2016 02:53:46 +0100 [thread overview]
Message-ID: <2414254.VhAiD01BTS@vostro.rjw.lan> (raw)
In-Reply-To: <36DF59CE26D8EE47B0655C516E9CE640286D329F@shsmsx102.ccr.corp.intel.com>
On Monday, March 07, 2016 03:53:13 PM Chen, Yu C wrote:
> Hi Rafael,
> (resend for broken content)
>
> > -----Original Message-----
> > From: rjwysocki@gmail.com [mailto:rjwysocki@gmail.com] On Behalf Of
> > Rafael J. Wysocki
> > Sent: Monday, March 07, 2016 9:19 PM
> > To: Chen, Yu C
> > Cc: ACPI Devel Maling List; x86@kernel.org; linux-efi@vger.kernel.org; Linux
> > Kernel Mailing List; linux-pm@vger.kernel.org; Rafael J. Wysocki; Len Brown;
> > Matt Fleming; Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Zhang, Rui
> > Subject: Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full
> > platforms without _S5
> >
> [cut]
> > > bool efi_poweroff_required(void)
> > > {
> > > - return !!acpi_gbl_reduced_hardware;
> > > + return acpi_gbl_reduced_hardware || (acpi_no_s5 &&
> > > + !pm_power_off);
> >
> > What if CONFIG_ACPI is not set here?
> If CONFIG_ACPI is not set, this file would not
> be compiled, because CONFIG_EFI depends on CONFIG_ACPI.
OK
So the next question will be if efi_poweroff_required() is guaranteed to run
after all of the other code that may register alternative power off handling.
Thanks,
Rafael
next prev parent reply other threads:[~2016-03-08 1:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 2:50 [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5 Chen Yu
[not found] ` <1457319045-25434-1-git-send-email-yu.c.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-07 13:19 ` Rafael J. Wysocki
2016-03-07 15:49 ` Chen, Yu C
2016-03-07 15:53 ` Chen, Yu C
2016-03-08 1:53 ` Rafael J. Wysocki [this message]
2016-03-08 16:25 ` Chen, Yu C
2016-03-08 22:56 ` Rafael J. Wysocki
[not found] ` <1867318.3ivAYsjD7D-sKB8Sp2ER+y1GS7QM15AGw@public.gmane.org>
2016-03-10 2:16 ` Chen, Yu C
2016-03-09 15:34 ` Matt Fleming
[not found] ` <20160309153436.GB15775-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2016-03-10 2:25 ` Chen, Yu C
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=2414254.VhAiD01BTS@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=hpa@zytor.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=matt@codeblueprint.co.uk \
--cc=mingo@redhat.com \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=yu.c.chen@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