[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4hDxeJo-i9FG=JBhaK3awjm3cN_MNvdO_7Z=9bJT9wsGw@mail.gmail.com>
Date: Mon, 18 Nov 2019 16:04:07 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: Andrew Donnellan <ajd@...ux.ibm.com>
Cc: Frederic Barrat <fbarrat@...ux.ibm.com>,
"Alastair D'Silva" <alastair@....ibm.com>, alastair@...ilva.org,
Oscar Salvador <osalvador@...e.com>,
Michal Hocko <mhocko@...e.com>,
David Hildenbrand <david@...hat.com>,
Alexey Kardashevskiy <aik@...abs.ru>,
Wei Yang <richard.weiyang@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Paul Mackerras <paulus@...ba.org>,
Ira Weiny <ira.weiny@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Pavel Tatashin <pasha.tatashin@...een.com>,
Dave Jiang <dave.jiang@...el.com>,
linux-nvdimm <linux-nvdimm@...ts.01.org>,
Vishal Verma <vishal.l.verma@...el.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Mahesh Salgaonkar <mahesh@...ux.vnet.ibm.com>,
Arnd Bergmann <arnd@...db.de>, Greg Kurz <groug@...d.org>,
Nicholas Piggin <npiggin@...il.com>, Qian Cai <cai@....pw>,
Cédric Le Goater <clg@...d.org>,
Hari Bathini <hbathini@...ux.ibm.com>,
David Gibson <david@...son.dropbear.id.au>,
Linux MM <linux-mm@...ck.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH 08/10] nvdimm: Add driver for OpenCAPI Storage Class Memory
On Mon, Nov 18, 2019 at 3:48 PM Andrew Donnellan <ajd@...ux.ibm.com> wrote:
>
> On 15/11/19 3:35 am, Dan Williams wrote:
> >> Have you discussed with the directory owner if it's ok to split the
> >> driver over several files?
> >
> > My thought is to establish drivers/opencapi/ and move this and the
> > existing drivers/misc/ocxl/ bits there.
>
> Is there any other justification for this we can think of apart from not
> wanting to put this driver in the nvdimm directory? OpenCAPI drivers
> aren't really a category of driver unto themselves.
The concern is less about adding to drivers/nvdimm/ and more about the
proper location to house opencapi specific transport and enumeration
details. The organization I'm looking for is to group platform
transport and enumeration code together similar to how drivers/pci/
exists independent of all pci drivers that use that common core. For
libnvdimm the enumeration is platform specific and calls into the
nvdimm core. This is why the x86 platform persistent memory bus driver
lives under drivers/acpi/nfit/ instead of drivers/nvdimm/. The nfit
driver is an ACPI extension that translates ACPI details into
libnvdimm core objects.
The usage of "ocxl" in the source leads me to think part of this
driver belongs in a directory that has other opencapi specific
considerations.
Powered by blists - more mailing lists