Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2127576imm; Thu, 27 Sep 2018 07:51:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV60dBL5qoO89FT8oC5G/hNQ+jBGY8ZmKjlEnN584vGW4bWK31UxTIpLVjd83HB/qfs+jUBzv X-Received: by 2002:a63:646:: with SMTP id 67-v6mr10175879pgg.230.1538059895059; Thu, 27 Sep 2018 07:51:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538059895; cv=none; d=google.com; s=arc-20160816; b=H847FI9eEL8VmL94hsb2x9xyE2dKnjW4Ks0xjW6ckdTPAQY0NTix5klId9v3o4Ok4D ALKMaBPlwveV2KvC7RqE4lPtc6XtmMz0PhGsY4AO6eROSiN5WF7JsD2Atk4JYpFh2Kj0 Hg7rMDNI/Oh6o09ixH2WcRcN2TwNhfbUP0O7pGdx68YdgNgBZBP5I2PtUyKT1Em5pszg 0c0LAsO5BuD+M8/fgMjMx1nzqtG47ryQCTiD+XNSd1OeSeW6fs3m3OYsysIi+wUvB9pO 5eu7v68NPq9zhWmLvIzDy1BRZGU223ZneHfAb0vqdDr+0HcAq6gGyq8ZhPWZCrf1usoJ zqjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Iv2eBH/yLBQztIY9n15ZvDuXyKeAXhkXdRqb5hC1mqk=; b=F1yQIBCWmb+1CNRwyH/sY+Uz5NEpsklByt+Cef7betd9aY2uYaKCe0KuauNjBpgf5T Dd2FX5BCFXRPUPsv9F5h0sp/lQIIVDefRP6eU9D7BnvdqKpNNVU/KG91HvX05RsWGErL ULw9QUa+ORBLy+IF/E0NidSOo3y2C5nMrQEaZV1NRsK/Pck7KEfat7NOzFr9nm5ND1im 93vM0ecx1OtTxdOlV9aDiivHaMatKTXwWukdRgppSz1uUmtfXEq9rdti68IfFTZ//x+j LlMcuK1frnN9MZrKV7VUzBH35B5ocafZaRtxV0aWJwIwydAWHX4NjT3aFOjyHq+4QkAG 1YRQ== ARC-Authentication-Results: i=1; mx.google.com; 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 f23-v6si2139099plr.470.2018.09.27.07.51.18; Thu, 27 Sep 2018 07:51:35 -0700 (PDT) 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; 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 S1728373AbeI0VIL (ORCPT + 99 others); Thu, 27 Sep 2018 17:08:11 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:52200 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727404AbeI0VIK (ORCPT ); Thu, 27 Sep 2018 17:08:10 -0400 Received: from p5492e4c1.dip0.t-ipconnect.de ([84.146.228.193] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1g5XbS-0005ZK-Q7; Thu, 27 Sep 2018 16:49:18 +0200 Date: Thu, 27 Sep 2018 16:49:18 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra cc: Andi Kleen , Dave Hansen , kan.liang@linux.intel.com, mingo@redhat.com, len.brown@intel.com, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH] x86/cpu: Rename Denverton and Gemini Lake In-Reply-To: <20180927142519.GB3439@hirez.programming.kicks-ass.net> Message-ID: References: <1533662247-17575-1-git-send-email-kan.liang@linux.intel.com> <1b7cb461-5321-86cf-3031-5ff545c3dc42@linux.intel.com> <20180807174851.GJ2494@hirez.programming.kicks-ass.net> <20180807183736.GR4238@tassilo.jf.intel.com> <20180807221725.GU4238@tassilo.jf.intel.com> <20180927142519.GB3439@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Sep 2018, Peter Zijlstra wrote: > On Wed, Aug 08, 2018 at 07:14:52AM +0200, Thomas Gleixner wrote: > > > We have that for the big cores as well: > > > > #define INTEL_FAM6_HASWELL_CORE 0x3C > > #define INTEL_FAM6_HASWELL_X 0x3F > > #define INTEL_FAM6_HASWELL_ULT 0x45 > > #define INTEL_FAM6_HASWELL_GT3E 0x46 > > > > Why would we treat ATOM differently? It's all the same scheme: > > > > SILVERMONT_CLIENT 0x37 Baytrail, Valleyview > > SILVERMONT_SERVER 0x40 Avaton, Rangely > > > > and on goldmont it's not any different. > > > > We really want one scheme for both Core and ATOM and not randomly picked > > different ones. For the kernel (aside of some peripheral stuff) the most > > interesting information is the UARCH plus the extra features which are > > enabled on a particular SoC. > > > > The current naming scheme e.g. for SILVERMONT is utter crap because the 1/2 > > variants are in fact CLIENT/SERVER and the comment in the header file, that > > there is no better name, is just silly. > > OK, I spend a lot of time googling various things and came up with the > below. TL;DR: > > /* "Small Core" Processors (Atom) */ > > #define INTEL_FAM6_ATOM_BONNELL 0x1C /* Diamondville, Pineview */ > #define INTEL_FAM6_ATOM_BONNELL_MID 0x26 /* Silverthorne, Lincroft */ > > #define INTEL_FAM6_ATOM_SALTWELL 0x36 /* Cedarview */ > #define INTEL_FAM6_ATOM_SALTWELL_MID 0x27 /* Penwell */ > #define INTEL_FAM6_ATOM_SALTWELL_TABLET 0x35 /* Cloverview */ > > #define INTEL_FAM6_ATOM_SILVERMONT 0x37 /* Bay Trail, Valleyview */ > #define INTEL_FAM6_ATOM_SILVERMONT_X 0x4D /* Avaton, Rangely */ > #define INTEL_FAM6_ATOM_SILVERMONT_MID 0x4A /* Merriefield */ > > #define INTEL_FAM6_ATOM_AIRMONT 0x4C /* Cherry Trail, Braswell */ > #define INTEL_FAM6_ATOM_AIRMONT_MID 0x5A /* Moorefield */ > > #define INTEL_FAM6_ATOM_GOLDMONT 0x5C /* Apollo Lake */ > #define INTEL_FAM6_ATOM_GOLDMONT_X 0x5F /* Denvertor */ > #define INTEL_FAM6_ATOM_GOLDMONT_PLUS 0x7A /* Gemini Lake */ Thanks for doing that! > --- > Subject: x86/cpu: Sanitize FAM6_ATOM naming > From: Peter Zijlstra > Date: Tue, 7 Aug 2018 10:17:27 -0700 > > Going primarily by: > > https://en.wikipedia.org/wiki/List_of_Intel_Atom_microprocessors#Silvermont_microarchitecture > > with additional information gleaned from other related pages; notably: > > - Bonnell shrink was called Saltwell > - Moorefield is the Merriefield refresh which makes it Airmont > > The general naming scheme is: FAM6_ATOM_UARCH_SOCTYPE > > Cc: x86@kernel.org > Cc: mingo@redhat.com > Cc: ak@linux.intel.com > Cc: tglx@linutronix.de > Cc: dave.hansen@linux.intel.com > Cc: len.brown@intel.com > Signed-off-by: Peter Zijlstra (Intel) Which way do we route that? Thanks, tglx