Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1344545lqe; Mon, 8 Apr 2024 06:32:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUM73gndWkW4c2xnAGJVUeKmkIR119++fC6vA3645GNW76ebjxcrA3SXIfQR9yZ9y5GlFm+EZfQTm4ANYXPkc4nrF5W0GgfM1Q//TjhTA== X-Google-Smtp-Source: AGHT+IE2OqTq0cq+VjyE7ANTFhed089ueGuKtdzCopw6TXnQ0wfBmm7LuVcL2Q2Vvv90EgAOS487 X-Received: by 2002:a05:6a00:3c8c:b0:6eb:6:6b72 with SMTP id lm12-20020a056a003c8c00b006eb00066b72mr9076354pfb.25.1712583144758; Mon, 08 Apr 2024 06:32:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712583144; cv=pass; d=google.com; s=arc-20160816; b=gFBGz1XpkYMkFOATJuqpG2F5jQ+sEO441LYwqDo9il6WzbDrJJ2X75lZKvhsUvF/yp zU/X+Qhi4Obpi6hI6zyGAzxxm5jUdyYlb2m1McXX0eHFgd3Ba9w5yOXvtsJvoZ+jBIFx F8YZL3kB2vv0eK3xhVFtrXjNw9Mb8y78ahlbgxyCkccciqokVUefYWzF590Gi5jE+2dc yNtxQztH02fAdHe2u2cAmUfLT4Iuv0J0RsmQc4yaov7KDK8zwVWUFCFY745AxxdkWB4j 59/zsatYAntGcGWhTG4o/v1wpsBqM2Ac9GuVp1FuUHmyDIoIYMqHMf+7Mwmm3scvT171 ihuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=arKMjWP9roAHegrN3zs4cRJ6a4jU7sjNs1NHFOpDfSk=; fh=01sfu+jWDRRY4FKEC5jlZTdVrsc1zdJ0gAoomt8azkM=; b=Ky7Z170XIOORGb0EXlQz0MTiA27f81GjvB7aDej94sH0L7CoZtSjANQiMatcwyYniP rGxIBqgHNT0u0mC5oeWLHH6D5HWDDmn5JxJzYP/0v6jg9SZ2rES3UhPon9Vr0o5tQfiM 5ikXPPJMgMCnr58+Fmvs+8Vpy3J3dY4/eWfbhiDtyd/a4d4MM8MeVn8qc0bbAYC+b3/B J6TNZoEfeSb4YMJ4F1xJBnctbaRMWniSd2VQzqWGJVw2cYh+G7HtIik2zcv9d3+3V6+N Xn7CANLxvAcx7xLFbRhPbRak/u6sn3vwV69CeceDoGrEbCbWmZjnEj0IRrkWCE46yIB7 hVgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cxHfJGpf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135438-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135438-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x18-20020aa784d2000000b006eaccc36ce2si6229288pfn.156.2024.04.08.06.32.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 06:32:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135438-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cxHfJGpf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135438-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135438-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 68FB6282C8C for ; Mon, 8 Apr 2024 13:32:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 455A280BF0; Mon, 8 Apr 2024 13:29:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cxHfJGpf" Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2DD579F0 for ; Mon, 8 Apr 2024 13:28:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712582938; cv=none; b=udGfsKWFKwJflja6oAzXpqpBB+Lsww73SR1XuLrxHI3RRiWfWvtJCQeLPGwU74Ueo0A4AaqsKQfARYBeV0oOWYnu0FSZksWL1caIX7bnq3E0pCQeAsPC52/1zCldy3LCk0qlQqsWqJ/SnFAq2RgZXy6sBld6PWRJY/jrWjJ8b8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712582938; c=relaxed/simple; bh=c3bcYPH8cKOfU8LeqAkSpeapOprkIO8IdRdgOkvDSJ4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=l+I3WhH1bjBgPdAOOnclgYJK4flCP4TBivc+ViwHH52oftbKEB+cnguGix3t8LYswYWJPrvtg+MTAmZRoOuMpCezwSO4qaDseloEYXuSx8VnZtxChQBCL9ZKh4AcOw06/qi/Vf+pLek+A5AR6AvozRzzdAYDkAYS85ziXNo5IVU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cxHfJGpf; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5dbf7b74402so2648427a12.0 for ; Mon, 08 Apr 2024 06:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712582936; x=1713187736; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=arKMjWP9roAHegrN3zs4cRJ6a4jU7sjNs1NHFOpDfSk=; b=cxHfJGpfpDpHuVdDBQjmH7S2h092/BmeOE5r1lb2Hi/qAf4cbzorgbYWjn/+UMHZLk W1Ci15AncDrIKQQFIz2tMCe8giNqTkU/wlqgNUsT7cuK2buQnc5iVvOi9EcF3bdqQLTi iwjrtnKUPOtFI+PoKvipw1bBAIhej5Byt1O5dv3ki57KRdIIUKYvBHgs91/0wmtVTTQW ADi3GduKtO6fUA1U9xvNeJlRGb9jIrTTPMKsSpJ3ZbOzLec8vYXRXNCRtHEm8EqmQJLJ WPot8WmgfBfNcK4elphGFI2aK8j9BZUmjzQkLS5s007gh/kVGA2khkYxyj6TmDTiWPZL 7zGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712582936; x=1713187736; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=arKMjWP9roAHegrN3zs4cRJ6a4jU7sjNs1NHFOpDfSk=; b=jT227jkngsbVrzUJ0f/UWlJh9RVbQ6ZIl4j+C685orx9c3UqJTdIcMYVYfBSzyqDQf SZ1w7MdFIptlg/VeNdI1WTQyC/tXq4H9b8LCNE/eHiQrvrOTyZJD16FmFlEUa6s/dTOL ZFcg5gHDj7Vw/s6sYxae597nBasWGn/CuYgMV5iNvew52E/5WezpySOp6mlJEfg4sQoD lZYU4rekSVbFNn0GxXJ7pFO3l3zgyNaFJcSTKzDWBFMTGszWRJ50PEaMXc2g11hFRCrt WMj7tU9Y6wUrPZzpixSnWj5oPynQdzTHyQ8iINpuZbAUay5c+Khy3z9o7Gpdq8VbPvXQ rziw== X-Forwarded-Encrypted: i=1; AJvYcCW7RijEfzCFjpF4O0wv4lVCgKza7JJhh1SnlH1Fxq0PkMGDF4X6qbtcIysjH4SbxEyiqvInd6EqLoeF46H9DTsUVbxBxY+4TpwIfQV8 X-Gm-Message-State: AOJu0Yzp7NCLYWDU0cH8igXi8etTxOF/xT4eN4uS/lYAcpVg0dNDef5G 0du/wuZG6gY0bFbqsPejhCOOWrBieCEAMEISPZiM/1k11IaL4JqWEByA0DMQHWuBJWC2r7ngNNo RVtOmRigDvYUL8WD6til9qHK6LZ9Hug69/R2YsA== X-Received: by 2002:a17:90b:4004:b0:2a2:9f46:439 with SMTP id ie4-20020a17090b400400b002a29f460439mr6962873pjb.9.1712582936227; Mon, 08 Apr 2024 06:28:56 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com> <1711009927-17873-3-git-send-email-quic_taozha@quicinc.com> <8d381e6e-9328-46ff-83fe-efbe5bb4363e@arm.com> In-Reply-To: From: Mike Leach Date: Mon, 8 Apr 2024 14:28:45 +0100 Message-ID: Subject: Re: [PATCH 2/4] coresight: Add support for multiple output ports on the funnel To: Tao Zhang Cc: Suzuki K Poulose , Mathieu Poirier , Alexander Shishkin , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Jinlong Mao , Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , linux-arm-msm@vger.kernel.org, andersson@kernel.org Content-Type: text/plain; charset="UTF-8" Hi Tao, Using a DT label in this way is not how connections should be described in device tree, The association needs to be between the input and output ports of the component not and extra link back to the source. If your "funnel" has multiple input and output ports, then it is no longer a funnel. As you describe it - the input ports are statically associated with an output port, so the device is effectively a set of individual funnels. Given that the association between the inputs and outputs is known at time of compilation - then these can be inferred from the components compatible string and handled internally during driver probe. This component should therefore really have its own driver, and not be described as a standard funnel. In this way you can handle the input and output associations within the driver and create a path in the normal way, avoiding the need for large changes to the coresight API. Having a specific driver will allow creation of sets of associated input and output connections. Regards Mike On Fri, 29 Mar 2024 at 09:27, Tao Zhang wrote: > > > On 3/22/2024 12:41 AM, Suzuki K Poulose wrote: > > On 21/03/2024 08:32, Tao Zhang wrote: > >> Funnel devices are now capable of supporting multiple-inputs and > >> multiple-outputs configuration with in built hardware filtering > >> for TPDM devices. Add software support to this function. Output > >> port is selected according to the source in the trace path. > >> > >> The source of the input port on funnels will be marked in the > >> device tree. > >> e.g. > >> tpdm@xxxxxxx { > >> ... ... ... ... > >> }; > >> > >> funnel_XXX: funnel@xxxxxxx { > >> ... ... ... ... > >> out-ports { > >> ... ... ... ... > >> port@x { > >> ... ... ... ... > >> label = "xxxxxxx.tpdm"; <-- To label the source > >> }; corresponding to the output > >> ... ... ... ... connection "port@x". And this > >> }; is a hardware static connections. > >> ... ... ... ... Here needs to refer to hardware > >> }; design. > >> > >> Then driver will parse the source label marked in the device tree, and > >> save it to the coresight path. When the function needs to know the > >> source label, it could obtain it from coresight path parameter. Finally, > >> the output port knows which source it corresponds to, and it also knows > >> which input port it corresponds to. > > > > Why do we need labels ? We have connection information for all devices > > (both in and out), so, why do we need this label to find a device ? > > Because our funnel's design has multi-output ports, the data stream will not > > know which output port should pass in building the data trace path. This > source > > label can make the data stream find the right output port to go. > > > > > And also, I thought TPDM is a source device, why does a funnel output > > port link to a source ? > > No, this label doesn't mean this funnel output port link to a source, it > just let > > the output port know its data source. > > > > > Are these funnels programmable ? Or, are they static ? If they are > > static, do these need to be described in the DT ? If they are simply > > acting as a "LINK" (or HWFIFO ?) > > These funnels are static, and we will add the "label" to the DT to > describe the > > multi-output ports for these funnels. > > "If they are simply acting as a "LINK" (or HWFIFO ?) " I'm not sure > what's the meaning > > of this. Could you describe it in detail? > > > Best, > > Tao > > > > > Suzuki > > > >> > >> Signed-off-by: Tao Zhang > >> --- > >> drivers/hwtracing/coresight/coresight-core.c | 81 ++++++++++++++++--- > >> .../hwtracing/coresight/coresight-platform.c | 5 ++ > >> include/linux/coresight.h | 2 + > >> 3 files changed, 75 insertions(+), 13 deletions(-) > >> > >> diff --git a/drivers/hwtracing/coresight/coresight-core.c > >> b/drivers/hwtracing/coresight/coresight-core.c > >> index 5dde597403b3..b1b5e6d9ec7a 100644 > >> --- a/drivers/hwtracing/coresight/coresight-core.c > >> +++ b/drivers/hwtracing/coresight/coresight-core.c > >> @@ -113,15 +113,63 @@ struct coresight_device > >> *coresight_get_percpu_sink(int cpu) > >> } > >> EXPORT_SYMBOL_GPL(coresight_get_percpu_sink); > >> +static struct coresight_device *coresight_get_source(struct > >> list_head *path) > >> +{ > >> + struct coresight_device *csdev; > >> + > >> + if (!path) > >> + return NULL; > >> + > >> + csdev = list_first_entry(path, struct coresight_node, link)->csdev; > >> + if (csdev->type != CORESIGHT_DEV_TYPE_SOURCE) > >> + return NULL; > >> + > >> + return csdev; > >> +} > >> + > >> +/** > >> + * coresight_source_filter - checks whether the connection matches > >> the source > >> + * of path if connection is binded to specific source. > >> + * @path: The list of devices > >> + * @conn: The connection of one outport > >> + * > >> + * Return zero if the connection doesn't have a source binded or > >> source of the > >> + * path matches the source binds to connection. > >> + */ > >> +static int coresight_source_filter(struct list_head *path, > >> + struct coresight_connection *conn) > >> +{ > >> + int ret = 0; > >> + struct coresight_device *source = NULL; > >> + > >> + if (conn->source_label == NULL) > >> + return ret; > >> + > >> + source = coresight_get_source(path); > >> + if (source == NULL) > >> + return ret; > >> + > >> + if (strstr(kobject_get_path(&source->dev.kobj, GFP_KERNEL), > >> + conn->source_label)) > >> + ret = 0; > >> + else > >> + ret = -1; > >> + > >> + return ret; > >> +} > >> + > >> static struct coresight_connection * > >> coresight_find_out_connection(struct coresight_device *src_dev, > >> - struct coresight_device *dest_dev) > >> + struct coresight_device *dest_dev, > >> + struct list_head *path) > >> { > >> int i; > >> struct coresight_connection *conn; > >> for (i = 0; i < src_dev->pdata->nr_outconns; i++) { > >> conn = src_dev->pdata->out_conns[i]; > >> + if (coresight_source_filter(path, conn)) > >> + continue; > >> if (conn->dest_dev == dest_dev) > >> return conn; > >> } > >> @@ -312,7 +360,8 @@ static void coresight_disable_sink(struct > >> coresight_device *csdev) > >> static int coresight_enable_link(struct coresight_device *csdev, > >> struct coresight_device *parent, > >> - struct coresight_device *child) > >> + struct coresight_device *child, > >> + struct list_head *path) > >> { > >> int ret = 0; > >> int link_subtype; > >> @@ -321,8 +370,8 @@ static int coresight_enable_link(struct > >> coresight_device *csdev, > >> if (!parent || !child) > >> return -EINVAL; > >> - inconn = coresight_find_out_connection(parent, csdev); > >> - outconn = coresight_find_out_connection(csdev, child); > >> + inconn = coresight_find_out_connection(parent, csdev, path); > >> + outconn = coresight_find_out_connection(csdev, child, path); > >> link_subtype = csdev->subtype.link_subtype; > >> if (link_subtype == CORESIGHT_DEV_SUBTYPE_LINK_MERG && > >> IS_ERR(inconn)) > >> @@ -341,7 +390,8 @@ static int coresight_enable_link(struct > >> coresight_device *csdev, > >> static void coresight_disable_link(struct coresight_device *csdev, > >> struct coresight_device *parent, > >> - struct coresight_device *child) > >> + struct coresight_device *child, > >> + struct list_head *path) > >> { > >> int i; > >> int link_subtype; > >> @@ -350,8 +400,8 @@ static void coresight_disable_link(struct > >> coresight_device *csdev, > >> if (!parent || !child) > >> return; > >> - inconn = coresight_find_out_connection(parent, csdev); > >> - outconn = coresight_find_out_connection(csdev, child); > >> + inconn = coresight_find_out_connection(parent, csdev, path); > >> + outconn = coresight_find_out_connection(csdev, child, path); > >> link_subtype = csdev->subtype.link_subtype; > >> if (link_ops(csdev)->disable) { > >> @@ -507,7 +557,7 @@ static void coresight_disable_path_from(struct > >> list_head *path, > >> case CORESIGHT_DEV_TYPE_LINK: > >> parent = list_prev_entry(nd, link)->csdev; > >> child = list_next_entry(nd, link)->csdev; > >> - coresight_disable_link(csdev, parent, child); > >> + coresight_disable_link(csdev, parent, child, path); > >> break; > >> default: > >> break; > >> @@ -588,7 +638,7 @@ int coresight_enable_path(struct list_head *path, > >> enum cs_mode mode, > >> case CORESIGHT_DEV_TYPE_LINK: > >> parent = list_prev_entry(nd, link)->csdev; > >> child = list_next_entry(nd, link)->csdev; > >> - ret = coresight_enable_link(csdev, parent, child); > >> + ret = coresight_enable_link(csdev, parent, child, path); > >> if (ret) > >> goto err; > >> break; > >> @@ -802,7 +852,8 @@ static void coresight_drop_device(struct > >> coresight_device *csdev) > >> */ > >> static int _coresight_build_path(struct coresight_device *csdev, > >> struct coresight_device *sink, > >> - struct list_head *path) > >> + struct list_head *path, > >> + struct coresight_device *source) > >> { > >> int i, ret; > >> bool found = false; > >> @@ -814,7 +865,7 @@ static int _coresight_build_path(struct > >> coresight_device *csdev, > >> if (coresight_is_percpu_source(csdev) && > >> coresight_is_percpu_sink(sink) && > >> sink == per_cpu(csdev_sink, > >> source_ops(csdev)->cpu_id(csdev))) { > >> - if (_coresight_build_path(sink, sink, path) == 0) { > >> + if (_coresight_build_path(sink, sink, path, source) == 0) { > >> found = true; > >> goto out; > >> } > >> @@ -825,8 +876,12 @@ static int _coresight_build_path(struct > >> coresight_device *csdev, > >> struct coresight_device *child_dev; > >> child_dev = csdev->pdata->out_conns[i]->dest_dev; > >> + if (csdev->pdata->out_conns[i]->source_label && > >> + !strstr(kobject_get_path(&source->dev.kobj, GFP_KERNEL), > >> + csdev->pdata->out_conns[i]->source_label)) > >> + continue; > >> if (child_dev && > >> - _coresight_build_path(child_dev, sink, path) == 0) { > >> + _coresight_build_path(child_dev, sink, path, source) == > >> 0) { > >> found = true; > >> break; > >> } > >> @@ -871,7 +926,7 @@ struct list_head *coresight_build_path(struct > >> coresight_device *source, > >> INIT_LIST_HEAD(path); > >> - rc = _coresight_build_path(source, sink, path); > >> + rc = _coresight_build_path(source, sink, path, source); > >> if (rc) { > >> kfree(path); > >> return ERR_PTR(rc); > >> diff --git a/drivers/hwtracing/coresight/coresight-platform.c > >> b/drivers/hwtracing/coresight/coresight-platform.c > >> index 9d550f5697fa..f553fb20966d 100644 > >> --- a/drivers/hwtracing/coresight/coresight-platform.c > >> +++ b/drivers/hwtracing/coresight/coresight-platform.c > >> @@ -205,6 +205,7 @@ static int of_coresight_parse_endpoint(struct > >> device *dev, > >> struct fwnode_handle *rdev_fwnode; > >> struct coresight_connection conn = {}; > >> struct coresight_connection *new_conn; > >> + const char *label; > >> do { > >> /* Parse the local port details */ > >> @@ -243,6 +244,10 @@ static int of_coresight_parse_endpoint(struct > >> device *dev, > >> conn.dest_fwnode = fwnode_handle_get(rdev_fwnode); > >> conn.dest_port = rendpoint.port; > >> + conn.source_label = NULL; > >> + if (!of_property_read_string(ep, "label", &label)) > >> + conn.source_label = label; > >> + > >> new_conn = coresight_add_out_conn(dev, pdata, &conn); > >> if (IS_ERR_VALUE(new_conn)) { > >> fwnode_handle_put(conn.dest_fwnode); > >> diff --git a/include/linux/coresight.h b/include/linux/coresight.h > >> index e8b6e388218c..a9c06ef9bbb2 100644 > >> --- a/include/linux/coresight.h > >> +++ b/include/linux/coresight.h > >> @@ -167,6 +167,7 @@ struct coresight_desc { > >> * struct coresight_connection - representation of a single connection > >> * @src_port: a connection's output port number. > >> * @dest_port: destination's input port number @src_port is > >> connected to. > >> + * @source_label: source component's label. > >> * @dest_fwnode: destination component's fwnode handle. > >> * @dest_dev: a @coresight_device representation of the component > >> connected to @src_port. NULL until the device is created > >> @@ -195,6 +196,7 @@ struct coresight_desc { > >> struct coresight_connection { > >> int src_port; > >> int dest_port; > >> + const char *source_label; > >> struct fwnode_handle *dest_fwnode; > >> struct coresight_device *dest_dev; > >> struct coresight_sysfs_link *link; > > -- Mike Leach Principal Engineer, ARM Ltd. Manchester Design Centre. UK