Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp125138imm; Tue, 7 Aug 2018 15:18:30 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzMmd7N7r9+ZDcsX6BSxg2+d5oTmoCLjaZrgAqgyaDmaUuluSZZOr+7jPMqqfXOCxjm7on4 X-Received: by 2002:a17:902:8f8c:: with SMTP id z12-v6mr195183plo.4.1533680310913; Tue, 07 Aug 2018 15:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533680310; cv=none; d=google.com; s=arc-20160816; b=tiFUyLf6GogYHnrKTfqHrri16jPcMZ44s0CXdPyeTe4rqQFhmuKHSjB7EYwh5CpvGx 0OjdTUeG9OKrii8xcK+51ATSMCjjFSCrQF+LC8C24n9f38yxzcxA0ahBw3VUKq7p0tnh 09/Yw3hwiAP8eXJTs80zb8aUQx+xBwQcHdAdD/j44+79wNZdh2+5hNeKnzYSz61/sQLM VvydefHMf2o4UIgIl1CKSmQXTWIaxePJ3yeZSCg4j9cCkedk2wOktkayWdIiw+JF45Qm Uq9JHJf9/UK1ZanGAfa0i+zzn0zm0Tm02SP6RuYgBCrZo1CZ/xyf5kmsT9MJrk0FzCoS LWZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=uDluVvPcV+J3zLjTgpCnVDv/AAfdMXc6QNuDRbfPyws=; b=gbRdi9RBVNqdto/T0NSTQvJXyPhApAFvYBZIgE7l7DgNBFU0sSITyILgn7P9Modf3L US4lzDqUlkfKVXQ4i2XWs66Ttpx749um458VBWM+Xlfu0/aPxRKA0LmCNd41xD7I1HgQ qUkDsa+CWqrUIwI5hnm0/p8n2jtjmxGiuBcRxnoMnU6H+Jk2vlGX1BbWJ2VqLKMA63Sk 6swq0ac4PFCn2aYuWhM8T5Rc5RH2NiMmfuYjms5ZbJBQhAhfA1OQGsaQo12hr9shjvez gTyItyAEmNbBxlt+ucC0IUDYcyM6LFcRniiikYgvBc1717OcwMlBIS1XPQcuJYFIbhCL iZYA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n24-v6si2564231pgb.665.2018.08.07.15.18.16; Tue, 07 Aug 2018 15:18:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726779AbeHHAd7 (ORCPT + 99 others); Tue, 7 Aug 2018 20:33:59 -0400 Received: from mga04.intel.com ([192.55.52.120]:39478 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbeHHAd7 (ORCPT ); Tue, 7 Aug 2018 20:33:59 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2018 15:17:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,456,1526367600"; d="scan'208";a="73564441" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.126]) by orsmga003.jf.intel.com with ESMTP; 07 Aug 2018 15:17:25 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 4D79D3013C5; Tue, 7 Aug 2018 15:17:25 -0700 (PDT) Date: Tue, 7 Aug 2018 15:17:25 -0700 From: Andi Kleen To: Thomas Gleixner 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 Message-ID: <20180807221725.GU4238@tassilo.jf.intel.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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) Right pick one. The others are the same for software purposes and can be handled in the same way. > > It's even worse with Silvermont. > > So no, the interesting information is the UARCH and the variant of that, With Uarch you mean the core uarch? That doesn't really work for something like Silvermont or Goldmont. > e.g. UARCH_CLIENT, UARCH_SERVER, UARCH_WHATEVER. All the magic Code Names Right your scheme totally doesn't work on Silvermont because there are multiple client variants. > and their platform variants are not interesting at all for the Fam/Model > information. You're right platform is misleading. I think the right level are SOCs, because that matches the how the model numbers are allocated. On Big Core *Lakes are all unique SOCs. -Andi