Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp272787imn; Fri, 29 Jul 2022 06:30:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR7EvY+lKk/QVbSl1FTGiWYQzDzHuHSU7sl07w/49WLg7/C7RXdNUdti/LPqoa3Epad52sMy X-Received: by 2002:a17:902:d54c:b0:16d:9d52:2cb1 with SMTP id z12-20020a170902d54c00b0016d9d522cb1mr3904292plf.29.1659101447054; Fri, 29 Jul 2022 06:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659101447; cv=none; d=google.com; s=arc-20160816; b=ZfkT1T9cgBNTsvTpatdjXS4i7w4B2dDGpKDJHRW1FCb5PT57oZ5SZknx0VKO164yk4 zhmEni1X5iEkRTkqf0bU0u69zjbtx2af716elCVxXvUedPwlnuKI7emuorhv2nEiAU9L y73Ofli4Fr7PfLR2s8AuAMiXOmZclMHVljjfjchBtuqM9Ka9TltJtusnWK2CvC7pXGQH PfY6edWrJcACjHjKYCuzq5qIzgVcEmL9hBK8AoiHIh5sWwpxnJTTnstXMC3w9R/NDDWP JHF2PdGxPNCdVL7fNDcK5l3XbzdaqwHO4+kr8jT8Y84kCL96uuMTfnHQpcPRFT5FAlAK UYGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=+R8S2smSYLT9ZnldlHA8n2SaHJuwKXGqIrVMdfnFfyk=; b=aaJnx5dOWSu5BNTwIrm8DyGpzIuFBaVfcrXGJ0tbRZBzralgLC28wUyXXUKDVofUdh hnE8sYWkArca3xnugPxSxjTVIxYA8pUeqpFp4iXbpMYEqzKfFNB2WvuLdsVTsZG9KgvD qx1xjDLZbAVVqeYLSPng5z02Xy3gTDxeyAfTCQYE5Z/TORI2q65gt8nvUHPBAI/zQosC ez9ZPASJZdapUTJJt8KFws+d0iNYmS7eily7mcnnU7wNIa/sESgdXwk543PTFyGt0kcU 9Fur+6ebYXmNsk6p8OiSJZtH8DMHvZsv5cYj121zhoS4BwqJ/O4ftkQGhWdHuJ+il1a8 BxBw== ARC-Authentication-Results: i=1; mx.google.com; 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 j70-20020a638049000000b00408c2891a4fsi4187812pgd.710.2022.07.29.06.30.30; Fri, 29 Jul 2022 06:30:47 -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; 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 S236547AbiG2NMA (ORCPT + 99 others); Fri, 29 Jul 2022 09:12:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236598AbiG2NKy (ORCPT ); Fri, 29 Jul 2022 09:10:54 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4832E3AE69 for ; Fri, 29 Jul 2022 06:10:53 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LvSZ35wn0z4xG2; Fri, 29 Jul 2022 23:10:51 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, Rashmica Gupta , Kajol Jain , Madhavan Srinivasan , linux-kernel@vger.kernel.org, Athira Rajeev In-Reply-To: <20c0ee7f99dbf0dbf8658df6b39f84753e6db1ef.1657204631.git.christophe.leroy@csgroup.eu> References: <20c0ee7f99dbf0dbf8658df6b39f84753e6db1ef.1657204631.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v5 1/2] powerpc/perf: Use PVR rather than oprofile field to determine CPU version Message-Id: <165909975658.253830.11461450313523332819.b4-ty@ellerman.id.au> Date: Fri, 29 Jul 2022 23:02:36 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS 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, 7 Jul 2022 16:37:17 +0200, Christophe Leroy wrote: > From: Rashmica Gupta > > Currently the perf CPU backend drivers detect what CPU they're on using > cur_cpu_spec->oprofile_cpu_type. > > Although that works, it's a bit crufty to be using oprofile related fields, > especially seeing as oprofile is more or less unused these days. > > [...] Applied to powerpc/next. [1/2] powerpc/perf: Use PVR rather than oprofile field to determine CPU version https://git.kernel.org/powerpc/c/ec3eb9d941a98f4c0dac263110729680a734279b [2/2] powerpc: Remove remaining parts of oprofile https://git.kernel.org/powerpc/c/62ccae78820b25a0ac64bb0f648388ec834fcb3c cheers