Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp48882rwo; Fri, 21 Jul 2023 08:20:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlE0Ouyas1PJ/zZI6p2zgzpfvOT9eEshn4AKOzt3QCvIjXskUiDnli0S+d4J9pst6x0eF6nt X-Received: by 2002:a17:90a:1788:b0:25b:f105:8372 with SMTP id q8-20020a17090a178800b0025bf1058372mr4047284pja.5.1689952853624; Fri, 21 Jul 2023 08:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689952853; cv=none; d=google.com; s=arc-20160816; b=lHaPenGtNjCvo+PqgHuvwApsdMz7zX6U727O+foMboKF99xyytk3jfszmoZ74zl1K9 bQ7JoiZJSjJne6TLi75d2J7ryt5BKw7jBVYHvb+Dr5/1Lrx+XujZ2KnySp/jP4lxhu+U B4eLcLiFvYahH60MMMgWXIdVhk5ZKTLScqcIUrxasD/LOnz7hiIIa+dvR6uD5L4Evi0T jOfXqesQFFX04NDBn7GUeedT+un+bUwV+RV9wQGCzjoeJM+Yo5+oTo7oWDMeRlcLjwLP BdlLLsKpBx/ihtOpu+iBXpU50gaeEW8rvgFe21lvhPHCVpzl2ikB+AnwoTo8MnBmilGq deFg== 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=d9BwQIlzL9qeLcT5jyt0nvn6quuf8DQK55B8NA08l6U=; fh=QsW+4Pm8OnE4lEOHAHjD384rX2F5e4gjQbyi1LtjGCA=; b=qAlfJyT+K8P0+W1+Oea28AWYveZ9ieWYrvehabdE6m9y75NkKkD4bBuAWCb9FCis4X 5fSIFog8qAj4nsFsQUs30nK8bqusmywgp0jI5Q0gYhQQZGFWDFDQFEU34iNC3t4o3BQl LXvjkARkUEtdA9hDQVe9FT3jG+lYS1uZBqWbE87HO+4l4zeueyKYLYG/dP5xyBqNgAac OXr109KUJdcaiV2+8G9aPLacpIkiqPx9ulB/SvlVGc+WX/TZYAtqxQetUgIyyZvVIMaT T65ikybxuFh6NHRHBDJi3t+IYe+qg1pkWUPak1lzFEFfvgMKwQaKXZUtLKxAHpc0ISG+ hBXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VQfnyRYr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oa2-20020a17090b1bc200b0025b8a96a363si6182590pjb.90.2023.07.21.08.20.41; Fri, 21 Jul 2023 08:20:53 -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=@kernel.org header.s=k20201202 header.b=VQfnyRYr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231679AbjGUPOT (ORCPT + 99 others); Fri, 21 Jul 2023 11:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231892AbjGUPOK (ORCPT ); Fri, 21 Jul 2023 11:14:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36D523A98; Fri, 21 Jul 2023 08:14:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 956F161CEC; Fri, 21 Jul 2023 15:13:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D02E1C433CB; Fri, 21 Jul 2023 15:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689952439; bh=YwIOYtjQQopxqVMGwCdqHddpY/KN/9YTvyayY+0BD+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VQfnyRYr4kKWHYGElr6wSyLotg6sRZVYAkK0I0g0P2DMhZLfXuWgmSoPAyFcvoGTP GDnUx36TIC1Qk4W8U8EqE1wpbYlzi7sarJWz7X2A+kxTqIdXLyWSZypoW7syHyERN1 4UaaGhrBAOq6mH6H92vZrEOscjX+ytF3wgYfDYphZ0jPryd6ZB1PElESLAmWlxyfNd hX2H+7u6iJ/GnptmNJ5pfOklROZeROVZ5X0EfbmtDCvHjnnWi9kTcMuXPf+Ey0YBDw 29batj/P5YdkKkhZJeUqnt7s8cJnJf1VpOxpXbLDvY/e0AMTA8dWb19O/Zp2yUApI8 XUZA7I+pCsSUw== Date: Fri, 21 Jul 2023 11:13:57 -0400 From: Sasha Levin To: Mark Rutland Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Junhao He , Jonathan Cameron , Yicong Yang , Will Deacon , zhangshaokun@hisilicon.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH AUTOSEL 6.4 11/12] drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU driver Message-ID: References: <20230702195057.1787686-1-sashal@kernel.org> <20230702195057.1787686-11-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Mon, Jul 03, 2023 at 11:14:37AM +0100, Mark Rutland wrote: >On Sun, Jul 02, 2023 at 03:50:56PM -0400, Sasha Levin wrote: >> From: Junhao He >> >> [ Upstream commit 1a51688474c0d395b864e98236335fba712e29bf ] >> >> Compared to the original PA device, H60PA offers higher bandwidth. >> The H60PA is a new device and we use HID to differentiate them. >> >> The events supported by PAv3 and PAv2 are different. The PAv3 PMU >> removed some events which are supported by PAv2 PMU. The older PA >> PMU driver will probe v3 as v2. Therefore PA events displayed by >> "perf list" cannot work properly. We add the HISI0275 HID for PAv3 >> PMU to distinguish different. >> >> For each H60PA PMU, except for the overflow interrupt register, other >> functions of the H60PA PMU are the same as the original PA PMU module. >> It has 8-programable counters and each counter is free-running. >> Interrupt is supported to handle counter (64-bits) overflow. >> >> Signed-off-by: Junhao He >> Reviewed-by: Jonathan Cameron >> Reviewed-by: Yicong Yang >> Acked-by: Mark Rutland >> Link: https://lore.kernel.org/r/20230615125926.29832-2-hejunhao3@huawei.com >> Signed-off-by: Will Deacon >> Signed-off-by: Sasha Levin >> --- >> drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 127 +++++++++++++++++--- >> drivers/perf/hisilicon/hisi_uncore_pmu.h | 8 ++ >> 2 files changed, 120 insertions(+), 15 deletions(-) > >Why is this being backported to stable? > >This patch adds supoprt for new HW, and is clearly not a fix, so it's not clear >to me why it has been selected. I'll drop it, thanks. -- Thanks, Sasha