From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65BCEC04AB6 for ; Mon, 3 Jun 2019 08:46:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3590526927 for ; Mon, 3 Jun 2019 08:46:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FHBDy2mO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wVugm5wo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3590526927 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/6Yms9OJAfzYuq5a/wGyE9JA1DMFOiwwUWmcElbBarI=; b=FHBDy2mOWaPLnL BHXfOarPV6//Ul3jnfkIuHl6V+WkH3xxZdvSa95TIg6GM61lWDdfi5nJeA7cfJ4/Uh8V0/AnRyX0/ +AWC3Zq1pNZtqFjRvMj4p5un9lbjQPuho6aAeTKQPNojhPFUV9rP0UIEobceZ/uWB3NAt6rdD0L6P 8EbTWEPZq2KITqW1VLmF6kkZ8tHc0wt77u/aZ6ll7lsYrr6PqdagkadQVZDBDHNbqMmp1lNfppELZ WXj1oHnWr4Jcr5MBRo/kOz5ObMliPEiDjXuBb2n5J43bQnmavXNHRSCzY86t5htytXnR0T16TP8sa 3GyJleG5oxufTmHDtTcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hXibS-000402-FY; Mon, 03 Jun 2019 08:46:02 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hXibP-0003zW-Dv for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2019 08:46:00 +0000 Received: by mail-qk1-x743.google.com with SMTP id r6so893481qkc.0 for ; Mon, 03 Jun 2019 01:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ER75v23MLmKVoWMJHAd5KVg0lEP0L1Kcux03NwClDaI=; b=wVugm5woDXg7v/2EJl5GugNm++kardCetb8g+xW0gtUP9Yp9QxrG8G7yqJhhnyOgfn 1I9Crhz9081YopKkhK9XzJ4Zz187/1+PfCyV7PaQI5LeT9aOGBktSHVLuctUZ7nbtKnt 9HUySCZWAmwtyfRC1q5CNKS2sJPubKH1Gas5rON4oh4DPI23NKbDqfBRXO942j3hxHur f7Cle8UnY63d6HQKSLgWNqQt0yoaRMcKzUfdBcdxlbrykj1loRKOsXZwBxsFfToIb12d wID6avMUer6ef291iPwgCXPzX1XKmPK5Yc9RWuNZG+rABPfW9fD0HyY3JTgbkLf9i7xQ P74Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ER75v23MLmKVoWMJHAd5KVg0lEP0L1Kcux03NwClDaI=; b=GmJ9lfCIyfALKiHJ0iLSPVD/IUBXKDSZ/XO6X0tfWBfzFSNUN9TfVw0uP3GPOowics 5hkTGCvw4Qm0N7jvPm75oFEJA5JiQjkbgBpgxPUi7ABN1mqaT4201a9yw40nhA7OeAXT dFQnQPN2uhN9QXqHq+tqbklzcn5J/giox4U6IIKrCe29/9PLutUZCgrUR0jV7r/lWWxd 7hAHeiA8SnlQczJy7bPKSkwCOve1w3MoRYIrIo4PNBaEr+CEmUWzzwIYRwWuSACYF9yL 3O+93I4s02BdX3bKfwB8aCHDOf44wnDuMh4M5lT+60xXMFgFOImr80UtcSWmJY3TDxWN 6t5w== X-Gm-Message-State: APjAAAVT45CjqGKL8kobLI5Bl5brnux0WlJFPQM+8GVYSkFZ+xW6ze4L whBiIiqr8d5LSUeNEPzPr+GaqQ== X-Google-Smtp-Source: APXvYqzkBYJvS5452X4mv2jWOMV7wfWMwclsghRU9Z9WAvM97cCtsdKcSysdRdv5ehuiLjAVd/Q2ig== X-Received: by 2002:a37:b5c5:: with SMTP id e188mr21260076qkf.55.1559551557665; Mon, 03 Jun 2019 01:45:57 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li1299-180.members.linode.com. [45.79.200.180]) by smtp.gmail.com with ESMTPSA id n48sm5971028qtc.90.2019.06.03.01.45.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jun 2019 01:45:56 -0700 (PDT) Date: Mon, 3 Jun 2019 16:45:50 +0800 From: Leo Yan To: Suzuki K Poulose Subject: Re: [PATCH 0/3] coresight: Expose device connections via sysfs Message-ID: <20190603084550.GA29174@leoy-ThinkPad-X240s> References: <1559234697-15743-1-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1559234697-15743-1-git-send-email-suzuki.poulose@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190603_014559_607937_18BBBAAE X-CRM114-Status: GOOD ( 15.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: coresight@lists.linaro.org, mathieu.poirier@linaro.org, linux-arm-kernel@lists.infradead.org, mike.leach@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Suzuki, On Thu, May 30, 2019 at 05:44:54PM +0100, Suzuki K Poulose wrote: > Coresight device connections are a bit complicated and is not > exposed currently to the user. One has to look at the platform > descriptions (DT bindings or ACPI bindings) to make an understanding. > Given the new naming scheme, it will be helpful to have this information > to choose the appropriate devices for tracing. This patch exposes > the device connections via links in the sysfs directories. > > e.g, for a connection devA[OutputPort_X] -> devB[InputPort_Y] > is represented as two symlinks: > > /sys/bus/coresight/.../devA/out:X -> /sys/bus/coresight/.../devB > /sys/bus/coresight/.../devB/in:Y -> /sys/bus/coresight/.../devA > > Applies on coresight/next tree. > > This is split from the ACPI bindings series. No functional changes. I tested this patch set and it works well as expected on my Juno board. FWIW: Tested-by: Leo Yan > Suzuki K Poulose (3): > coresight: Pass coresight_device for coresight_release_platform_data > coresight: add return value for fixup connections > coresight: Expose device connections via sysfs > > drivers/hwtracing/coresight/coresight-platform.c | 2 +- > drivers/hwtracing/coresight/coresight-priv.h | 3 +- > drivers/hwtracing/coresight/coresight.c | 148 +++++++++++++++++++---- > include/linux/coresight.h | 4 + > 4 files changed, 132 insertions(+), 25 deletions(-) > > -- > 2.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel