From patchwork Tue Nov 10 23:31:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 7592661 Return-Path: X-Original-To: patchwork-linux-nvdimm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 636079F2F7 for ; Tue, 10 Nov 2015 23:32:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B348205E3 for ; Tue, 10 Nov 2015 23:32:42 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A109520295 for ; Tue, 10 Nov 2015 23:32:41 +0000 (UTC) Received: from ml01.vlan14.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6217B1A2032; Tue, 10 Nov 2015 15:32:41 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by ml01.01.org (Postfix) with ESMTP id 0C5891A2032 for ; Tue, 10 Nov 2015 15:32:40 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 10 Nov 2015 15:32:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,272,1444719600"; d="scan'208";a="682561495" Received: from dwillia2-desk3.jf.intel.com ([10.54.39.39]) by orsmga003.jf.intel.com with ESMTP; 10 Nov 2015 15:32:27 -0800 Subject: [PATCH] ndctl: update readme with build instructions From: Dan Williams To: linux-nvdimm@lists.01.org Date: Tue, 10 Nov 2015 15:31:59 -0800 Message-ID: <20151110233143.23392.19147.stgit@dwillia2-desk3.jf.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Also, update the minimum CMA reservation size given the new hotplug test arriving in the 4.4 kernel. Signed-off-by: Dan Williams --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84b8ed175f4f..3f62adce2f92 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel + +Build +===== +`./autogen.sh` +`./configure --enable-local` +`make` +`make check` +`sudo make install` + Documentation ============= See the latest documentation for the NVDIMM kernel sub-system here: @@ -21,9 +30,9 @@ git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git` memory allocator). This will be used to emulate DAX. `CONFIG_DMA_CMA=y` -`CONFIG_CMA_SIZE_MBYTES=150` +`CONFIG_CMA_SIZE_MBYTES=200` **or** -`cma=150M` on the kernel command line. +`cma=200M` on the kernel command line. 3. Compile all components of the libnvdimm sub-system as modules: `CONFIG_LIBNVDIMM=m`