Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1067803rwo; Wed, 2 Aug 2023 08:16:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlHq9dUm6Qv7DK+RFRCQ8uPqfrMQ2FBiOxTqkVbe+t3MMP666sCkiTJ17tgNsGZMQ9yghpP0 X-Received: by 2002:a17:907:a062:b0:99b:5574:7d0f with SMTP id ia2-20020a170907a06200b0099b55747d0fmr5471725ejc.23.1690989360950; Wed, 02 Aug 2023 08:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690989360; cv=none; d=google.com; s=arc-20160816; b=itvA7VAEiW6+V8aQ8CyGfPpw0QPNbViENObk5JFF5x8swBUi4E/k3ZxUuHZ9BLV2Es upLTfZ5bZliA4HG6ATjCQb+19llyOTt9bkT1HrIoGcjAXT8vS886Vv0PUBS0vPWEk1Rw Pd//rzPqREB39JBGvptE8fDwdiGsV+YaiBZFpJoozuEBh6ZftDv7Bw/1BwFNhRlwJQSj Bic3b6opWaorQ1RzAr77uJkkNqNgwrUP/OZIk6FjWxPdz3rnGNoJqiTXYU36GsBssrOZ YBKHzTuROlQY06DWqCnJtA4HvGxO1HauuryFHCMupkumi6cFzFjlS/AItSPIMVvkzWp5 x0fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AIDW4KrvrypBYNBzVeTDHm+/ythWuyMApwP/eRhnVqo=; fh=evnSZD/QxnZ3z7Ptt6mYXXNR9Mmdn48vqp0Tq5ukuII=; b=zk6k1q2Zl0OkCNhrLQMLYqklS2G1i/sZJI0L+ZOc5x1fKY734cg42eRVGbNeKELFHv +q9tHO861KBllTHnQmcQR0CaBDMk7ZGpqqeU+I0fueEMbGj9SI+GAvtYYvfk5AemGN4D lBXCp+2yluz2AModqy5ejRp3cR8uOcz0US+A9/T1nYmqHseNbdO8Hk2BMHZRVqIg0j6C 0Q/pVH6+PUSnBy5ke8vMUrIufcdYaXu2YrbjIz45S9KvPtsImm3LSGQS9j/FlczpUxq5 HCJhv4ZBxmvLHVMhU1fU+UraNfRr6+3XyeBL+4qijR8fygR58cv1bqBOHqCkXhXsSTMB UC8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Iice7kyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rp11-20020a170906d96b00b00993150ed537si9739427ejb.189.2023.08.02.08.15.33; Wed, 02 Aug 2023 08:16:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Iice7kyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232278AbjHBPDb (ORCPT + 99 others); Wed, 2 Aug 2023 11:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234970AbjHBPC7 (ORCPT ); Wed, 2 Aug 2023 11:02:59 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 551AF2D71 for ; Wed, 2 Aug 2023 08:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=AIDW4KrvrypBYNBzVeTDHm+/ythWuyMApwP/eRhnVqo=; b=Iice7kyz/GNPSpl+GesPnnB8/9 Xlt0hZiVKPPVCfKrytqH/inr40pLQelAptKgP+FSipUTGmFgMDxaFkN3g7DzCrA9zKtkkXLHUgtu3 Jsf6PH4Bt4GtLJNfZFrqFWt8gprNkJJxuLxUWcwjGE9U/nwnZWp++5vYtIUO3Tg8mihDJN7gSg88Q 6AxSNvZCAQOTEXb5xFerBOjewa0twKzb2H+uMNl5sQof/Mad2ZTsdlGpb2DED2ptfao8OD0ywgMXh qaY9XdxumMV6FToXzNII5uBPF+6zDUfHLYeN00vm8HjBvvOUrR7djoaJSk9ovXaT6Ua/QyuyGHKWM QnepmY1Q==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qRDMH-00FcSX-0s; Wed, 02 Aug 2023 15:01:53 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 954F7300301; Wed, 2 Aug 2023 17:01:52 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 77DF4203E5134; Wed, 2 Aug 2023 17:01:52 +0200 (CEST) Date: Wed, 2 Aug 2023 17:01:52 +0200 From: Peter Zijlstra To: "Luck, Tony" Cc: "kan.liang@linux.intel.com" , "mingo@redhat.com" , "acme@kernel.org" , "linux-kernel@vger.kernel.org" , "mark.rutland@arm.com" , "alexander.shishkin@linux.intel.com" , "jolsa@kernel.org" , "namhyung@kernel.org" , "irogers@google.com" , "Hunter, Adrian" , "ak@linux.intel.com" , "Eranian, Stephane" , "alexey.v.bayduraev@linux.intel.com" , "Zhang, Tinghao" Subject: Re: [PATCH V2 1/6] perf/x86/intel: Add Grand Ridge and Sierra Forest Message-ID: <20230802150152.GC212435@hirez.programming.kicks-ass.net> References: <20230522113040.2329924-1-kan.liang@linux.intel.com> <20230522202659.GC3334667@hirez.programming.kicks-ass.net> <20230608072420.GB998233@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 08, 2023 at 04:20:22PM +0000, Luck, Tony wrote: > > Then I'm hoping their take-away is that random gibberish names don't > > help anybody. The whole Intel naming scheme is impenetrable crap. > > > > +#define INTEL_FAM6_ATOM_CRESTMONT_X 0xAF /* Sierra Forest */ > > > +#define INTEL_FAM6_ATOM_CRESTMONT 0xB6 /* Grand Ridge */ > > This just adds another layer of confusion. Sure, these two models are based > on the same core. But giving the illusion that they are somehow the same will > lead to tears before bedtime: > > 1) They each took a snapshot of that core design on different dates, so there > are logic differences. > 2) Feature fuses will be different > 3) Microcode will be different > 4) BIOS will be different > 5) "uncore" is different, so anything implemented outside of the core > will be different. All those things are true for INTEL_FAM6_SKYLAKE vs INTEL_FAM6_SKYLAKE_X and all the other pre-hybrid desktop/server parts. And we used to do the same with the previous ATOM things, see GOLDMONT / GOLDMONT_D, TREMONT / TREMONT_D etc.. So why should this atom be treated differently? We get a server atom and a client atom, yes they different in all the usual way, but they still more similar to one another than to any other random chip we have. In short, we used to have this for core parts, we used to have this for atom parts, but now we magically need to break from it? Anyway, let me do the rename and squish everything into a git tree.