Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752120AbbBVRPe (ORCPT ); Sun, 22 Feb 2015 12:15:34 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:62869 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751980AbbBVRPa (ORCPT ); Sun, 22 Feb 2015 12:15:30 -0500 Message-ID: <54EA0EAE.70708@plexistor.com> Date: Sun, 22 Feb 2015 19:15:26 +0200 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Christoph Hellwig CC: Dan Williams , Matthew Wilcox , Ingo Molnar , Ross Zwisler , x86@kernel.org, linux-kernel , "Roger C. Pao" , Thomas Gleixner , Linus Torvalds , linux-nvdimm , "H. Peter Anvin" Subject: Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips References: <54E1CF5B.9020905@plexistor.com> <20150216220302.GF3364@wil.cx> <54E2FEF2.8060701@plexistor.com> <20150219004731.GA5477@infradead.org> <54E5AC11.8070608@plexistor.com> <20150222162708.GA4327@infradead.org> <54EA0C48.4020408@plexistor.com> In-Reply-To: <54EA0C48.4020408@plexistor.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 30 On 02/22/2015 07:05 PM, Boaz Harrosh wrote: > On 02/22/2015 06:27 PM, Christoph Hellwig wrote: <> >> I won't be back to my nvdimm enabled hardware until after LSF/MM, >> so any work from me in this area will have to wait a bit. >> <> BTW: I have an out-of-tree patch that enables me to just emulate an NvDIMM inside a VM, so I can develop at the comfort of my LP. You can find it at my pmem tree. All it does is adds a new type of memmap=. So if you specify memmap=2G\&4G on Kernel command-line the code will insert a type-12 memory to the list, instead of "reserved" region when a "$" is parsed. >From here on that region will look exactly like an DDR3-NvDIMM with supporting BIOS to the system, safe the persistence of course. (Actually there is a trick to force the KVM-Host to reserve that memory across VM boots, to emulate persistence) Cheers Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/