Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6937576imu; Thu, 27 Dec 2018 09:09:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4NZFlrX+prJIJNoP8EJvS333LtHvZeKHB8xyfsQPa6dsgxVMclRKXAwf+DCqP+L8WCIlmI X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr23453090pli.301.1545930586945; Thu, 27 Dec 2018 09:09:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545930586; cv=none; d=google.com; s=arc-20160816; b=A6Sux5yYR8uduP+S42hWLdGkY7DUMgmYgGxBL8BX3vNlS+iQga7YotKoIt3mbqD6y7 M1qhvNfSK+mnJIj+3DZJbWuySc+sH9OQ39uyrAXIqemDKbTuta72SEjBAGAbx+bcxkyN V1dehEb5uh+Sbe/yT1+GDSuotkgDusq90kPpa5Y9v2I70pFGkuSIHLAS4ymlda7EIzB4 76nYEiMjEUoP+Xyl2LqD1f4761MYkb312ntrwOBKnfMY5iGFG8QTttg9GXNke4OsWXzw g0+9YrkaUhpLOWH45Bkz9Ri39Rag2tO1hkIitM7eJNVD3SGNSE76Q60StKjYWGaOQlME JYQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GjfXRjsa8UwubNB4Ft5yoX1RnN0GXGwDzWwt1eXGKQU=; b=aX8/ddM94/OYC+I9RAUXd/QJTxXO4AYqgcstW/VBnZxsNb4Mp8e25iOLn5a1yGyfD3 U2LlVoqT//i/pETUq3rtxUDO0mCxrbj7Hxr7AHImg9mRCoDWUEE6Lf8iezfzET0oqlxA 3bqVBoTwR1+gveNuKxMlMdMugQW3O0p3uM+yk8QrqhdbnqMmkA9kF0QlFDCrVVHi0rjr SqWsZVQ9QdiqkX/NIaE243K8s71N2HzYbqVateq42FsvT4ZBpfnEKDIoFcOG9QNHcn7h rgI9grgPpPObrz8XCiFFzMlvPos09iaJSEc6YCDC7zzGpwGoPMDl1H9SkfL1THXiQ6Mz MlNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=t201GZVG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19si33483345pgn.20.2018.12.27.09.09.31; Thu, 27 Dec 2018 09:09:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=t201GZVG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728807AbeL0Dlo (ORCPT + 99 others); Wed, 26 Dec 2018 22:41:44 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:39188 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbeL0Dln (ORCPT ); Wed, 26 Dec 2018 22:41:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GjfXRjsa8UwubNB4Ft5yoX1RnN0GXGwDzWwt1eXGKQU=; b=t201GZVG6tuO6caEtWnXBRKA4 lL0tOh7EZwnjeu2aMXsWWNLycpq8Qoe1N54w5gPds4VzKQ7BoAeNeifITYjdqibqjx8V+HOXPXB5t OiaoiE/n8Fd5nyWWkm3VaZQo+iOA4WtskaafGqAXiAnrSH8ZA+1uqHQG6Tg9U3vb+plsdicbR48K/ DIDj7kJpglrKva9+KPP/ahuvvMvhYQl4bbOY0h8nAz2eChe6TM2f2234bxRPDedgfkKPheZbXLF+l ESoj5Bf8CGhtlSd4jfplNON5fjn+i6AixvNSjcAUtY5NMPM48zsEuMMB+2+QIpvvwK9WbhZqaDGLp t5wqA/uRA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcMYH-0007Hl-Eb; Thu, 27 Dec 2018 03:41:41 +0000 Date: Wed, 26 Dec 2018 19:41:41 -0800 From: Matthew Wilcox To: Fengguang Wu Cc: Andrew Morton , Linux Memory Management List , Fan Du , kvm@vger.kernel.org, LKML , Yao Yuan , Peng Dong , Huang Ying , Liu Jingqi , Dong Eddie , Dave Hansen , Zhang Yi , Dan Williams Subject: Re: [RFC][PATCH v2 01/21] e820: cheat PMEM as DRAM Message-ID: <20181227034141.GD20878@bombadil.infradead.org> References: <20181226131446.330864849@intel.com> <20181226133351.106676005@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181226133351.106676005@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 26, 2018 at 09:14:47PM +0800, Fengguang Wu wrote: > From: Fan Du > > This is a hack to enumerate PMEM as NUMA nodes. > It's necessary for current BIOS that don't yet fill ACPI HMAT table. > > WARNING: take care to backup. It is mutual exclusive with libnvdimm > subsystem and can destroy ndctl managed namespaces. Why depend on firmware to present this "correctly"? It seems to me like less effort all around to have ndctl label some namespaces as being for this kind of use.