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=-8.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_PASS,USER_AGENT_GIT 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 B1154C43381 for ; Thu, 28 Mar 2019 02:36:25 +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 7EB862146F for ; Thu, 28 Mar 2019 02:36:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="giaK97W0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LpGvEsB6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7EB862146F 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=sk9mQW3AyOL+TA4plS5G669Rf5rwg0K191U8UxgUKMM=; b=gia K97W0U44Z4NRh6tJBWcaB3etuBCvZNSq9dEVFALgaNsO3lgxnRxSF3bD8fM3jPHyrDD6En7nVRgGY EZeqzXyI8aD6QjeVw4OMIee2ZxNAoRf/6l9u1RMUrWqtcZy29UrrCxr3T8SO8nKa/QghMON5FjGhK RxBkImdVpcv+VIffOPspnOUSRgQh7DfB0cw63ujQhRvueHQKgmMW+1pgfoe31N9cofz+K+6gBCJOV /+iL4X39VLgnqFMg3KVfDC/oqrjH5CnBejxlm5EXqxs1LBBOdq/77oRb1SxwV9Lp/4ZVb95z996b8 4Cg+ZTCWv0MLLcU2LfT4BAsybzeBI6w==; 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 1h9Ktx-0003W6-7G; Thu, 28 Mar 2019 02:36:21 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9Ktq-0003V7-OC for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2019 02:36:18 +0000 Received: by mail-yw1-xc44.google.com with SMTP id c4so14088222ywa.11 for ; Wed, 27 Mar 2019 19:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=QT3x1Md3mQTDphty4tkPRUZzz248zgaCTuckeZqsUjQ=; b=LpGvEsB6dlfpQOKvvPfB3+q5ULiSGoNG26QkPtBXP/NDXHfBWq8vLnciWdKJJMbI6G zOEyzGRCCB0leDNuEcTFWIDg1fi4oRc0+lZd3FgfxZAd9S+W+nsCukD/wqthhtAZuKzE zR4msgSUnx7Lf2fmppjxHqKqnG9lPp8aq86JbNi4Z+g8bSwKI8gHsgZkLZX9dp/jUbU2 5CwERI0hva8BKfS+20vgd6a+9td1mZYUS6/gkvMhi2s3WhfyeNV7zKkM9iGG65Sm5Jgx Dy2LDDdOp1NsQCPPKD7K7HKy/9k1a12L5YD7v9bhC+gCuc3l445YZsX3cQXdgxTohY1L BBRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QT3x1Md3mQTDphty4tkPRUZzz248zgaCTuckeZqsUjQ=; b=dSo5b2kNpJp7lpOzW3wcuveaeytbsyfMt7+8uMhmI3o6GzwBuwC0disb3C8ygGeKGi 5lTIw5/EJS+hw+WanjMOnJmW5hAVpznr0hlccX62h+WRTIIGZbUbYnP9G8nHmosgq6be UEjZxhI649RpbuuZpXIT6kbzLtogB41cCTwujMGqsNEdn8aP7ikhZy85VsK1jsQgFoqF fJuEEPASkvr0yaNXAsMmX2ul6sBXYlczvzupzGkCQSA9UJ4exyjJ6uoz7cqQgy10jA2z BV7YuqNfhSEVe2xWk7b8nPzqr0pfijj8L5ttCULvyaxbGOIi+bn3MU1lcK1lbV4dgLA+ R8nQ== X-Gm-Message-State: APjAAAXlDjrg9vX+HoIgTrVL2+MBgQ6gW5vdCW+an+WbH9YtooK3DW43 YxJnF1J1i/APbDymPT0RoueVsw== X-Google-Smtp-Source: APXvYqww0WDhhqu9a+k9QwyccHe3JPrz2TpCQzNjWwPrOiKfeAoSFx6K4hDl1FLCCwzLOsA/ZsJU2Q== X-Received: by 2002:a25:2a0d:: with SMTP id q13mr4363916ybq.257.1553740572635; Wed, 27 Mar 2019 19:36:12 -0700 (PDT) Received: from localhost.localdomain (li931-65.members.linode.com. [45.56.113.65]) by smtp.gmail.com with ESMTPSA id t71sm16272787ywc.4.2019.03.27.19.36.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 19:36:10 -0700 (PDT) From: Leo Yan To: Mathieu Poirier , Suzuki K Poulose , Rob Herring , Mark Rutland , Alexander Shishkin , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, Wanglai Shi Subject: [PATCH v3 0/2] CoreSight: Support static funnel Date: Thu, 28 Mar 2019 10:35:07 +0800 Message-Id: <20190328023509.22242-1-leo.yan@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190327_193614_867225_573A2F0A X-CRM114-Status: GOOD ( 11.62 ) 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: Leo Yan MIME-Version: 1.0 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 Since before there have no platforms use static funnel in mainline kernel (though maybe some in-house SoC has used it but didn't upstream for mainline kernel yet so we don't be aware for it), when enable CoreSight DT binding for hikey960, we found the SoC uses the static funnel in the link path and but it's not supported in CoreSight funnel driver. So the first patch is to update DT documentation to support static funnel (we call it as non-configurable funnel in documentation); the second patch is to support the static funnel in the CoreSight funnel driver. Credits to Suzuki shared code for CoreSight replicator refactoring, the static funnel related implementation heavily follows up the same fashion in Suzuki's replicator code. This patch set has been rebased on CoreSight next branch [1] with latest commit d5d246a56af0 ("coresight: Merge the static and dynamic replicator drivers") and tested on Hikey960 with perf commands: # perf record -e cs_etm/@20010000.etf/ --per-thread ./main # perf report --tui P.s. in this version, Hikey960 CoreSight DT binding has not been included and will be sent out separately. [1] https://git.linaro.org/kernel/coresight.git/log/?h=next Leo Yan (2): dt-bindings: arm: coresight: Support static funnel coresight: funnel: Support static funnel .../devicetree/bindings/arm/coresight.txt | 45 ++++++- .../hwtracing/coresight/coresight-funnel.c | 112 +++++++++++++----- 2 files changed, 127 insertions(+), 30 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel