Message ID | cover.1697824215.git.robin.murphy@arm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp1227794vqb; Fri, 20 Oct 2023 10:51:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGe4Lb/an+2Yqns+bKBiWzLq1wX4PqFvdTfWFZ1sHWN5J9X9+k798uo9m6vhYzJVGUC6dBy X-Received: by 2002:a05:6358:430b:b0:166:fa82:c25f with SMTP id r11-20020a056358430b00b00166fa82c25fmr2209030rwc.31.1697824315232; Fri, 20 Oct 2023 10:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697824315; cv=none; d=google.com; s=arc-20160816; b=EVT0xO7QD+hAEpfPg7NKIMenUo+SB2+eUHM3oJlrc8YRKlSqNkg/kdUmfL0kgSwT9z LMybBzQYDxEhuLGCLB60HJu4XrJxYo1IuIRn+pPaMfHN7jgaGHXUdSfOXnDuX/XtVKZU J8aWmYz6jJE679ElG6btLRyQDf/aDpV2GIc9ucFDAavBMTPAS+lShV184vzjEYEn/kJX nTKid/xGT9HYuyazrQNvTnQiyiYGKsZxhQfiLc/0Zl4Ct0RR5lVcm1tWm2OgbhXlm3hG oV2KAOrTd3uwl4G/cfIAQHdhPV734hRLo3UK7zLOWydGiIRTX6PQXq/Uar2MNsQwERaI EG2Q== 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 :message-id:date:subject:cc:to:from; bh=GaI+RsgnI72Giy0VLJ+CADx4LvgvbLxUQ2rxun7mUls=; fh=5eTsl8DZJtk22FZMserOlh83jaey1v40CuRMPgl25m8=; b=Flnpg3SMN4w7jNs2L89N9fSFwflu3M5N4od3An+zOFMtPndGfUoDGtvI0PqlnNXecj KbSB6O9Y8+NOlr2Z/S2dutyfjYbUOuGqFigf0K704gbmxR8ziCqsI4K9ZStIMKO1GPEf ZQ2d9rsu3Efruq5g4rD9IZJ9W2TkgxRAdYBlvO7Yb5w0bo6v2y5eBvfq/DzAbRIJJYPm X9GDFjZuM0hI+ba7Z51ZdnFsJKcRraTBpWQrMsfM043PISDH3+rE4DvgQtW+SPQMGRAQ QiKjedp8Q231l7YzGJDh6iPEvluOKdANYEOrWyQYmK1htWf2NHxYfKTJ6iOHWuayT1HS ppNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k2-20020a633d02000000b00565f0e9cfbbsi2451876pga.382.2023.10.20.10.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 10:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 10171805C3E2; Fri, 20 Oct 2023 10:51:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377713AbjJTRvf (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Fri, 20 Oct 2023 13:51:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbjJTRve (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Oct 2023 13:51:34 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BD741A3 for <linux-kernel@vger.kernel.org>; Fri, 20 Oct 2023 10:51:32 -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 71747143D; Fri, 20 Oct 2023 10:52:13 -0700 (PDT) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8360E3F762; Fri, 20 Oct 2023 10:51:31 -0700 (PDT) From: Robin Murphy <robin.murphy@arm.com> To: will@kernel.org Cc: mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jeremy.linton@arm.com, ilkka@os.amperecomputing.com, renyu.zj@linux.alibaba.com Subject: [PATCH 0/3] perf/arm-cmn: Multi-DTC improvements Date: Fri, 20 Oct 2023 18:51:24 +0100 Message-Id: <cover.1697824215.git.robin.murphy@arm.com> X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 20 Oct 2023 10:51:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780297829299638153 X-GMAIL-MSGID: 1780297829299638153 |
Series |
perf/arm-cmn: Multi-DTC improvements
|
|
Message
Robin Murphy
Oct. 20, 2023, 5:51 p.m. UTC
On larger CMN configurations with multiple Debug & Trace Controllers, we've so far ignored the notion of DTC domains, mostly since they were not software-discoverable in the original CMN-600 design. However this means that if the user wants to monitor lots of individual nodes across the whole mesh, we end up multiplexing events which could otherwise happily run in parallel if we allocated DTC counters per-domain. This mini-series finally bites the bullet to do that. As usual I've only been able to personally test that it doesn't regress any behaviour on a single-DTC CMN-600, so it would be nice if anyone with a multi-domain CMN-650/CMN-700 setup could confirm that patches 1+2 alone do not visibly change any behaviour, and then patch #3 on top works as expected. Thanks, Robin. Robin Murphy (3): perf/arm-cmn: Fix DTC domain detection perf/arm-cmn: Rework DTC counters (again) perf/arm-cmn: Enable per-DTC counter allocation drivers/perf/arm-cmn.c | 154 +++++++++++++++++++++++------------------ 1 file changed, 85 insertions(+), 69 deletions(-)
Comments
On Fri, 20 Oct 2023 18:51:24 +0100, Robin Murphy wrote: > On larger CMN configurations with multiple Debug & Trace Controllers, > we've so far ignored the notion of DTC domains, mostly since they were > not software-discoverable in the original CMN-600 design. However this > means that if the user wants to monitor lots of individual nodes across > the whole mesh, we end up multiplexing events which could otherwise > happily run in parallel if we allocated DTC counters per-domain. This > mini-series finally bites the bullet to do that. > > [...] Applied to will (for-next/perf), thanks! [1/3] perf/arm-cmn: Fix DTC domain detection https://git.kernel.org/will/c/e3e73f511c49 [2/3] perf/arm-cmn: Rework DTC counters (again) https://git.kernel.org/will/c/7633ec2c262f [3/3] perf/arm-cmn: Enable per-DTC counter allocation https://git.kernel.org/will/c/ab33c66fd8f1 Cheers,