Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp74579imm; Tue, 7 Aug 2018 14:12:14 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwP2aTLSoLJd6aDaHF//8avvL9dI42yu7+NaxLLPid7QE9YKEGZ3RdOJcwr4ZN6gRuXS5+2 X-Received: by 2002:a63:64c2:: with SMTP id y185-v6mr70224pgb.126.1533676334371; Tue, 07 Aug 2018 14:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533676334; cv=none; d=google.com; s=arc-20160816; b=icDgjXYHaQtN6Tc5q8f026rWIfR/y/8Rht4ziHj5q7VqmSfP5WViQCv4BVIWgpWF2Y P2fvPHZgo96HmXalVLo7/K2dcILudKQXmePpbACcQHdpqr5+6LDHtuyHmSzVcz5ukYbF P8kruo/uvwoz/3YCpCux2c7W5d2ItDwBh/yqud6WxigpqA+1k2XiG9aSlV6Qh8Oo9E37 obB/Xwsgv1xlhi/Qw3VC5s5DkRgERxIhNWI6KLvChDlHStwjS6szBPvksPQw4i8RxYJr GxaMzJT9BP6ipOeDd+6QvmowJZ2o/uPeSUi0W6Uiwf5IwhuWoC6reFqT0XYJ4kgK5/o/ FYGA== 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 :arc-authentication-results; bh=NqBGHDuDLX26Q6HHysxqexdpj7jXjFqSOOYb9Ggb7BE=; b=S1Le+H+WfM2JsgJvtalKDJ7spkja2v00Xce+FmygWtEpeavZFIN12SPGopt1j00IgZ 6rNWHDcIH30AP2aZXM17aPVxk7FCG+RB/Up5yW4r64GExxHHXpk6e/uzx3f66J/qnVT2 Ua2W1Ax2U/UcZbsppY808PQCaZv2rL7Xbzdzw0GRzC3dj6DhwapnWBsFfu2lLnr8rD4W y2SOa8zFd0HYlSSlxRGabzeRvFrLlsg9XCfsd8zK22uauRgTryMhu+aUocGtBIynOhkq 3q5N+YWDu0VCkq6nLG4CGpOnmb8jsRbPVqD37cGJLPwKb4mDI8gB5jyE8+2dlNIhrrKo UwcQ== 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 x1-v6si2144280pga.480.2018.08.07.14.11.58; Tue, 07 Aug 2018 14:12:14 -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 S1726779AbeHGX0z (ORCPT + 99 others); Tue, 7 Aug 2018 19:26:55 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:49602 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbeHGX0z (ORCPT ); Tue, 7 Aug 2018 19:26:55 -0400 Received: from p4fea5a5a.dip0.t-ipconnect.de ([79.234.90.90] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fn9FI-0007Li-No; Tue, 07 Aug 2018 23:10:24 +0200 Date: Tue, 7 Aug 2018 23:10:24 +0200 (CEST) From: Thomas Gleixner To: Andi Kleen cc: Peter Zijlstra , 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: <20180807183736.GR4238@tassilo.jf.intel.com> 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> 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 Tue, 7 Aug 2018, Andi Kleen wrote: > On Tue, Aug 07, 2018 at 07:48:51PM +0200, Peter Zijlstra wrote: > > On Tue, Aug 07, 2018 at 10:35:42AM -0700, Dave Hansen wrote: > > > On 08/07/2018 10:17 AM, kan.liang@linux.intel.com wrote: > > > > Denverton and Gemini Lake are platform names and should not be used for > > > > Processor Family stuff. The microarchitecture codename should be used. > > > > > > Why? > > > > > > Denverton is the platform. "Goldmont" is literally the > > > microarchitecture, and you are suggesting moving *to* the > > > microarchitecture name, which contradicts the description. > > > > All the other (big core) are uarch names. Atom is weird in that it mixes > > uarch with platform names. > > On most big core the platform/SOC just happens to have the same name as the > uarch. But the identifiers really have to be per SOC because that > is how Intel model numbers work. > > It should be always the SOC. Which simply does not work. Look at Goldmont Fam 6 Model 5C. The SoCs with that Fam/Model combination are: - Apollo Lake - Broxton (has two platforms: Morganfield and Willowtrail) It's even worse with Silvermont. So no, the interesting information is the UARCH and the variant of that, e.g. UARCH_CLIENT, UARCH_SERVER, UARCH_WHATEVER. All the magic Code Names and their platform variants are not interesting at all for the Fam/Model information. Thanks, tglx