From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754993AbcHSByM (ORCPT ); Thu, 18 Aug 2016 21:54:12 -0400 Received: from mga04.intel.com ([192.55.52.120]:63278 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751701AbcHSBsg (ORCPT ); Thu, 18 Aug 2016 21:48:36 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,541,1464678000"; d="scan'208";a="867820049" From: "Verma, Vishal L" 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" Subject: Re: [PATCH] acpi, nfit: fix acpi event notifications for nfit Thread-Topic: [PATCH] acpi, nfit: fix acpi event notifications for nfit Thread-Index: AQHR+YFE+xZLg8KnNEeMDunKT/JTZaBPlWqAgAABHACAAACbAIAAB4OA Date: Thu, 18 Aug 2016 20:22:29 +0000 Message-ID: <1471551711.6177.25.camel@intel.com> References: <1471546104-28520-1-git-send-email-vishal.l.verma@intel.com> <07af328e-d703-fd80-20be-725f00e54812@hpe.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.232.112.171] Content-Type: text/plain; charset="utf-8" Content-ID: <1B49B1C567C3B54C9574FE8F8A2C0B5F@intel.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u7J1sGsD029231 On Thu, 2016-08-18 at 12:54 -0700, Dan Williams wrote: > On Thu, Aug 18, 2016 at 12:52 PM, Linda Knippers om> wrote: > > > > > > > > On 8/18/2016 3:48 PM, Dan Williams wrote: > > > > > > On Thu, Aug 18, 2016 at 11:48 AM, Vishal Verma > > 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?