Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp551775lqr; Wed, 5 Jun 2024 13:46:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXoVIlrZRi22YCEqwvOZvQ7aFrerocgNGmsoJpv+jU122PFddYA9hTzq+hbQv45eYHVdMqbbOCHGTVsRbsvO1BLFdW6DkNvuOzkJH0LzQ== X-Google-Smtp-Source: AGHT+IGi8j8GQOVKEMufiyE3Vd5cGUNPSG5JTtuvAuFZ+VVbvwTK3rhsUThIY6P962b5CT2hoLjl X-Received: by 2002:a05:6a20:6a24:b0:1b2:b688:8823 with SMTP id adf61e73a8af0-1b2b716edf1mr4260802637.54.1717620400978; Wed, 05 Jun 2024 13:46:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717620400; cv=pass; d=google.com; s=arc-20160816; b=e8nbUcJns1X0PnQ8LzdAtoUADzG2FUrsmDBRNAv20ujTVs/Aj5sIEbdb/nFM/yGqmi xMTUBGGNEwXlPSxLqj0p3ZL/vJg9iVp3hHxXwU75rvX+xjUse/lxwnx+5FPibesotP0W EIBndvj/SOVlFeTSSQVWHa224zrsIK5xkbywfOoog0OHStrCEQmM+yVDApYcX0FDH6LL iSkFkO6GbP5EOJLI06bCSU2hB1CYXqe40xhoXe4M4P1P8tJWy9CE4RwHQ1JRNfTNb0Kp pKQo/74XZHmm+2tLi/v5ne2LG6CemuDAM6ewVZh4C5/H2jfqgJfk/7DpBOsM9ilCo6v8 vLyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=eulRs4VbPiVxl/hRroC5KuSb8LXo+Bxr6zdzWDIWQEA=; fh=/G28VawoNrkV+E+j6P/1jGZwa+YhGd8rvlPRCysmOL0=; b=ihiwQgsebUEvL++cm3zc6yTYOYySIDX7/2+rUyzUE865vI3fMny4xp+fKGHHlEjMqw LNNaYJw0M8jbgPBYh0wlfNTLTfHWIGe+mEwijtQKOzB0/5KY/DT7HijZWC17KAXeiOqO UNWE8C9WXO0SuXNzQkp/gnd4RIMqTV2uyFKWav9vK9XQrycmF6mC0Z/5wee/Ki4eBK58 sBSRX5WF7bpCz4eV2g/sFDrwDt+Szk1cKqYwwhG6+4nb8snaNgF283mFabJxgtZoSZ5P BYGSMDUJywDcZbUryMsYDz0xRKSrdrgGhUIRiCcd1PkuC1ELPC3ElCiwxMa3i7i+MEIJ ke9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-203188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203188-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e0714csi123490a12.277.2024.06.05.13.46.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:46:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-203188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203188-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id DC3DCB24CA7 for ; Wed, 5 Jun 2024 20:36:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20A1915F31F; Wed, 5 Jun 2024 20:36:01 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B1B015EFBF; Wed, 5 Jun 2024 20:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619760; cv=none; b=THQXEquvGmcVewOYu+3pSg9xeFKS0pG1d0J03Xlflj/T5e9cQBTaUEG/50/3CPEWGeKKevoNGuGNAe7n/7BAJ8Lcp9cIY/4tPMZl4uMl+bO1TMKzpWGRFYTDXTtqgN2sqwh84g4po0v5CtTRm6dGrRcKgxNyi8X4Rgfn1+iW8JU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619760; c=relaxed/simple; bh=iO1QdpEIgNbHOwfHQbT27Mjp9EoD/V8WtCBu2eMx0Ck=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gC1sKbRmqmbytoR8E/d/31AKCo51CFfqncmJcGV14BCft3AqEuR1RA+ng3xTszwcgjdxs9ESnTIygJzrkyjeg2YOlcirYOKh6OzpM7KgOOW9DBw+pVbUIAtFZDq0VzhmyFMtoU0EiC1yISKPOZKKq2sMqQGTWUPWyTEmB98uBoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 88B0B339; Wed, 5 Jun 2024 13:36:15 -0700 (PDT) Received: from [10.2.76.71] (e132581.arm.com [10.2.76.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 536A23F64C; Wed, 5 Jun 2024 13:35:48 -0700 (PDT) Message-ID: Date: Wed, 5 Jun 2024 21:35:47 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/16] coresight: Use per-sink trace ID maps for Perf sessions To: James Clark , coresight@lists.linaro.org, suzuki.poulose@arm.com, gankulkarni@os.amperecomputing.com, mike.leach@linaro.org, leo.yan@linux.dev, anshuman.khandual@arm.com Cc: Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Jiri Olsa , Ian Rogers , Adrian Hunter , John Garry , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-perf-users@vger.kernel.org References: <20240604143030.519906-1-james.clark@arm.com> Content-Language: en-US From: Leo Yan In-Reply-To: <20240604143030.519906-1-james.clark@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/4/24 15:30, James Clark wrote: > This will allow sessions with more than CORESIGHT_TRACE_IDS_MAX ETMs > as long as there are fewer than that many ETMs connected to each sink. I tested this patch set on Hikey960 with below combinations: - Only applied the kernel patches; - Only applied the perf tool patches; - Applied both the kernel and perf tool patches. All of them can pass the test for `perf record` and `perf report` commands, I think this patch series is promised on Armv8 platform with small amount of CPUs. Tested-by: Leo Yan As you said that there might be a concern for running this patch set on a system with big amount of CPUs. Once you think it's ready for merging, please share at here. Thanks, Leo