Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2577175pxj; Mon, 10 May 2021 06:16:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyG3UczRZyhjHZwaEU+0s/sC8dl4dSSwAPi0i4BN8CLOo6MTSRXNkrmcykXz4rX3bPusGm X-Received: by 2002:aa7:ccc4:: with SMTP id y4mr28946563edt.171.1620652594464; Mon, 10 May 2021 06:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620652594; cv=none; d=google.com; s=arc-20160816; b=Xn7nMs0o3uf4ab2ngvnr4LeeiK6ROSwNzjYoXOREFbl5YeIGfDKN8TpYCWL6Xhjunu tu8VEkeLxJpAK2Z+wtOQEBRz26V+boQ5Kg8O2IAkfBrWAOcNgjmmA4+05RjhELXsF7+W DMDmWgc+eg1c3E6Rw5llO7fvtLkwGjS0FgFIVdHcb/Q6abqpMTF6+7+PuR0+pQFp4VbT tWeXdVvlJnVcfcQrmPQmy6kEkdGs2z/eSQJ39ARF28AOOqXpeXWrKzFHyzGVIEaUyQvL I/G+CglXp/uJO+g09p7oipuNpL4X/wOJ61/vqMRHdkSciME0zep2xj9i70IGPRCL7iKr ydOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=6CiZBOCEyEo3ytJsqRryRhoyWD3JkMD8EcGToyEcDlg=; b=ajR5rO520iyetXWU+ZkNl9RO/CjthCiRFhC6uo9vlaf8RQDiXGVvKwBqHrC2+ATmIZ iVTFdyuSjzfzi4l57dcYFCzjjvCBMZeRG9z9+oQOTYyp8ScDQKmbYQOcnJFtdH5LXuH5 hOY/3+iW6J+bS9AkgSpKtwHcyoqbVym+2Ba2u0qscrTqdwE/JgeriMVHnx8DYnv4LtQa KT87yxB6Yacw9P+Pw9S3Rd7xjEoKidsPeFageGXeGRRTtGA7o2JUPG1SV1JNquIv9XbO aVZI+91rvsuET/f8WLSyHXhkqQcqJW9iHFfBwbENce7MleV+9nelh0Q5DbNdrp0jwOog K5zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn15si13074521ejb.104.2021.05.10.06.16.11; Mon, 10 May 2021 06:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234246AbhEJNO5 (ORCPT + 99 others); Mon, 10 May 2021 09:14:57 -0400 Received: from foss.arm.com ([217.140.110.172]:58090 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351653AbhEJNMX (ORCPT ); Mon, 10 May 2021 09:12:23 -0400 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 364EC1688; Mon, 10 May 2021 06:11:18 -0700 (PDT) Received: from [10.57.47.14] (unknown [10.57.47.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5AE143F73B; Mon, 10 May 2021 06:11:16 -0700 (PDT) Subject: Re: [PATCH v1 0/3] coresight: Support for building more coresight paths To: Tao Zhang , Mathieu Poirier , Alexander Shishkin Cc: Mike Leach , Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tingwei Zhang , Mao Jinlong , Yuanfang Zhang References: <1620644727-29279-1-git-send-email-taozha@codeaurora.org> From: Suzuki K Poulose Message-ID: <070d1c13-2b3e-2dfb-f51b-9d40f1b45a03@arm.com> Date: Mon, 10 May 2021 14:10:52 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <1620644727-29279-1-git-send-email-taozha@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tao On 10/05/2021 12:05, Tao Zhang wrote: > We are trying to achieve more types of Coresight source devices. > For example, we have a type of coresight source devic named TPDM. > In the process of using, sometimes mulitiple TPDMs need to be > connected to the different input ports on the same funnel. > Meanwhile, these TPDMs also need to output from different > ports on the funnel. > But, at present the Coresight driver assumes > a) Only support Coresight source type ETM, ETR and ETF Did you mean ETM and STM here ? ETR & ETF are not source types, rather they are SINK. > b) Funnels only support mulitiple inputs and one output > Which doesn't help to add the above feature for our new Coresight > source device TPDM. So, in order to accommodate the new device, > we develop the following patches. Where is the TPDM driver ? Could you give us a rough idea of the behavior in terms of the input / output ? > a) Add support more types of Coresight source devices. Which ones ? where is the code ? > b) Add support for multiple output ports on funnel and the output > ports could be selected by Corsight source. Does the "TPDM" require programming to switch these output or are these "static" ? Is this something that can be avoided by having a "fake" static-replicator in the path ? e.g, TPDM ________________________________________________ In0 | | -> Out0 In1 | Static-Funnel -> Static-Replicator | -> Out1 In2 | | -> Out2 ________________________________________________ Is this something that can be solved ? Again, please give a brief description of the TPDM device and the driver code in the series to give us a complete picture of what you are trying to do. Reviewing some changes without having the full picture is not going to be helpful. Suzuki