Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1959213rwr; Fri, 21 Apr 2023 02:02:50 -0700 (PDT) X-Google-Smtp-Source: AKy350Yh6nVAcv08OUzmIcYS0iBazDmHqz9DWJHDaEiMGpoKfaj7zu+OxmvDy6wRmLof/PHxCyO+ X-Received: by 2002:a17:903:41cf:b0:1a8:106c:4a1a with SMTP id u15-20020a17090341cf00b001a8106c4a1amr5378922ple.1.1682067769597; Fri, 21 Apr 2023 02:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682067769; cv=none; d=google.com; s=arc-20160816; b=IBS+1DNUHu3+yndQgiv0arugzYRoqH5A3rH2ZCY21ohBWUUIMPLzr5WKRuAe2lZScV hjQ+1bo+NHoqzSLh3s6dzHVwcPjD1mdSVf1zat6LbgNcXzpray8Ygkryi8ENK9nbpHak S7xRQRdXw3DDUZrdFPrgmcs74BcHIe/+QzJdQaPEK34fS/TOaUQAlbm042cSIZQJOGFi I/H51Eq2B2VOzLdld6JTiYCD8kucDDZ8p05rk3E4MXoZLRrb4k7YdPwZjNyuqLg3axLN 08ySk1qfwFpX7eFdbyvWDKYdYvwI4HbvH1XjUAtVB/wpQeH1pp0SIsQqL/95jx0gNy+6 sobg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=qT0kKJLELiAinXtIV5PyDmu6ENQci/+tUNRHBC1S6zs=; b=C4tV6+ZXh+/z8JjhK2Owxy/Dt+GjhU3yUBTm86ifkYZnbTlKmozNqkJQ/m0Vb/xhFx w0dF6bWWuflPfCmPmz1IglybbTc87xON6zATMa6sWB8ZbO/vGeIiHX2NImm2GEtx/M23 o0oqL4yVYdw8lM6TRm/dJPnyCrfO6lFbfnOJHhv7uIYgjUrSWzPEKit0SsPKzyyrshF4 2x87g2Pi0wWXe3wkxxbkx6rtc1qO4WLxzocBljePJxCGyW6FsVa+v3Y0UP2H+UDuspcZ 8wFdPgxZK0sTbMmavuhz5l/VOxWVDg7M8kFVi0vJalHdUB4lYpAkW79E7sjk0F5HaN8z gOVA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t5-20020a170902e84500b001a4f005d59dsi2978973plg.389.2023.04.21.02.02.31; Fri, 21 Apr 2023 02:02:49 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbjDUI4j (ORCPT + 99 others); Fri, 21 Apr 2023 04:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231670AbjDUI4C (ORCPT ); Fri, 21 Apr 2023 04:56:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E17A6B751 for ; Fri, 21 Apr 2023 01:55:29 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7A7B21480; Fri, 21 Apr 2023 01:56:13 -0700 (PDT) Received: from [10.57.82.85] (unknown [10.57.82.85]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 326C13F5A1; Fri, 21 Apr 2023 01:55:28 -0700 (PDT) Message-ID: <113e5355-76d4-f6d2-f11b-c2e57475639a@arm.com> Date: Fri, 21 Apr 2023 09:55:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] perf cs-etm: Add support for coresight trace for any range of CPUs To: James Clark , Ganapatrao Kulkarni Cc: mathieu.poirier@linaro.org, acme@kernel.org, darren@os.amperecomputing.com, scott@os.amperecomputing.com, scclevenger@os.amperecomputing.com, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, mike.leach@linaro.org References: <20230419172101.78638-1-gankulkarni@os.amperecomputing.com> <84eb3363-2ef8-d3f1-4613-805959dbf334@os.amperecomputing.com> <91ba66e7-737f-6526-a703-a755e114f9d4@arm.com> <902dea0e-456b-d763-fdb5-a520ea3d7536@arm.com> <53132776-c998-a24f-a811-d8fb2e5e6535@arm.com> From: Suzuki K Poulose In-Reply-To: <53132776-c998-a24f-a811-d8fb2e5e6535@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 20/04/2023 16:44, James Clark wrote: > > > On 20/04/2023 14:03, Suzuki K Poulose wrote: >> On 20/04/2023 13:37, Ganapatrao Kulkarni wrote: >>> >>> >>> On 20-04-2023 06:00 pm, James Clark wrote: >>>> >>>> >>>> On 20/04/2023 12:47, Ganapatrao Kulkarni wrote: >>>>> >> >> ... >> >>>>> My patch is rebased on 6.3-RC7 codebase with Mike's 3 perf patches >>>>> related to dynamic id [1] support(queued for 6.4). >>>>> >>>>> "perf report -D" works for me. >>>> >>>> I was referring to sparse CPU lists, which I think you mentioned above >>>> doesn't work even with this patch. >>>> >>>>> >>>>> [1] https://www.spinics.net/lists/linux-perf-users/msg27452.html >>>>> >>>> >>>> It should be based on the next branch here: >>>> git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git >>> >>> OK. >> >> It need not be. Since this patch is purely perf tools patch and has >> nothing to do with the kernel drivers, it should be beased on whatever >> the tip of the perf tool tree is. Otherwise we risk rebasing to that >> eventually. >> >> Cheers >> Suzuki >> > > Good point, sorry for the confusion! > > I wonder if we could have some kind of new staging branch that has both > up to date perf and coresight changes at the same time? Either that > would make things like this easier, or more complicated. I'm not sure. I agree that it is complicated. :-( We could do something about this if a situation arises in the future, where the kernel and perf patches are out of sync w.r.t merging. As, such the dependency on Anshuman's series is for ACPI support which Ampere system needs. I would let this one pass, given the merge window is too close. Thanks Suzuki