From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbbCJI4v (ORCPT ); Tue, 10 Mar 2015 04:56:51 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36194 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbbCJI4q (ORCPT ); Tue, 10 Mar 2015 04:56:46 -0400 Message-ID: <54FEB1CA.5090902@plexistor.com> Date: Tue, 10 Mar 2015 10:56:42 +0200 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: joeyli CC: Andy Lutomirski , Dan Williams , Ingo Molnar , X86 ML , linux-kernel , "Roger C. Pao" , Thomas Gleixner , linux-nvdimm , "H. Peter Anvin" , Matthew Wilcox , Christoph Hellwig , Ross Zwisler Subject: Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM) References: <54F82CE0.4040502@plexistor.com> <54F82ED1.8030900@plexistor.com> <54FD8DBD.3070309@plexistor.com> <20150310051137.GA18810@linux-rxt1.site> In-Reply-To: <20150310051137.GA18810@linux-rxt1.site> 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 On 03/10/2015 07:11 AM, joeyli wrote: <> > > Per my understand... > > With EFI Boot Stub, there have setup_e820() codes in arch/x86/boot/compressed/eboot.c > that used to transfer EFI memmap to e820 entries. Currently doesn't have any > EFI_MEMORY_TYPE reflects to NvDIMM that will map to e820_type. > > I wonder what kind of EFI_MEMORY_TYPE reported by UEFI BIOS on those "shipped > NvDIMMs motherboards", like supermicro X9DRH-iF-NV. Then we may need add code > to setup_e820() for mapping the efi memory type to e820 type 12 region. > Thanks Joey. This is tremendous help. (Just saved me days of research) Our DDR4 NvDIMM chips arrive this week I will try and debug all this, also booting EFI. If you have any chance to experiments in your lab, and compare notes it would be great. <> > > Thanks a lot! > Joey Lee > Thanks Boaz