* [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
@ 2015-10-24 17:02 Chen Yu
2015-10-24 17:18 ` kbuild test robot
0 siblings, 1 reply; 6+ messages in thread
From: Chen Yu @ 2015-10-24 17:02 UTC (permalink / raw)
To: rjw, lenb
Cc: rui.zhang, lv.zheng, linux-acpi, linux-kernel, linux-pm, Chen Yu,
stable
When system is waiting for GPE/fixed event handler to finish,
it uses the acpi_gbl_FADT.sci_interrupt directly. However, we
should use mapped irq returned by acpi_gsi_to_irq for synchronize_hardirq.
Cc: <stable@vger.kernel.org> # 3.19+
Acked-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
drivers/acpi/osl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 64df9d4..45243a7 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1184,8 +1184,8 @@ void acpi_os_wait_events_complete(void)
* Make sure the GPE handler or the fixed event handler is not used
* on another CPU after removal.
*/
- if (acpi_irq_handler)
- synchronize_hardirq(acpi_gbl_FADT.sci_interrupt);
+ if (acpi_sci_irq_valid())
+ synchronize_hardirq(acpi_sci_irq);
flush_workqueue(kacpid_wq);
flush_workqueue(kacpi_notify_wq);
}
--
1.8.4.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
2015-10-24 17:02 [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events Chen Yu
@ 2015-10-24 17:18 ` kbuild test robot
2015-10-25 2:08 ` Chen, Yu C
0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2015-10-24 17:18 UTC (permalink / raw)
Cc: kbuild-all, rjw, lenb, rui.zhang, lv.zheng, linux-acpi,
linux-kernel, linux-pm, Chen Yu, stable
[-- Attachment #1: Type: text/plain, Size: 2293 bytes --]
Hi Chen,
[auto build test ERROR on pm/linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-correct-irq-when-waiting-for-events/20151025-010210
config: x86_64-randconfig-x015-201543 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/acpi/osl.c:26:
drivers/acpi/osl.c: In function 'acpi_os_wait_events_complete':
>> drivers/acpi/osl.c:1183:6: error: implicit declaration of function 'acpi_sci_irq_valid' [-Werror=implicit-function-declaration]
if (acpi_sci_irq_valid())
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/acpi/osl.c:1183:2: note: in expansion of macro 'if'
if (acpi_sci_irq_valid())
^
>> drivers/acpi/osl.c:1184:23: error: 'acpi_sci_irq' undeclared (first use in this function)
synchronize_hardirq(acpi_sci_irq);
^
drivers/acpi/osl.c:1184:23: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +/acpi_sci_irq_valid +1183 drivers/acpi/osl.c
1177 void acpi_os_wait_events_complete(void)
1178 {
1179 /*
1180 * Make sure the GPE handler or the fixed event handler is not used
1181 * on another CPU after removal.
1182 */
> 1183 if (acpi_sci_irq_valid())
> 1184 synchronize_hardirq(acpi_sci_irq);
1185 flush_workqueue(kacpid_wq);
1186 flush_workqueue(kacpi_notify_wq);
1187 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17839 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
2015-10-24 17:18 ` kbuild test robot
@ 2015-10-25 2:08 ` Chen, Yu C
2015-10-26 1:22 ` Fengguang Wu
0 siblings, 1 reply; 6+ messages in thread
From: Chen, Yu C @ 2015-10-25 2:08 UTC (permalink / raw)
Cc: kbuild-all@01.org, rjw@rjwysocki.net, lenb@kernel.org, Zhang, Rui,
Zheng, Lv, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
stable@vger.kernel.org, Wu, Fengguang, Li, Philip
This should not be a valid warning IMO,
because PATCH 2/3 is based on PATCH 1/3,
and the warning of implicit declaration is defined
in PATCH 1/3.
> -----Original Message-----
> From: lkp
> Sent: Sunday, October 25, 2015 1:19 AM
> To: Chen, Yu C
> Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang, Rui;
> Zheng, Lv; linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
> pm@vger.kernel.org; Chen, Yu C; stable@vger.kernel.org
> Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
>
> Hi Chen,
>
> [auto build test ERROR on pm/linux-next -- if it's inappropriate base, please
> suggest rules for selecting the more suitable base]
>
> url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-
> correct-irq-when-waiting-for-events/20151025-010210
> config: x86_64-randconfig-x015-201543 (attached as .config)
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All error/warnings (new ones prefixed by >>):
>
> In file included from include/uapi/linux/stddef.h:1:0,
> from include/linux/stddef.h:4,
> from include/uapi/linux/posix_types.h:4,
> from include/uapi/linux/types.h:13,
> from include/linux/types.h:5,
> from include/linux/list.h:4,
> from include/linux/module.h:9,
> from drivers/acpi/osl.c:26:
> drivers/acpi/osl.c: In function 'acpi_os_wait_events_complete':
> >> drivers/acpi/osl.c:1183:6: error: implicit declaration of function
> 'acpi_sci_irq_valid' [-Werror=implicit-function-declaration]
> if (acpi_sci_irq_valid())
> ^
> include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
> if (__builtin_constant_p((cond)) ? !!(cond) : \
> ^
> >> drivers/acpi/osl.c:1183:2: note: in expansion of macro 'if'
> if (acpi_sci_irq_valid())
> ^
> >> drivers/acpi/osl.c:1184:23: error: 'acpi_sci_irq' undeclared (first use in this
> function)
> synchronize_hardirq(acpi_sci_irq);
> ^
> drivers/acpi/osl.c:1184:23: note: each undeclared identifier is reported only
> once for each function it appears in
> cc1: some warnings being treated as errors
>
> vim +/acpi_sci_irq_valid +1183 drivers/acpi/osl.c
>
> 1177 void acpi_os_wait_events_complete(void)
> 1178 {
> 1179 /*
> 1180 * Make sure the GPE handler or the fixed event handler is
> not used
> 1181 * on another CPU after removal.
> 1182 */
> > 1183 if (acpi_sci_irq_valid())
> > 1184 synchronize_hardirq(acpi_sci_irq);
> 1185 flush_workqueue(kacpid_wq);
> 1186 flush_workqueue(kacpi_notify_wq);
> 1187 }
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
2015-10-25 2:08 ` Chen, Yu C
@ 2015-10-26 1:22 ` Fengguang Wu
2015-10-26 1:33 ` Chen, Yu C
0 siblings, 1 reply; 6+ messages in thread
From: Fengguang Wu @ 2015-10-26 1:22 UTC (permalink / raw)
To: Chen, Yu C
Cc: kbuild-all@01.org, rjw@rjwysocki.net, lenb@kernel.org, Zhang, Rui,
Zheng, Lv, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
stable@vger.kernel.org, Li, Philip
On Sun, Oct 25, 2015 at 10:08:29AM +0800, Chen, Yu C wrote:
> This should not be a valid warning IMO,
> because PATCH 2/3 is based on PATCH 1/3,
> and the warning of implicit declaration is defined
> in PATCH 1/3.
Yes sorry, the robot treats the patchset as 3 independent patches:
2754 N L Oct 25 Chen Yu ( 34:0) [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
2756 N L Oct 25 Chen Yu ( 52:0) [PATCH 3/3][v2] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle
2757 N L Oct 25 Chen Yu ( 75:0) [PATCH 1/3][v2] ACPI: Using correct irq when uninstalling acpi irq handler
And the root cause is, the 3 patches are likely sent one by one
_out of order_. And there is no in-reply-to field to help reorder
them into a logical patchset.
Thanks,
Fengguang
> > -----Original Message-----
> > From: lkp
> > Sent: Sunday, October 25, 2015 1:19 AM
> > To: Chen, Yu C
> > Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang, Rui;
> > Zheng, Lv; linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
> > pm@vger.kernel.org; Chen, Yu C; stable@vger.kernel.org
> > Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
> >
> > Hi Chen,
> >
> > [auto build test ERROR on pm/linux-next -- if it's inappropriate base, please
> > suggest rules for selecting the more suitable base]
> >
> > url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-
> > correct-irq-when-waiting-for-events/20151025-010210
> > config: x86_64-randconfig-x015-201543 (attached as .config)
> > reproduce:
> > # save the attached .config to linux build tree
> > make ARCH=x86_64
> >
> > All error/warnings (new ones prefixed by >>):
> >
> > In file included from include/uapi/linux/stddef.h:1:0,
> > from include/linux/stddef.h:4,
> > from include/uapi/linux/posix_types.h:4,
> > from include/uapi/linux/types.h:13,
> > from include/linux/types.h:5,
> > from include/linux/list.h:4,
> > from include/linux/module.h:9,
> > from drivers/acpi/osl.c:26:
> > drivers/acpi/osl.c: In function 'acpi_os_wait_events_complete':
> > >> drivers/acpi/osl.c:1183:6: error: implicit declaration of function
> > 'acpi_sci_irq_valid' [-Werror=implicit-function-declaration]
> > if (acpi_sci_irq_valid())
> > ^
> > include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
> > if (__builtin_constant_p((cond)) ? !!(cond) : \
> > ^
> > >> drivers/acpi/osl.c:1183:2: note: in expansion of macro 'if'
> > if (acpi_sci_irq_valid())
> > ^
> > >> drivers/acpi/osl.c:1184:23: error: 'acpi_sci_irq' undeclared (first use in this
> > function)
> > synchronize_hardirq(acpi_sci_irq);
> > ^
> > drivers/acpi/osl.c:1184:23: note: each undeclared identifier is reported only
> > once for each function it appears in
> > cc1: some warnings being treated as errors
> >
> > vim +/acpi_sci_irq_valid +1183 drivers/acpi/osl.c
> >
> > 1177 void acpi_os_wait_events_complete(void)
> > 1178 {
> > 1179 /*
> > 1180 * Make sure the GPE handler or the fixed event handler is
> > not used
> > 1181 * on another CPU after removal.
> > 1182 */
> > > 1183 if (acpi_sci_irq_valid())
> > > 1184 synchronize_hardirq(acpi_sci_irq);
> > 1185 flush_workqueue(kacpid_wq);
> > 1186 flush_workqueue(kacpi_notify_wq);
> > 1187 }
> >
> > ---
> > 0-DAY kernel test infrastructure Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
2015-10-26 1:22 ` Fengguang Wu
@ 2015-10-26 1:33 ` Chen, Yu C
2015-10-26 1:55 ` Fengguang Wu
0 siblings, 1 reply; 6+ messages in thread
From: Chen, Yu C @ 2015-10-26 1:33 UTC (permalink / raw)
To: Wu, Fengguang
Cc: kbuild-all@01.org, rjw@rjwysocki.net, lenb@kernel.org, Zhang, Rui,
Zheng, Lv, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
stable@vger.kernel.org, Li, Philip
Hi, Fengguang,
I've forgotten to add --thread-shallow when doing git format-patch, thanks!
Best Regards,
Yu
> -----Original Message-----
> From: linux-pm-owner@vger.kernel.org [mailto:linux-pm-
> owner@vger.kernel.org] On Behalf Of Fengguang Wu
> Sent: Monday, October 26, 2015 9:22 AM
> To: Chen, Yu C
> Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang, Rui;
> Zheng, Lv; linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
> pm@vger.kernel.org; stable@vger.kernel.org; Li, Philip
> Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
>
> On Sun, Oct 25, 2015 at 10:08:29AM +0800, Chen, Yu C wrote:
> > This should not be a valid warning IMO, because PATCH 2/3 is based on
> > PATCH 1/3, and the warning of implicit declaration is defined in PATCH
> > 1/3.
>
> Yes sorry, the robot treats the patchset as 3 independent patches:
>
> 2754 N L Oct 25 Chen Yu ( 34:0) [PATCH 2/3][v2] ACPI: Using correct irq
> when waiting for events
> 2756 N L Oct 25 Chen Yu ( 52:0) [PATCH 3/3][v2] ACPI / PM: Fix incorrect
> wakeup irq setting before suspend-to-idle
> 2757 N L Oct 25 Chen Yu ( 75:0) [PATCH 1/3][v2] ACPI: Using correct irq
> when uninstalling acpi irq handler
>
> And the root cause is, the 3 patches are likely sent one by one _out of order_.
> And there is no in-reply-to field to help reorder them into a logical patchset.
>
> Thanks,
> Fengguang
>
> > > -----Original Message-----
> > > From: lkp
> > > Sent: Sunday, October 25, 2015 1:19 AM
> > > To: Chen, Yu C
> > > Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang,
> > > Rui; Zheng, Lv; linux-acpi@vger.kernel.org;
> > > linux-kernel@vger.kernel.org; linux- pm@vger.kernel.org; Chen, Yu C;
> > > stable@vger.kernel.org
> > > Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting
> > > for events
> > >
> > > Hi Chen,
> > >
> > > [auto build test ERROR on pm/linux-next -- if it's inappropriate
> > > base, please suggest rules for selecting the more suitable base]
> > >
> > > url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-
> > > correct-irq-when-waiting-for-events/20151025-010210
> > > config: x86_64-randconfig-x015-201543 (attached as .config)
> > > reproduce:
> > > # save the attached .config to linux build tree
> > > make ARCH=x86_64
> > >
> > > All error/warnings (new ones prefixed by >>):
> > >
> > > In file included from include/uapi/linux/stddef.h:1:0,
> > > from include/linux/stddef.h:4,
> > > from include/uapi/linux/posix_types.h:4,
> > > from include/uapi/linux/types.h:13,
> > > from include/linux/types.h:5,
> > > from include/linux/list.h:4,
> > > from include/linux/module.h:9,
> > > from drivers/acpi/osl.c:26:
> > > drivers/acpi/osl.c: In function 'acpi_os_wait_events_complete':
> > > >> drivers/acpi/osl.c:1183:6: error: implicit declaration of
> > > >> function
> > > 'acpi_sci_irq_valid' [-Werror=implicit-function-declaration]
> > > if (acpi_sci_irq_valid())
> > > ^
> > > include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
> > > if (__builtin_constant_p((cond)) ? !!(cond) : \
> > > ^
> > > >> drivers/acpi/osl.c:1183:2: note: in expansion of macro 'if'
> > > if (acpi_sci_irq_valid())
> > > ^
> > > >> drivers/acpi/osl.c:1184:23: error: 'acpi_sci_irq' undeclared
> > > >> (first use in this
> > > function)
> > > synchronize_hardirq(acpi_sci_irq);
> > > ^
> > > drivers/acpi/osl.c:1184:23: note: each undeclared identifier is
> > > reported only once for each function it appears in
> > > cc1: some warnings being treated as errors
> > >
> > > vim +/acpi_sci_irq_valid +1183 drivers/acpi/osl.c
> > >
> > > 1177 void acpi_os_wait_events_complete(void)
> > > 1178 {
> > > 1179 /*
> > > 1180 * Make sure the GPE handler or the fixed event
> handler is
> > > not used
> > > 1181 * on another CPU after removal.
> > > 1182 */
> > > > 1183 if (acpi_sci_irq_valid())
> > > > 1184 synchronize_hardirq(acpi_sci_irq);
> > > 1185 flush_workqueue(kacpid_wq);
> > > 1186 flush_workqueue(kacpi_notify_wq);
> > > 1187 }
> > >
> > > ---
> > > 0-DAY kernel test infrastructure Open Source Technology Center
> > > https://lists.01.org/pipermail/kbuild-all Intel Corporation
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in the
> body of a message to majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
2015-10-26 1:33 ` Chen, Yu C
@ 2015-10-26 1:55 ` Fengguang Wu
0 siblings, 0 replies; 6+ messages in thread
From: Fengguang Wu @ 2015-10-26 1:55 UTC (permalink / raw)
To: Chen, Yu C
Cc: kbuild-all@01.org, rjw@rjwysocki.net, lenb@kernel.org, Zhang, Rui,
Zheng, Lv, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
stable@vger.kernel.org, Li, Philip
Hi Yu,
On Mon, Oct 26, 2015 at 01:33:10AM +0000, Chen, Yu C wrote:
> Hi, Fengguang,
> I've forgotten to add --thread-shallow when doing git format-patch, thanks!
Never mind, --thread-shallow helps but won't be unnecessary.
I'll improve the patchset detection logic.
Thanks,
Fengguang
> > -----Original Message-----
> > From: linux-pm-owner@vger.kernel.org [mailto:linux-pm-
> > owner@vger.kernel.org] On Behalf Of Fengguang Wu
> > Sent: Monday, October 26, 2015 9:22 AM
> > To: Chen, Yu C
> > Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang, Rui;
> > Zheng, Lv; linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
> > pm@vger.kernel.org; stable@vger.kernel.org; Li, Philip
> > Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events
> >
> > On Sun, Oct 25, 2015 at 10:08:29AM +0800, Chen, Yu C wrote:
> > > This should not be a valid warning IMO, because PATCH 2/3 is based on
> > > PATCH 1/3, and the warning of implicit declaration is defined in PATCH
> > > 1/3.
> >
> > Yes sorry, the robot treats the patchset as 3 independent patches:
> >
> > 2754 N L Oct 25 Chen Yu ( 34:0) [PATCH 2/3][v2] ACPI: Using correct irq
> > when waiting for events
> > 2756 N L Oct 25 Chen Yu ( 52:0) [PATCH 3/3][v2] ACPI / PM: Fix incorrect
> > wakeup irq setting before suspend-to-idle
> > 2757 N L Oct 25 Chen Yu ( 75:0) [PATCH 1/3][v2] ACPI: Using correct irq
> > when uninstalling acpi irq handler
> >
> > And the root cause is, the 3 patches are likely sent one by one _out of order_.
> > And there is no in-reply-to field to help reorder them into a logical patchset.
> >
> > Thanks,
> > Fengguang
> >
> > > > -----Original Message-----
> > > > From: lkp
> > > > Sent: Sunday, October 25, 2015 1:19 AM
> > > > To: Chen, Yu C
> > > > Cc: kbuild-all@01.org; rjw@rjwysocki.net; lenb@kernel.org; Zhang,
> > > > Rui; Zheng, Lv; linux-acpi@vger.kernel.org;
> > > > linux-kernel@vger.kernel.org; linux- pm@vger.kernel.org; Chen, Yu C;
> > > > stable@vger.kernel.org
> > > > Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting
> > > > for events
> > > >
> > > > Hi Chen,
> > > >
> > > > [auto build test ERROR on pm/linux-next -- if it's inappropriate
> > > > base, please suggest rules for selecting the more suitable base]
> > > >
> > > > url: https://github.com/0day-ci/linux/commits/Chen-Yu/ACPI-Using-
> > > > correct-irq-when-waiting-for-events/20151025-010210
> > > > config: x86_64-randconfig-x015-201543 (attached as .config)
> > > > reproduce:
> > > > # save the attached .config to linux build tree
> > > > make ARCH=x86_64
> > > >
> > > > All error/warnings (new ones prefixed by >>):
> > > >
> > > > In file included from include/uapi/linux/stddef.h:1:0,
> > > > from include/linux/stddef.h:4,
> > > > from include/uapi/linux/posix_types.h:4,
> > > > from include/uapi/linux/types.h:13,
> > > > from include/linux/types.h:5,
> > > > from include/linux/list.h:4,
> > > > from include/linux/module.h:9,
> > > > from drivers/acpi/osl.c:26:
> > > > drivers/acpi/osl.c: In function 'acpi_os_wait_events_complete':
> > > > >> drivers/acpi/osl.c:1183:6: error: implicit declaration of
> > > > >> function
> > > > 'acpi_sci_irq_valid' [-Werror=implicit-function-declaration]
> > > > if (acpi_sci_irq_valid())
> > > > ^
> > > > include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
> > > > if (__builtin_constant_p((cond)) ? !!(cond) : \
> > > > ^
> > > > >> drivers/acpi/osl.c:1183:2: note: in expansion of macro 'if'
> > > > if (acpi_sci_irq_valid())
> > > > ^
> > > > >> drivers/acpi/osl.c:1184:23: error: 'acpi_sci_irq' undeclared
> > > > >> (first use in this
> > > > function)
> > > > synchronize_hardirq(acpi_sci_irq);
> > > > ^
> > > > drivers/acpi/osl.c:1184:23: note: each undeclared identifier is
> > > > reported only once for each function it appears in
> > > > cc1: some warnings being treated as errors
> > > >
> > > > vim +/acpi_sci_irq_valid +1183 drivers/acpi/osl.c
> > > >
> > > > 1177 void acpi_os_wait_events_complete(void)
> > > > 1178 {
> > > > 1179 /*
> > > > 1180 * Make sure the GPE handler or the fixed event
> > handler is
> > > > not used
> > > > 1181 * on another CPU after removal.
> > > > 1182 */
> > > > > 1183 if (acpi_sci_irq_valid())
> > > > > 1184 synchronize_hardirq(acpi_sci_irq);
> > > > 1185 flush_workqueue(kacpid_wq);
> > > > 1186 flush_workqueue(kacpi_notify_wq);
> > > > 1187 }
> > > >
> > > > ---
> > > > 0-DAY kernel test infrastructure Open Source Technology Center
> > > > https://lists.01.org/pipermail/kbuild-all Intel Corporation
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-pm" in the
> > body of a message to majordomo@vger.kernel.org More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-10-26 1:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-24 17:02 [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events Chen Yu
2015-10-24 17:18 ` kbuild test robot
2015-10-25 2:08 ` Chen, Yu C
2015-10-26 1:22 ` Fengguang Wu
2015-10-26 1:33 ` Chen, Yu C
2015-10-26 1:55 ` Fengguang Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox