From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1a1zpL-0004Aw-Ta for mharc-grub-devel@gnu.org; Thu, 26 Nov 2015 11:55:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1zpK-0004Af-5Z for grub-devel@gnu.org; Thu, 26 Nov 2015 11:55:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1zpG-0001tG-Ve for grub-devel@gnu.org; Thu, 26 Nov 2015 11:55:22 -0500 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:35619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1zpG-0001t6-OY for grub-devel@gnu.org; Thu, 26 Nov 2015 11:55:18 -0500 Received: by lfdl133 with SMTP id l133so103378817lfd.2 for ; Thu, 26 Nov 2015 08:55:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=t+TSlSVMM+L4pAy/MNbGGGDN2ryb/6lg0pj5DkamTQo=; b=ICg8Yk0/Vn1moqYANwqPwwQxRPxxBJQC06hjxDwQHb0j2B9Tqgm0OdAHy7ckG+teCF 2lnN0tEB0jV7xPYh/eY2xge82sBwtCt3E/4p4DECj4ahtrUAWhuaOHoyXbgWSjHx+zcs mpyXhtnfIXwedVCzHYCz4PIV1Ae3Wp5MtkFP2Z4vlkjEysofvwMCeybwYjGd7MjHtlPh dNJEeV9mq52GvQlgQO/kubbd1ioLOjvTXWgJgQ6w4sT7+UNv+fpANcwXZ0rskG3qz4XG Af0xA8XPzSk68Mto+7Pf4Kq6wEjZpy2jkgvygrSdfWb0R7qw3vbOVtyaNXCp58v/ReyJ ZDQw== X-Received: by 10.25.136.139 with SMTP id k133mr18192575lfd.4.1448556917923; Thu, 26 Nov 2015 08:55:17 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id k14sm4244097lfb.49.2015.11.26.08.55.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 08:55:17 -0800 (PST) Subject: Re: grub causing NVDIMMs to be treated as normal memory To: "Elliott, Robert (Persistent Memory)" , The development of GNU GRUB , "dan.j.williams@intel.com" , "linux-nvdimm@lists.01.org" References: <94D0CD8314A33A4D9D801C0FE68B40295BE539AF@G9W0745.americas.hpqcorp.net> <5655FFC3.9030603@gmail.com> <94D0CD8314A33A4D9D801C0FE68B40295BE5549A@G9W0745.americas.hpqcorp.net> <56567CC3.3040405@gmail.com> <94D0CD8314A33A4D9D801C0FE68B40295BE55713@G9W0745.americas.hpqcorp.net> From: Andrei Borzenkov Message-ID: <56573973.9060806@gmail.com> Date: Thu, 26 Nov 2015 19:55:15 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <94D0CD8314A33A4D9D801C0FE68B40295BE55713@G9W0745.americas.hpqcorp.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::235 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2015 16:55:23 -0000 26.11.2015 09:15, Elliott, Robert (Persistent Memory) пишет: ... > ... > mmap/efi/mmap.c:66: EFI memory region 0x880000000-0xc80000000: 14 > Unknown memory type 14, considering reserved > mmap/efi/mmap.c:66: EFI memory region 0x1480000000-0x1a80000000: 14 > Unknown memory type 14, considering reserved > > > > This is booting a new kernel with the EFI boot stub, so I can't > confirm that it fixes the issue of exposing the address range as > normal, but based on the print it's probably working. I could > add prints in grub-core/loader/i386/linux.c grub_e820_add_region > to confirm the e820 contents at exit. > Thanks. If it results in wrong e820 type we have much larger problem so I do not think it necessary. I pushed it; as I understand this should serve as stopgap. If I get around to implement persistent memory type would you test it? But as I cannot tell when it happens, feel free to submit patch in the meantime :)