[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36DF59CE26D8EE47B0655C516E9CE64026587A89@SHSMSX101.ccr.corp.intel.com>
Date: Mon, 28 Sep 2015 01:51:09 +0000
From: "Chen, Yu C" <yu.c.chen@...el.com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
CC: "Wysocki, Rafael J" <rafael.j.wysocki@...el.com>,
"jiang.liu@...ux.intel.com" <jiang.liu@...ux.intel.com>,
"Zhang, Rui" <rui.zhang@...el.com>,
"Brown, Len" <len.brown@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>
Subject: RE: [PATCH][RFC] ACPI / PM: Fix incorrect wakeup irq setting before
suspend-to-idle
Hi, Rafael,
> -----Original Message-----
> From: linux-pm-owner@...r.kernel.org [mailto:linux-pm-
> owner@...r.kernel.org] On Behalf Of Rafael J. Wysocki
> Sent: Sunday, September 27, 2015 9:30 PM
> To: Chen, Yu C
> Cc: Wysocki, Rafael J; jiang.liu@...ux.intel.com; Zhang, Rui; Brown, Len; linux-
> kernel@...r.kernel.org; linux-pm@...r.kernel.org
> Subject: Re: [PATCH][RFC] ACPI / PM: Fix incorrect wakeup irq setting before
> suspend-to-idle
>
> On Saturday, September 26, 2015 02:37:19 PM Chen, Yu C wrote:
> > Hi, Rafael,
> >
> > > -----Original Message-----
> > > From: linux-pm-owner@...r.kernel.org [mailto:linux-pm-
> > > owner@...r.kernel.org] On Behalf Of Rafael J. Wysocki
> > > Sent: Friday, September 25, 2015 9:57 PM
> > > To: Chen, Yu C
> > > Cc: Wysocki, Rafael J; jiang.liu@...ux.intel.com; Zhang, Rui; Brown,
> > > Len; linux- kernel@...r.kernel.org; linux-pm@...r.kernel.org
> > > Subject: Re: [PATCH][RFC] ACPI / PM: Fix incorrect wakeup irq
> > > setting before suspend-to-idle
> > >
> > > On Friday, September 25, 2015 06:42:41 AM Chen, Yu C wrote:
> > > > Hi,Rafael, thanks a lot for your review, will resend v2 version.
> > > >
> > > > > -----Original Message-----
> > > > > From: Rafael J. Wysocki [mailto:rjw@...ysocki.net]
> > > > > Sent: Friday, September 25, 2015 9:24 AM
> > > > > To: Chen, Yu C
> > > > > Cc: Wysocki, Rafael J; jiang.liu@...ux.intel.com; Zhang, Rui;
> > > > > Brown, Len; linux- kernel@...r.kernel.org;
> > > > > linux-pm@...r.kernel.org
> > > > > Subject: Re: [PATCH][RFC] ACPI / PM: Fix incorrect wakeup irq
> > > > > setting before suspend-to-idle
> > > > >
> > > > > On Monday, August 10, 2015 10:11:26 AM Chen Yu wrote:
> > >
> > > But I'd rather define a global acpi_irq variable, store irq in it
> > > and access it directly from acpi_freeze_prepare(). And it doesn't
> > > have to depend on CONFIG_SUSPEND as it is just the IRQ number
> actually used by ACPI.
> > >
> > OK, I've convert it to a global variable acpi_inuse_irq.
>
> Why do you need the "inuse" part? Why is acpi_irq not sufficient?
Because the name of acpi_irq is already used by acpi irq handler at
drivers/acpi/osl.c:
request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)
Thanks
Yu
Powered by blists - more mailing lists