Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753003AbbBWPt7 (ORCPT ); Mon, 23 Feb 2015 10:49:59 -0500 Received: from mail-lb0-f170.google.com ([209.85.217.170]:42805 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbbBWPt6 (ORCPT ); Mon, 23 Feb 2015 10:49:58 -0500 MIME-Version: 1.0 In-Reply-To: <54EB219F.5050706@plexistor.com> References: <54EB1D33.3050107@plexistor.com> <54EB219F.5050706@plexistor.com> From: Andy Lutomirski Date: Mon, 23 Feb 2015 07:49:36 -0800 Message-ID: Subject: Re: [PATCH 3B/3 fat] e820: dynamic unknown-xxx names (for DDR3-NvDIMM) To: Boaz Harrosh Cc: Ingo Molnar , Ross Zwisler , X86 ML , linux-kernel , "Roger C. Pao" , Dan Williams , Thomas Gleixner , Linus Torvalds , linux-nvdimm , "H. Peter Anvin" , Matthew Wilcox , Christoph Hellwig Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1402 Lines: 36 On Mon, Feb 23, 2015 at 4:48 AM, Boaz Harrosh wrote: > > There are multiple vendors of DDR3 NvDIMMs out in the market today. > At various stages of development/production. It is estimated that > there are already more the 100ds of thousands chips sold to > testers and sites. > > All the BIOS vendors I know of, tagged these chips at e820 table > as type-12 memory. > > Now the ACPI comity, as far as I know, did not yet define a > standard type for NvDIMM. Also, as far as I know any NvDIMM > standard will only be defined for DDR4. So DDR3 NvDIMM is > probably stuck with this none STD type. > > I Wish and call the ACPI comity to Define that NvDIMM is type-12. > Also for DDR4 > > In this patch I dynamically sprintf names into a static buffer > (max two unknown names) of the form "unknown-XXX" where XXX > is the type number. This is so we can return static string to > caller. I prefer the other variant. For Pete's sake, people, defining new e820 types is ludicrous. It's already sort of happened for nvdimms (and I really hope that type 12 is on its way out), and if it every happens again, we can deal with it them. --Andy -- 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/