Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp431080rwb; Wed, 9 Nov 2022 04:34:50 -0800 (PST) X-Google-Smtp-Source: AMsMyM7lUV2kqAeP4gtfRDuyviu8PzC+qSUQ9xZdhnO07XY+V4bShoolo7OG3+2jT13aLTY3Z6Bc X-Received: by 2002:aa7:cad5:0:b0:454:88dc:2c22 with SMTP id l21-20020aa7cad5000000b0045488dc2c22mr60089241edt.352.1667997290022; Wed, 09 Nov 2022 04:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667997290; cv=none; d=google.com; s=arc-20160816; b=CfguMXF2AWenR2k4iL7F40/Dn1blaB9OoQU/JQqOxC9Zusy44LUTjgn2gCQ8HdmAj4 TeoafTnww/cAVDM9dsO0SKExcErxD6MISMROmUWrSKzuqCpPM08cFSPGu3Qkz2UgRoPL zrIgQdgxoQnbbqTl8BNVESkbFMsg9Z67uAxCzzCn0bFm47oogyBIcDLiagUNO0/ChTL0 f/6Bp8SXCCdprQyiG/60hKd4lkJyJSjkmM9rNtJ7DBUlygYbc2zU/FngZyYEGWSa3Vh8 5lv8gcwNFVDsKMn8nMP/B06inPNc8l9wngChHhZ+rymRwob2o4RJHWbR/E7hm+kIk+Ca XzxQ== 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:content-language:subject:user-agent:mime-version :date:message-id; bh=by9nFrcdmdUUvnyrqv49svfBCRnxIkrq0+e4feTK9iY=; b=0eSA8D4SC22cws5pkiCK53Nq/x00V5BjD8FJsht5mtzRyP2FjO68JZviIEgLhGwVhV Gn8Z7/Rt7LOxB7p+oSq+AVhMIi8jaeid8U/rppmJTFoB2jeeyw4rufprPswNeUvrgArp OAzmvO8Oj3LZCgBjxyQoHKS3ynDRDODbPIq4A6pu07dI2YMPKFqY46S+ULWCjlo+IcXF CjFjXFbh+0gR/B0PBls8R6dEOAx4kok+C1HCDU5L64EuPVIblgpfxFEa7favZvd1RsG5 JeRFQJ7IeEM4fN1SgUE5twdLSPF3v06vraY5ZJC+d94h8NbemdU8h8q4gbw5Ie/6ZiLb RoZQ== 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 bo21-20020a0564020b3500b0045d0660a039si14326472edb.316.2022.11.09.04.34.19; Wed, 09 Nov 2022 04:34:50 -0800 (PST) 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 S229740AbiKIMAm (ORCPT + 93 others); Wed, 9 Nov 2022 07:00:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiKIMAl (ORCPT ); Wed, 9 Nov 2022 07:00:41 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3D7732AC67; Wed, 9 Nov 2022 04:00:40 -0800 (PST) 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 2D0581FB; Wed, 9 Nov 2022 04:00:46 -0800 (PST) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2422B3F534; Wed, 9 Nov 2022 04:00:38 -0800 (PST) Message-ID: <94ee3daf-f6f8-129d-0160-c7584393a3c7@arm.com> Date: Wed, 9 Nov 2022 12:00:36 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v5 12/14] perf: cs-etm: Handle PERF_RECORD_AUX_OUTPUT_HW_ID packet Content-Language: en-US To: Mike Leach , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mathieu.poirier@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com References: <20221101163103.17921-1-mike.leach@linaro.org> <20221101163103.17921-13-mike.leach@linaro.org> From: Suzuki Kuruppassery Poulose In-Reply-To: <20221101163103.17921-13-mike.leach@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 01/11/2022 16:31, Mike Leach wrote: > When using dynamically assigned CoreSight trace IDs the drivers can output > the ID / CPU association as a PERF_RECORD_AUX_OUTPUT_HW_ID packet. > > Update cs-etm decoder to handle this packet by setting the CPU/Trace ID > mapping. > > Signed-off-by: Mike Leach > Reviewed-by: James Clark Acked-by: Suzuki K Poulose