From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030950AbbD1TV0 (ORCPT ); Tue, 28 Apr 2015 15:21:26 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:38388 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030911AbbD1TVX (ORCPT ); Tue, 28 Apr 2015 15:21:23 -0400 MIME-Version: 1.0 In-Reply-To: <20150428125305.GB30852@infradead.org> References: <20150418013256.25237.96403.stgit@dwillia2-desk3.amr.corp.intel.com> <20150418013530.25237.28383.stgit@dwillia2-desk3.amr.corp.intel.com> <20150428125305.GB30852@infradead.org> Date: Tue, 28 Apr 2015 12:21:22 -0700 Message-ID: Subject: Re: [Linux-nvdimm] [PATCH 03/21] nd_acpi: initial core implementation and nfit skeleton From: Dan Williams To: Christoph Hellwig Cc: linux-nvdimm , linux-acpi@vger.kernel.org, "Rafael J. Wysocki" , Robert Moore , "linux-kernel@vger.kernel.org" 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 Tue, Apr 28, 2015 at 5:53 AM, Christoph Hellwig wrote: > On Fri, Apr 17, 2015 at 09:35:30PM -0400, Dan Williams wrote: >> new file mode 100644 >> index 000000000000..5fa74f124b3e >> --- /dev/null >> +++ b/drivers/block/nd/Kconfig >> @@ -0,0 +1,44 @@ >> +config ND_ARCH_HAS_IOREMAP_CACHE >> + depends on (X86 || IA64 || ARM || ARM64 || SH || XTENSA) >> + def_bool y > > As mentioned before please either define this symbol in each > arch Kconfig, or just ensure every architecture proides a stub. > > But more importantly it doesn't seem like you're actually using > ioremap_cache anywhere. Allowing a cached ioremap would be a very > worthwile addition to the pmem drivers once we have the proper > memcpy functions making it safe, and is one of the high priority > todo items for the pmem driver. > >> + >> +menuconfig NFIT_DEVICES >> + bool "NVDIMM (NFIT) Support" > > Please just call all the symbolc and file names nvdimm instead of nfit > or nd to make eryones life simpler for the generic code. Just use the > EFI/ACPI terminology in those parts that actually parse those tables. Done in v2.