Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp163054img; Wed, 27 Mar 2019 19:37:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzi6JFTYJhWgoSIEWeETFisLKkSFbYth2wVKTTYtXIR2cNRtSxCphV4l6KV0NTSqFL6NObr X-Received: by 2002:a17:902:6aca:: with SMTP id i10mr39937222plt.43.1553740625882; Wed, 27 Mar 2019 19:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553740625; cv=none; d=google.com; s=arc-20160816; b=TtD0rYB6cYBdvpn3uJO6yV+xFNoEhTer1aEWtB4ceyV0KxdNmKoqX2dhFwesER02GL Fj1/T9iRnA8NwRprFE7vlarM/49klsgCggX0sYh1d/fgn/2HR4QiJ+2bcXKmD6td9xhF hkf0PrPOgm5MpzvTlydq2mso3c7FaPZypuVRSz3lscStLdxPYmQJhOnGfBPzvoJGJxUD 19HDG0rCr4wUK35qsVw+JjkfyygfMn3pxLGA6rnP6TxGH0ttdyzzpHjL2juSMC1wMx41 Id6P9K/U8f+ZXI37si+fznxq5sn+xJ+s+9An15aaPGeGZolDUdA+MBF8FOWzjOkf/6wJ htHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=QT3x1Md3mQTDphty4tkPRUZzz248zgaCTuckeZqsUjQ=; b=tUJ/2dSm7F25Giu7oD364TN1XgbFXQumXI7AmV5WPJsWTi21YIMCNCkmbWQGWdAsbB /vR19rprerX8E7RKeXRvLw+XJ6cs98ZQ+gxXwbxnxBAoVgaS2QuOos+BrNLZPXYAEw6l edBvlbTIkJPw7e07uT5ir7a4ri0bMuezMgeM9eFnOJswz+JnbDyB6XiJBu/WCpGYeTSG K8Oi68FZeYQPy+9C8lmrOsLoG2ADDvtVpa/9S9s6otyii2kqW+PtquzsEN0kBf3G9zNj Evp01LEZEWZQrVXHs96UFiRDSBSVtLrNiv6b9rRvtA4DVUP+fyTqMliwH9PmP5yOT3wg uTUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LpGvEsB6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z31si18446291plb.333.2019.03.27.19.36.50; Wed, 27 Mar 2019 19:37:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LpGvEsB6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728102AbfC1CgN (ORCPT + 99 others); Wed, 27 Mar 2019 22:36:13 -0400 Received: from mail-yw1-f66.google.com ([209.85.161.66]:34892 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727246AbfC1CgN (ORCPT ); Wed, 27 Mar 2019 22:36:13 -0400 Received: by mail-yw1-f66.google.com with SMTP id d132so1724181ywa.2 for ; Wed, 27 Mar 2019 19:36:13 -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=uczbTb2bIJ+J4sunEbOI5zp9fRGK5TuNeLu5fkcfXD0PIT/Qu0ZpT6Pp8BJDc/wf5C /NQE4zJfFgXXfW4ebWAtOewLCniDNMnNEEHwZuO1ER6JXgW55laEAfeV4Tzqznelb29O 2Wukgzpn7ovVGWyyxm6ATD/EUwMMHfLJL1vFdNjq6Ii+C5EGYTxXZdV/I+0t6PsF2LW2 BX9hmkAcp96EYbyhxF4zyBQRTmqSU0gi4OPCi4u6EqTCmbukYbAuvAUjR+AZ99g5NFZI +RJl8UpuCtVipxCYM0jRt2gC9UDMlFYrbnqgbftgZNPdNuRr/Kezy4fKjEZjPwd5A9lI otYQ== X-Gm-Message-State: APjAAAVwImxqtvOKu9RDX/Uh3YzDeJ9SixXweIOs18nMVsRV3GJvF/9z r7G3XUPVkK7kfRyPS6tL7X5feg== 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 Cc: Leo Yan 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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