Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2292203pja; Fri, 19 Apr 2019 11:24:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVxoYelfq4JHX5ey8KfzsEZOH+nUdmIgeCPVnmYCIYA0Ca6Wl7uTIi0bmFQIoBkqcBEqtn X-Received: by 2002:a62:1d94:: with SMTP id d142mr5458183pfd.83.1555698280379; Fri, 19 Apr 2019 11:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555698280; cv=none; d=google.com; s=arc-20160816; b=W9jd1TOUF+gIXC0q2lLnEv1oei9dwmuMRmqJ8At2kDja2K+tj4RCduaeSteMra0yJz Rdx4Amgx+u6u/pky8zrSq+lGbSJ2n94V970ln71h5X0n5gjZr51Ce01Zt8BGACUb13AL eQL2ZZI+FinVMBCaquYrqtHuoHwTKuZr+USXpCNpdNITgkmBiCdtEi8nRbi1zVMzmrkO hhkrzuRjD19P+CwThV4Tnb3xRfpPefQ/BdbeYI0JaOEQ2b7o9AtMldn2Yg3le4Q44jnT z86ggh1+an9DoxBxBsBIcQ0G7egwYZPIwY+oFkUqX0JFtJqXGK+JV3gks6y/iny7iF0O yasA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mRAge5Pmqaqc5fZ0NHqu5gKTW2B1I9IBJzxof3qVcIg=; b=Gzbk/L4W4huaIFZWnFsihLJu7VoD8Y0vpLVz94Wyt6/Q213ABa0zZnxM3AUMOKU7dT OZYN+z/qO05YHTh0+ogvEnBj16Z903N5C/MdZpPydK6maPpU6G3rl9cWv3BHcXGPZQcF fxAXNc+zvI2z4YRwd2gu4CVzFI7Ff1SPiD4eg7VweujruFMb6DtU6SbSZwdc1n7boNZw YTSl2RRg0A1Oa+oXaNJdHUoXDiNOVwCl5u9/v0wOkmOuNtfYDZ2B+izylYN8lael0CoN +sl13L64QHr/3vz/iN6Ywe6q967NzKGpRgF7RqDH4kDJXxY90o6L8QqU7gvCGTsI4J9G Z2kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=caOIYLew; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21si5673511plr.366.2019.04.19.11.24.25; Fri, 19 Apr 2019 11:24:40 -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=@gmail.com header.s=20161025 header.b=caOIYLew; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727708AbfDSSXa (ORCPT + 99 others); Fri, 19 Apr 2019 14:23:30 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:42575 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727666AbfDSSX3 (ORCPT ); Fri, 19 Apr 2019 14:23:29 -0400 Received: by mail-lf1-f67.google.com with SMTP id w23so4570911lfc.9; Fri, 19 Apr 2019 11:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=mRAge5Pmqaqc5fZ0NHqu5gKTW2B1I9IBJzxof3qVcIg=; b=caOIYLewrzJO0tx1/p2iMgF7wSWM9NpTC/5/mjYtUwzbQgZHONS7KIVKSEKhVUbSrL DWY+wem1NdyiPS97aDwsDtNeSfVWqCQ9E+6xnRXm+TPxW8cMxAcNPbRJgQH/7Ho/oPWM ufyMKQhkHl0HanrOL9jrilMbs5VEEDH2wmr4Yk8bVZEd4hGy7MuTcJMqWRxDI8Ff+8WQ YIK9Y2GNYs5Ea+r88JNXtL6NTYFgMGycXyeA85r403/DBFswslVQAGLzXx9D3Dz6zxHk +yWDzhmsFdRAc6OUm7hr5RqxX3eLAok2osfQPep2Je/jdzkiVijJGYLVQwh5HfYrxtPp BDQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=mRAge5Pmqaqc5fZ0NHqu5gKTW2B1I9IBJzxof3qVcIg=; b=Lrg0liq0LDje8nhGTU7jdy95tKxVxd5xpscsnJ0aTo0vmvel/ymMBGDhemPNC3Nxyg Vx/3t/bAGiFGnGdVcpjHiVdPdd/U4l6RCvqwfi8blvzC8lZI3TzOVztgTcx8n1d2Fwpa DCrnAnLmfQTXAItikiWBqOK+RKo4B2Xn3oshczG3a1WoAbkCxgwfbhv3t1gvcrEydK3o Ap2oteGCXgFgn5EyBPSqZWSGRhXQmR3LpncX965tmvF4m2y7aoZeGZhb/0Z7cJgoUGsv rUNPGuyhkn2MlPCvFEhk2bKP3eqEevsFWONAnF75A48QqhUSONmWyEt1iZGuX5VLWvCx 95Ng== X-Gm-Message-State: APjAAAXFmf05+6gdf41XclNH5wKPtaqcGO4x7h5frTpty98ZI2fBSdsG BWgABrnwCHztDawFe22rVfY+JNBXp5OYVdmYsX2s1Q== X-Received: by 2002:a19:a8c8:: with SMTP id r191mr2931043lfe.161.1555696435059; Fri, 19 Apr 2019 10:53:55 -0700 (PDT) MIME-Version: 1.0 References: <20190412172545.fkxnpnymhcw7xncc@macpro-scc.lancs.ac.uk> In-Reply-To: <20190412172545.fkxnpnymhcw7xncc@macpro-scc.lancs.ac.uk> From: Willy Wolff Date: Fri, 19 Apr 2019 18:53:44 +0100 Message-ID: Subject: Re: [PATCH] ARM: dts: exynos: add CCI-400 PMU nodes support to Exynos542x SoCs To: Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patch can be dropped, as it needs more work. In fact, the interrupts seems to be wrong. The interrupts suggested by Anand Moon gave the same following results. export CCI_DEV=CCI_400 export OMP_NUM_THREADS=2 sudo --preserve-env ./perf stat -a \ -e armv7_cortex_a7/config=0x11,name=a7_cycles/ \ -e armv7_cortex_a15/config=0x11,name=a15_cycles/ \ -e armv7_cortex_a7/config=0x19,name=a7_bus/ \ -e armv7_cortex_a15/config=0x19,name=a15_bus/ \ -e ${CCI_DEV}/config=0xff,name=cci400_cycles/ \ -e ${CCI_DEV}/config=0x0,name=cci400_si_rrq_hs_any/ \ -e ${CCI_DEV}/config=0xc,name=cci400_si_wrq_hs_any/ \ taskset -c 0,7 /home/user/cg.x.A 1 [..] Performance counter stats for 'system wide': 9,362,850,550 a7_cycles 1,682,125,760 a15_cycles 68,920,347 a7_bus 61,484,352 a15_bus 3,789,936,935 cci400_cycles 0 cci400_si_rrq_hs_any 0 cci400_si_wrq_hs_any 9.541340558 seconds time elapsed cg.x.A comes from NAS benchmark suite, compiled with fopenmp support, setup to run 2 threads and taskmapped to ran on both a7 and a15 clusters. a7_bus and a15_bus report main memory accesses. Only cci400_cycles seems to be correct. However, all pmcs from the master interface are reported as unsupported and all pmcs from the slave interface return 0, which is probably not correct. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0470f/CJHICFBF.html Would it be possible that someone from Samsung provide the right interrupts values? Many thanks. Regards, Willy