* [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 18:48 ` Vishal Verma 0 siblings, 0 replies; 24+ messages in thread From: Vishal Verma @ 2016-08-18 18:48 UTC (permalink / raw) To: linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw Cc: Xiao Guangrong, linux-kernel-u79uwXL29TY76Z2rM5mHXA, stable-u79uwXL29TY76Z2rM5mHXA, linux-acpi-u79uwXL29TY76Z2rM5mHXA The nfit driver had an acpi event notification handler, but it never would've worked because we weren't setting the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Cc: <linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Cc: Dan Williams <dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Cc: Xiao Guangrong <guangrong.xiao-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> Signed-off-by: Vishal Verma <vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> --- drivers/acpi/nfit/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 80cc7c0..5d33d81 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -2731,6 +2731,7 @@ MODULE_DEVICE_TABLE(acpi, acpi_nfit_ids); static struct acpi_driver acpi_nfit_driver = { .name = KBUILD_MODNAME, .ids = acpi_nfit_ids, + .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { .add = acpi_nfit_add, .remove = acpi_nfit_remove, -- 2.7.4 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 18:48 ` Vishal Verma 0 siblings, 0 replies; 24+ messages in thread From: Vishal Verma @ 2016-08-18 18:48 UTC (permalink / raw) To: linux-nvdimm Cc: linux-kernel, Vishal Verma, stable, linux-acpi, Dan Williams, Xiao Guangrong The nfit driver had an acpi event notification handler, but it never would've worked because we weren't setting the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Cc: <stable@vger.kernel.org> Cc: <linux-acpi@vger.kernel.org> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> --- drivers/acpi/nfit/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 80cc7c0..5d33d81 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -2731,6 +2731,7 @@ MODULE_DEVICE_TABLE(acpi, acpi_nfit_ids); static struct acpi_driver acpi_nfit_driver = { .name = KBUILD_MODNAME, .ids = acpi_nfit_ids, + .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { .add = acpi_nfit_add, .remove = acpi_nfit_remove, -- 2.7.4 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 18:48 ` Vishal Verma 0 siblings, 0 replies; 24+ messages in thread From: Vishal Verma @ 2016-08-18 18:48 UTC (permalink / raw) To: linux-nvdimm Cc: linux-kernel, Vishal Verma, stable, linux-acpi, Dan Williams, Xiao Guangrong The nfit driver had an acpi event notification handler, but it never would've worked because we weren't setting the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Cc: <stable@vger.kernel.org> Cc: <linux-acpi@vger.kernel.org> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> --- drivers/acpi/nfit/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 80cc7c0..5d33d81 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -2731,6 +2731,7 @@ MODULE_DEVICE_TABLE(acpi, acpi_nfit_ids); static struct acpi_driver acpi_nfit_driver = { .name = KBUILD_MODNAME, .ids = acpi_nfit_ids, + .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { .add = acpi_nfit_add, .remove = acpi_nfit_remove, -- 2.7.4 ^ permalink raw reply related [flat|nested] 24+ messages in thread
* [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 18:48 ` Vishal Verma 0 siblings, 0 replies; 24+ messages in thread From: Vishal Verma @ 2016-08-18 18:48 UTC (permalink / raw) To: linux-nvdimm; +Cc: Xiao Guangrong, linux-kernel, stable, linux-acpi The nfit driver had an acpi event notification handler, but it never would've worked because we weren't setting the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Cc: <stable@vger.kernel.org> Cc: <linux-acpi@vger.kernel.org> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> --- drivers/acpi/nfit/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 80cc7c0..5d33d81 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -2731,6 +2731,7 @@ MODULE_DEVICE_TABLE(acpi, acpi_nfit_ids); static struct acpi_driver acpi_nfit_driver = { .name = KBUILD_MODNAME, .ids = acpi_nfit_ids, + .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { .add = acpi_nfit_add, .remove = acpi_nfit_remove, -- 2.7.4 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply related [flat|nested] 24+ messages in thread
[parent not found: <1471546104-28520-1-git-send-email-vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit 2016-08-18 18:48 ` Vishal Verma (?) (?) @ 2016-08-18 19:48 ` Dan Williams -1 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:48 UTC (permalink / raw) To: Vishal Verma Cc: Linux ACPI, Xiao Guangrong, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: > The nfit driver had an acpi event notification handler, but it never > would've worked because we weren't setting the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Let's update the changelog to be helpful for someone implementing a backport or taking this back to a -stable branch. Something like: Subject: acpi, nfit: fix event notifications Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications, but it neglected to set the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate notification delivery. Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:48 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:48 UTC (permalink / raw) To: Vishal Verma Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Linux ACPI, Xiao Guangrong On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: > The nfit driver had an acpi event notification handler, but it never > would've worked because we weren't setting the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Let's update the changelog to be helpful for someone implementing a backport or taking this back to a -stable branch. Something like: Subject: acpi, nfit: fix event notifications Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications, but it neglected to set the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate notification delivery. Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:48 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:48 UTC (permalink / raw) To: Vishal Verma Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Linux ACPI, Xiao Guangrong On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: > The nfit driver had an acpi event notification handler, but it never > would've worked because we weren't setting the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Let's update the changelog to be helpful for someone implementing a backport or taking this back to a -stable branch. Something like: Subject: acpi, nfit: fix event notifications Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications, but it neglected to set the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate notification delivery. Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:48 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:48 UTC (permalink / raw) To: Vishal Verma Cc: Linux ACPI, Xiao Guangrong, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: > The nfit driver had an acpi event notification handler, but it never > would've worked because we weren't setting the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. Let's update the changelog to be helpful for someone implementing a backport or taking this back to a -stable branch. Something like: Subject: acpi, nfit: fix event notifications Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications, but it neglected to set the ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate notification delivery. Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <CAPcyv4ixygjD8St5YP2SjfEJnVeWMsAHjqDTF8xxWPvvDWw_bw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit 2016-08-18 19:48 ` Dan Williams (?) (?) @ 2016-08-18 19:52 ` Linda Knippers -1 siblings, 0 replies; 24+ messages in thread From: Linda Knippers @ 2016-08-18 19:52 UTC (permalink / raw) To: Dan Williams, Vishal Verma Cc: Linux ACPI, Xiao Guangrong, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org On 8/18/2016 3:48 PM, Dan Williams wrote: > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: >> The nfit driver had an acpi event notification handler, but it never >> would've worked because we weren't setting the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > Let's update the changelog to be helpful for someone implementing a > backport or taking this back to a -stable branch. Something like: > > Subject: acpi, nfit: fix event notifications > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > support for _FIT notifications, but it neglected to set the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate > notification delivery. While we're at it, should we update the notifier function to explicitly check for event 0x80 before re-evaluating the _FIT? I'm thinking about some time in the future when there might be more than one event. -- ljk > > Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") > _______________________________________________ > Linux-nvdimm mailing list > Linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org > https://lists.01.org/mailman/listinfo/linux-nvdimm > ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:52 ` Linda Knippers 0 siblings, 0 replies; 24+ messages in thread From: Linda Knippers @ 2016-08-18 19:52 UTC (permalink / raw) To: Dan Williams, Vishal Verma Cc: Linux ACPI, Xiao Guangrong, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On 8/18/2016 3:48 PM, Dan Williams wrote: > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: >> The nfit driver had an acpi event notification handler, but it never >> would've worked because we weren't setting the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > Let's update the changelog to be helpful for someone implementing a > backport or taking this back to a -stable branch. Something like: > > Subject: acpi, nfit: fix event notifications > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > support for _FIT notifications, but it neglected to set the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate > notification delivery. While we're at it, should we update the notifier function to explicitly check for event 0x80 before re-evaluating the _FIT? I'm thinking about some time in the future when there might be more than one event. -- ljk > > Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") > _______________________________________________ > Linux-nvdimm mailing list > Linux-nvdimm@lists.01.org > https://lists.01.org/mailman/listinfo/linux-nvdimm > ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:52 ` Linda Knippers 0 siblings, 0 replies; 24+ messages in thread From: Linda Knippers @ 2016-08-18 19:52 UTC (permalink / raw) To: Dan Williams, Vishal Verma Cc: Linux ACPI, Xiao Guangrong, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On 8/18/2016 3:48 PM, Dan Williams wrote: > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: >> The nfit driver had an acpi event notification handler, but it never >> would've worked because we weren't setting the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > Let's update the changelog to be helpful for someone implementing a > backport or taking this back to a -stable branch. Something like: > > Subject: acpi, nfit: fix event notifications > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > support for _FIT notifications, but it neglected to set the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate > notification delivery. While we're at it, should we update the notifier function to explicitly check for event 0x80 before re-evaluating the _FIT? I'm thinking about some time in the future when there might be more than one event. -- ljk > > Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") > _______________________________________________ > Linux-nvdimm mailing list > Linux-nvdimm@lists.01.org > https://lists.01.org/mailman/listinfo/linux-nvdimm > ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:52 ` Linda Knippers 0 siblings, 0 replies; 24+ messages in thread From: Linda Knippers @ 2016-08-18 19:52 UTC (permalink / raw) To: Dan Williams, Vishal Verma Cc: Linux ACPI, Xiao Guangrong, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On 8/18/2016 3:48 PM, Dan Williams wrote: > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: >> The nfit driver had an acpi event notification handler, but it never >> would've worked because we weren't setting the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > Let's update the changelog to be helpful for someone implementing a > backport or taking this back to a -stable branch. Something like: > > Subject: acpi, nfit: fix event notifications > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > support for _FIT notifications, but it neglected to set the > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate > notification delivery. While we're at it, should we update the notifier function to explicitly check for event 0x80 before re-evaluating the _FIT? I'm thinking about some time in the future when there might be more than one event. -- ljk > > Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add") > _______________________________________________ > Linux-nvdimm mailing list > Linux-nvdimm@lists.01.org > https://lists.01.org/mailman/listinfo/linux-nvdimm > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <07af328e-d703-fd80-20be-725f00e54812-ZPxbGqLxI0U@public.gmane.org>]
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit 2016-08-18 19:52 ` Linda Knippers (?) (?) @ 2016-08-18 19:54 ` Dan Williams -1 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:54 UTC (permalink / raw) To: Linda Knippers Cc: Xiao Guangrong, linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux ACPI On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers-ZPxbGqLxI0U@public.gmane.org> wrote: > > > On 8/18/2016 3:48 PM, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: >>> The nfit driver had an acpi event notification handler, but it never >>> would've worked because we weren't setting the >>> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> >> Let's update the changelog to be helpful for someone implementing a >> backport or taking this back to a -stable branch. Something like: >> >> Subject: acpi, nfit: fix event notifications >> >> Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> support for _FIT notifications, but it neglected to set the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate >> notification delivery. > > While we're at it, should we update the notifier function to explicitly check > for event 0x80 before re-evaluating the _FIT? I'm thinking about some time > in the future when there might be more than one event. Yes, good idea. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:54 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:54 UTC (permalink / raw) To: Linda Knippers Cc: Vishal Verma, Linux ACPI, Xiao Guangrong, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.com> wrote: > > > On 8/18/2016 3:48 PM, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: >>> The nfit driver had an acpi event notification handler, but it never >>> would've worked because we weren't setting the >>> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> >> Let's update the changelog to be helpful for someone implementing a >> backport or taking this back to a -stable branch. Something like: >> >> Subject: acpi, nfit: fix event notifications >> >> Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> support for _FIT notifications, but it neglected to set the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate >> notification delivery. > > While we're at it, should we update the notifier function to explicitly check > for event 0x80 before re-evaluating the _FIT? I'm thinking about some time > in the future when there might be more than one event. Yes, good idea. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:54 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:54 UTC (permalink / raw) To: Linda Knippers Cc: Vishal Verma, Linux ACPI, Xiao Guangrong, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.com> wrote: > > > On 8/18/2016 3:48 PM, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: >>> The nfit driver had an acpi event notification handler, but it never >>> would've worked because we weren't setting the >>> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> >> Let's update the changelog to be helpful for someone implementing a >> backport or taking this back to a -stable branch. Something like: >> >> Subject: acpi, nfit: fix event notifications >> >> Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> support for _FIT notifications, but it neglected to set the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate >> notification delivery. > > While we're at it, should we update the notifier function to explicitly check > for event 0x80 before re-evaluating the _FIT? I'm thinking about some time > in the future when there might be more than one event. Yes, good idea. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 19:54 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 19:54 UTC (permalink / raw) To: Linda Knippers Cc: Xiao Guangrong, linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Linux ACPI On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.com> wrote: > > > On 8/18/2016 3:48 PM, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@intel.com> wrote: >>> The nfit driver had an acpi event notification handler, but it never >>> would've worked because we weren't setting the >>> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> >> Let's update the changelog to be helpful for someone implementing a >> backport or taking this back to a -stable branch. Something like: >> >> Subject: acpi, nfit: fix event notifications >> >> Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> support for _FIT notifications, but it neglected to set the >> ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to gate >> notification delivery. > > While we're at it, should we update the notifier function to explicitly check > for event 0x80 before re-evaluating the _FIT? I'm thinking about some time > in the future when there might be more than one event. Yes, good idea. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <CAPcyv4gM8SNLGn+ATELbBoOZWqk80_XYu41z-PDTs-3ONCGLeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit 2016-08-18 19:54 ` Dan Williams (?) (?) @ 2016-08-18 20:22 ` Verma, Vishal L -1 siblings, 0 replies; 24+ messages in thread From: Verma, Vishal L @ 2016-08-18 20:22 UTC (permalink / raw) To: Williams, Dan J, linda.knippers-ZPxbGqLxI0U@public.gmane.org Cc: linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, guangrong.xiao-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: > On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c > om> wrote: > > > > > > > > On 8/18/2016 3:48 PM, Dan Williams wrote: > > > > > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int > > > el.com> wrote: > > > > > > > > The nfit driver had an acpi event notification handler, but it > > > > never > > > > would've worked because we weren't setting the > > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > > > > > Let's update the changelog to be helpful for someone implementing > > > a > > > backport or taking this back to a -stable branch. Something like: > > > > > > Subject: acpi, nfit: fix event notifications > > > > > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > > > support for _FIT notifications, but it neglected to set the > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to > > > gate > > > notification delivery. > > > > While we're at it, should we update the notifier function to > > explicitly check > > for event 0x80 before re-evaluating the _FIT? I'm thinking about > > some time > > in the future when there might be more than one event. > > Yes, good idea. Sounds good, part of the same patch or separately? _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 20:22 ` Verma, Vishal L 0 siblings, 0 replies; 24+ messages in thread From: Verma, Vishal L @ 2016-08-18 20:22 UTC (permalink / raw) To: Williams, Dan J, linda.knippers@hpe.com Cc: linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, guangrong.xiao@linux.intel.com, linux-acpi@vger.kernel.org, stable@vger.kernel.org On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: > On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c > om> wrote: > > > > > > > > On 8/18/2016 3:48 PM, Dan Williams wrote: > > > > > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int > > > el.com> wrote: > > > > > > > > The nfit driver had an acpi event notification handler, but it > > > > never > > > > would've worked because we weren't setting the > > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > > > > > Let's update the changelog to be helpful for someone implementing > > > a > > > backport or taking this back to a -stable branch. Something like: > > > > > > Subject: acpi, nfit: fix event notifications > > > > > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > > > support for _FIT notifications, but it neglected to set the > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to > > > gate > > > notification delivery. > > > > While we're at it, should we update the notifier function to > > explicitly check > > for event 0x80 before re-evaluating the _FIT? I'm thinking about > > some time > > in the future when there might be more than one event. > > Yes, good idea. Sounds good, part of the same patch or separately? ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 20:22 ` Verma, Vishal L 0 siblings, 0 replies; 24+ messages in thread From: Verma, Vishal L @ 2016-08-18 20:22 UTC (permalink / raw) To: Williams, Dan J, linda.knippers@hpe.com Cc: linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, guangrong.xiao@linux.intel.com, linux-acpi@vger.kernel.org, stable@vger.kernel.org On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: > On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c > om> wrote: > > > > > > > > On 8/18/2016 3:48 PM, Dan Williams wrote: > > > > > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int > > > el.com> wrote: > > > > > > > > The nfit driver had an acpi event notification handler, but it > > > > never > > > > would've worked because we weren't setting the > > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > > > > > Let's update the changelog to be helpful for someone implementing > > > a > > > backport or taking this back to a -stable branch. Something like: > > > > > > Subject: acpi, nfit: fix event notifications > > > > > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > > > support for _FIT notifications, but it neglected to set the > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to > > > gate > > > notification delivery. > > > > While we're at it, should we update the notifier function to > > explicitly check > > for event 0x80 before re-evaluating the _FIT? I'm thinking about > > some time > > in the future when there might be more than one event. > > Yes, good idea. Sounds good, part of the same patch or separately? ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 20:22 ` Verma, Vishal L 0 siblings, 0 replies; 24+ messages in thread From: Verma, Vishal L @ 2016-08-18 20:22 UTC (permalink / raw) To: Williams, Dan J, linda.knippers@hpe.com Cc: linux-acpi@vger.kernel.org, guangrong.xiao@linux.intel.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-nvdimm@lists.01.org On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: > On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c > om> wrote: > > > > > > > > On 8/18/2016 3:48 PM, Dan Williams wrote: > > > > > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int > > > el.com> wrote: > > > > > > > > The nfit driver had an acpi event notification handler, but it > > > > never > > > > would've worked because we weren't setting the > > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. > > > > > > Let's update the changelog to be helpful for someone implementing > > > a > > > backport or taking this back to a -stable branch. Something like: > > > > > > Subject: acpi, nfit: fix event notifications > > > > > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added > > > support for _FIT notifications, but it neglected to set the > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to > > > gate > > > notification delivery. > > > > While we're at it, should we update the notifier function to > > explicitly check > > for event 0x80 before re-evaluating the _FIT? I'm thinking about > > some time > > in the future when there might be more than one event. > > Yes, good idea. Sounds good, part of the same patch or separately? _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <1471551711.6177.25.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit 2016-08-18 20:22 ` Verma, Vishal L (?) (?) @ 2016-08-18 20:30 ` Dan Williams -1 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 20:30 UTC (permalink / raw) To: Verma, Vishal L Cc: guangrong.xiao-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Thu, Aug 18, 2016 at 1:22 PM, Verma, Vishal L <vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: > On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c >> om> wrote: >> > >> > >> > >> > On 8/18/2016 3:48 PM, Dan Williams wrote: >> > > >> > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int >> > > el.com> wrote: >> > > > >> > > > The nfit driver had an acpi event notification handler, but it >> > > > never >> > > > would've worked because we weren't setting the >> > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> > > >> > > Let's update the changelog to be helpful for someone implementing >> > > a >> > > backport or taking this back to a -stable branch. Something like: >> > > >> > > Subject: acpi, nfit: fix event notifications >> > > >> > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> > > support for _FIT notifications, but it neglected to set the >> > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to >> > > gate >> > > notification delivery. >> > >> > While we're at it, should we update the notifier function to >> > explicitly check >> > for event 0x80 before re-evaluating the _FIT? I'm thinking about >> > some time >> > in the future when there might be more than one event. >> >> Yes, good idea. > > Sounds good, part of the same patch or separately? Separate. In general, if you would write the word "also" in a patch description, that's an indication to make a separate patch. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 20:30 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 20:30 UTC (permalink / raw) To: Verma, Vishal L Cc: linda.knippers@hpe.com, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, guangrong.xiao@linux.intel.com, linux-acpi@vger.kernel.org, stable@vger.kernel.org On Thu, Aug 18, 2016 at 1:22 PM, Verma, Vishal L <vishal.l.verma@intel.com> wrote: > On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c >> om> wrote: >> > >> > >> > >> > On 8/18/2016 3:48 PM, Dan Williams wrote: >> > > >> > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int >> > > el.com> wrote: >> > > > >> > > > The nfit driver had an acpi event notification handler, but it >> > > > never >> > > > would've worked because we weren't setting the >> > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> > > >> > > Let's update the changelog to be helpful for someone implementing >> > > a >> > > backport or taking this back to a -stable branch. Something like: >> > > >> > > Subject: acpi, nfit: fix event notifications >> > > >> > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> > > support for _FIT notifications, but it neglected to set the >> > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to >> > > gate >> > > notification delivery. >> > >> > While we're at it, should we update the notifier function to >> > explicitly check >> > for event 0x80 before re-evaluating the _FIT? I'm thinking about >> > some time >> > in the future when there might be more than one event. >> >> Yes, good idea. > > Sounds good, part of the same patch or separately? Separate. In general, if you would write the word "also" in a patch description, that's an indication to make a separate patch. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 20:30 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 20:30 UTC (permalink / raw) To: Verma, Vishal L Cc: linda.knippers@hpe.com, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, guangrong.xiao@linux.intel.com, linux-acpi@vger.kernel.org, stable@vger.kernel.org On Thu, Aug 18, 2016 at 1:22 PM, Verma, Vishal L <vishal.l.verma@intel.com> wrote: > On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c >> om> wrote: >> > >> > >> > >> > On 8/18/2016 3:48 PM, Dan Williams wrote: >> > > >> > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int >> > > el.com> wrote: >> > > > >> > > > The nfit driver had an acpi event notification handler, but it >> > > > never >> > > > would've worked because we weren't setting the >> > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> > > >> > > Let's update the changelog to be helpful for someone implementing >> > > a >> > > backport or taking this back to a -stable branch. Something like: >> > > >> > > Subject: acpi, nfit: fix event notifications >> > > >> > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> > > support for _FIT notifications, but it neglected to set the >> > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to >> > > gate >> > > notification delivery. >> > >> > While we're at it, should we update the notifier function to >> > explicitly check >> > for event 0x80 before re-evaluating the _FIT? I'm thinking about >> > some time >> > in the future when there might be more than one event. >> >> Yes, good idea. > > Sounds good, part of the same patch or separately? Separate. In general, if you would write the word "also" in a patch description, that's an indication to make a separate patch. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit @ 2016-08-18 20:30 ` Dan Williams 0 siblings, 0 replies; 24+ messages in thread From: Dan Williams @ 2016-08-18 20:30 UTC (permalink / raw) To: Verma, Vishal L Cc: guangrong.xiao@linux.intel.com, linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-acpi@vger.kernel.org On Thu, Aug 18, 2016 at 1:22 PM, Verma, Vishal L <vishal.l.verma@intel.com> wrote: > On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: >> On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers <linda.knippers@hpe.c >> om> wrote: >> > >> > >> > >> > On 8/18/2016 3:48 PM, Dan Williams wrote: >> > > >> > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma <vishal.l.verma@int >> > > el.com> wrote: >> > > > >> > > > The nfit driver had an acpi event notification handler, but it >> > > > never >> > > > would've worked because we weren't setting the >> > > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver. >> > > >> > > Let's update the changelog to be helpful for someone implementing >> > > a >> > > backport or taking this back to a -stable branch. Something like: >> > > >> > > Subject: acpi, nfit: fix event notifications >> > > >> > > Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added >> > > support for _FIT notifications, but it neglected to set the >> > > ACPI_DRIVER_ALL_NOTIFY_EVENTS flag that acpi_bus_notify() uses to >> > > gate >> > > notification delivery. >> > >> > While we're at it, should we update the notifier function to >> > explicitly check >> > for event 0x80 before re-evaluating the _FIT? I'm thinking about >> > some time >> > in the future when there might be more than one event. >> >> Yes, good idea. > > Sounds good, part of the same patch or separately? Separate. In general, if you would write the word "also" in a patch description, that's an indication to make a separate patch. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2016-08-19 3:29 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-18 18:48 [PATCH] acpi, nfit: fix acpi event notifications for nfit Vishal Verma
2016-08-18 18:48 ` Vishal Verma
2016-08-18 18:48 ` Vishal Verma
2016-08-18 18:48 ` Vishal Verma
[not found] ` <1471546104-28520-1-git-send-email-vishal.l.verma-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-08-18 19:48 ` Dan Williams
2016-08-18 19:48 ` Dan Williams
2016-08-18 19:48 ` Dan Williams
2016-08-18 19:48 ` Dan Williams
[not found] ` <CAPcyv4ixygjD8St5YP2SjfEJnVeWMsAHjqDTF8xxWPvvDWw_bw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-18 19:52 ` Linda Knippers
2016-08-18 19:52 ` Linda Knippers
2016-08-18 19:52 ` Linda Knippers
2016-08-18 19:52 ` Linda Knippers
[not found] ` <07af328e-d703-fd80-20be-725f00e54812-ZPxbGqLxI0U@public.gmane.org>
2016-08-18 19:54 ` Dan Williams
2016-08-18 19:54 ` Dan Williams
2016-08-18 19:54 ` Dan Williams
2016-08-18 19:54 ` Dan Williams
[not found] ` <CAPcyv4gM8SNLGn+ATELbBoOZWqk80_XYu41z-PDTs-3ONCGLeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-18 20:22 ` Verma, Vishal L
2016-08-18 20:22 ` Verma, Vishal L
2016-08-18 20:22 ` Verma, Vishal L
2016-08-18 20:22 ` Verma, Vishal L
[not found] ` <1471551711.6177.25.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-08-18 20:30 ` Dan Williams
2016-08-18 20:30 ` Dan Williams
2016-08-18 20:30 ` Dan Williams
2016-08-18 20:30 ` Dan Williams
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.