From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757813AbbFQVde (ORCPT ); Wed, 17 Jun 2015 17:33:34 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:57083 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754797AbbFQVda (ORCPT ); Wed, 17 Jun 2015 17:33:30 -0400 From: "Rafael J. Wysocki" To: Dan Williams Cc: linux-nvdimm@ml01.01.org, mingo@kernel.org, sfr@canb.auug.org.au, rafael@kernel.org, neilb@suse.de, gregkh@linuxfoundation.org, "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Robert Moore , linux-acpi@vger.kernel.org, jmoyer@redhat.com, Lv Zheng , linux-api@vger.kernel.org, akpm@linux-foundation.org, axboe@kernel.dk, hch@lst.de Subject: Re: [PATCH v6 02/21] libnvdimm, nfit: initial libnvdimm infrastructure and NFIT support Date: Wed, 17 Jun 2015 23:59:29 +0200 Message-ID: <1863642.qegEO3HtMW@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20150611201018.25175.78715.stgit@dwillia2-desk3.amr.corp.intel.com> References: <20150611183830.25175.51256.stgit@dwillia2-desk3.amr.corp.intel.com> <20150611201018.25175.78715.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, June 11, 2015 04:10:18 PM Dan Williams wrote: > A struct nvdimm_bus is the anchor device for registering nvdimm > resources and interfaces, for example, a character control device, > nvdimm devices, and I/O region devices. The ACPI NFIT (NVDIMM Firmware > Interface Table) is one possible platform description for such > non-volatile memory resources in a system. The nfit.ko driver attaches > to the "ACPI0012" device that indicates the presence of the NFIT and > parses the table to register a struct nvdimm_bus instance. > > Cc: > Cc: Lv Zheng > Cc: Robert Moore > Cc: Rafael J. Wysocki > Acked-by: Jeff Moyer > Signed-off-by: Dan Williams Acked-by: Rafael J. Wysocki [cut] > + > +static struct acpi_driver acpi_nfit_driver = { > + .name = KBUILD_MODNAME, > + .ids = acpi_nfit_ids, > + .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, But this flag is not needed for now IMO. > + .ops = { > + .add = acpi_nfit_add, > + .remove = acpi_nfit_remove, > + }, > +}; > +