Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932103AbdGUWxE (ORCPT ); Fri, 21 Jul 2017 18:53:04 -0400 Received: from mail-yw0-f176.google.com ([209.85.161.176]:35869 "EHLO mail-yw0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754156AbdGUWxD (ORCPT ); Fri, 21 Jul 2017 18:53:03 -0400 MIME-Version: 1.0 From: Dan Williams Date: Fri, 21 Jul 2017 15:53:02 -0700 Message-ID: Subject: Moving ndctl development into the kernel tree? To: "torvalds@linux-foundation.org" Cc: Johannes Thumshirn , jmoyer , "linux-nvdimm@lists.01.org" , "linux-kernel@vger.kernel.org" , Ingo Molnar , Arnaldo Carvalho de Melo , "Oliver O'Halloran" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1201 Lines: 28 Hi Linus, Would you be open to the ndctl [1] project moving its development into the kernel tree? The main reasons why I ask are: * Unit test development can touch both the kernel-side emulated nvdimm infrastructure in tools/testing/nvdimm/ and the corresponding tests in tools/ndctl/test/ in the same commit or patch series. * Like perf, ndctl borrows the sub-command architecture and option parsing from git. So, this code could be refactored into something shared / generic, i.e. the bits in tools/perf/util/. We continue to see updates in the ACPI and UEFI specification for nvdimm details and one of the capabilities added in ACPI 6.2 that needs new test development is error injection. I'm also expecting to merge patches from Oliver this cycle expanding nvdimm support to Open Firmware / powerpc platforms. The ndctl project includes GPLv2 utilities (ndctl and daxctl) as well as LGPLv2.1 libraries (libndctl and libdaxctl). The coupling of the tests to new libnvdimm sub-system capabilities, and the architecture specific nature of some nvdimm enabling leads me to believe ndctl would enjoy some synergies living in the same repository as the kernel. [1]: https://github.com/pmem/ndctl