Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751678AbdG0JJV (ORCPT ); Thu, 27 Jul 2017 05:09:21 -0400 Received: from mail-sn1nam01on0075.outbound.protection.outlook.com ([104.47.32.75]:29979 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750836AbdG0JJO (ORCPT ); Thu, 27 Jul 2017 05:09:14 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jan.Glauber@cavium.com; Date: Thu, 27 Jul 2017 11:08:56 +0200 From: Jan Glauber To: Borislav Petkov Cc: David Daney , Greg KH , Mark Rutland , Suzuki K Poulose , linux-pci@vger.kernel.org, Will Deacon , "linux-kernel@vger.kernel.org" , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters Message-ID: <20170727090856.GB15784@hc> References: <20170726153502.GE28875@nazgul.tnic> <20170726154515.GA11453@hc> <20170726155548.GF28875@nazgul.tnic> <20170726161949.GB15426@kroah.com> <20170726163049.GG28875@nazgul.tnic> <20170726173353.GB21705@kroah.com> <1a2eedea-040d-c746-eaf0-1d8085b3f2bf@gmail.com> <20170726200802.GA17722@kroah.com> <20170727051157.GA4525@nazgul.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170727051157.GA4525@nazgul.tnic> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [109.193.47.177] X-ClientProxiedBy: AM5P189CA0019.EURP189.PROD.OUTLOOK.COM (10.161.53.32) To CO2PR07MB2584.namprd07.prod.outlook.com (10.166.201.23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e893f159-dcae-46fd-e0ef-08d4d4cf2528 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254105)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CO2PR07MB2584; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB2584;3:8DIGUv0M9a4kkEyCoMDKrbPcsjdR27S2+Ey5+kZ9P6ecmSfzMDLqZg1tV/sWg/GP1mxWLXUn0dTKqryoQlYUTaGV4aVOpX9pQ+y4+sKWbiJ1yY6U+fViRjusxjghBNk1J9hXFF24jLVQd2cDko4L1Yr1P91V7+nRetLh554SZ5AIT7R+U8CXTLBVj4xl9m010K1c/ojhu4k9NM8JsEXiM2v/g1bL+xaMdrOCB3Yvhd+34ni02Dz4rBNz+9MrOQKcG3JMThbtGzSpI4HxDoAGvq8hxp9mdvsfZU18m6DiZ8yhJDrUvgRvJ5GWprrIXyv/nbxcVz5Khr+5i642CTXIN2pZ5o8JS8zaSD6VjwUbLH0DEkSwNAJOHse/QDmSb+Slml/7fMiY2fppLGSRjBv65tVwye2wNibrCNPXwWJqi5VZUkUQfgKA6dP7NsZzz1j+RmHVNRX4Bax//nWgKRZEVX/1Bez70lbzZmNheEzIKUXhYPQ0at9IrK8e7erMJbwO9AlsFjXo7GAZc44E3r2tEYI8o7rNIBeUmHvaAcHSaTN+XzKMv119hYOxVk1q6wxU4bDO28Jeb6LGIAoUMTvrGtSg7V2GNbEiOimAPPI4Ynfs8C5du5LnjP7YZ+kCIasUg8wmBQpGd+Sc4B0GalTEi9epsBaprrgGHmVa8FQweGGtHDMaa98NFwQyA1ZVn7OMNV1Sy0FDbZNYUgzvqQAASRKzFtE6BvSnVXbdjq16q2X6/BSRcyTyRjuxDztyE2Zo+heHoUEXGzus8Auy0s6hBiaS8wYn59OPT99muwAcn90= X-MS-TrafficTypeDiagnostic: CO2PR07MB2584: X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB2584;25:EgzAsJHJM0DCl4DoCnVn/dRB8pqmf6Vd/VeFVYvV+XD0pouxzXOiEC5EYeT/IjuN+8/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FweBobXVy0Jo/7Fx741N7Q0WvRc524ke9c7GXP91F92EmoHGMx0SButTesHFiKkuKu5LXZwMYauY9G8++/PKj1Rv740TM8VaKnVrbJZCGwKtBDBGekf1NyTjXqAM= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(100000703101)(100105400095)(3002001)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CO2PR07MB2584;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CO2PR07MB2584; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR07MB2584;4:LEgbpuSmO20vVcSmFdkYWwJIzJq+rTyRg4D8yI+Lgb?= =?us-ascii?Q?hxyJvplEVjYup4L3m4GK7NzXuzJSOWFxokahXewoMF3ifvzTh+Dlto/Uo9b9?= =?us-ascii?Q?Msh3mXDEJRIucATpqjfxvXVDODR4H7ANFzorrKkLwlsbKFtZq+IvMxHwI/yP?= =?us-ascii?Q?zm3wC6eTWVsi0ZSssCu0IEBMkIC2QHHlfFTYJV8l1dCZE+uPmPo5/nj2sMnG?= =?us-ascii?Q?KgJ5OJQvWiieRBJylqooj/DgYoGzb4C1p4DqCGd130u5LJnrMWIpko8GgKal?= =?us-ascii?Q?rfVD0edKF7UQlzU0CxIN3tfjdQE3fSvNOi7cvpXIwGEWB7R27ESrR5KycNY4?= =?us-ascii?Q?si+Th47R63pMrH/XhZUmCFFZQV9WbhElNJcw4zJTS9yTeM2k/nSzba5DTlKR?= =?us-ascii?Q?lqKU8P1BcLw5JHfMyvoDk0J90UUpbcHq797eugi9sY+Gk4U3e0LN8gSbzHoX?= =?us-ascii?Q?ZUj/Ib/QE822wsitBgbJdrCnB6U2yEeA8Gxhu4o4YfzUrsXVfeezaAWKCu3V?= =?us-ascii?Q?auLA6U7hzXHiEiF9kQfZ2VUF1/Wp8aeznvpPGA+3ootDGkbW+fxY+ZYaApPx?= =?us-ascii?Q?C/xwHr4Da+L3qLjHQ6cHWPzLbvuW2c4U8/53g2jW21d2mZ8GJfYi/rkaPlEc?= =?us-ascii?Q?w3AO6ddcRyKTnlxCjAklqGXjLea+a0kVnQYzDdbHhjpQ1D+mEYYBZD9246CH?= =?us-ascii?Q?sEwJu2A2w0s463yWArpaLfIVZzJxSGbkqLfSTuD/w+rlxEpnp88wx7bMbt7V?= =?us-ascii?Q?rZgVnAMB52BXqllpppEWPs4YkgR+Y2+An00I1vLUnPqwFJuT8LOY3RzcObD4?= =?us-ascii?Q?PQuwW/JtokoyoKXNMj49l/mjct31H8uAyqDnns3mythKp6k/gm723EZbZax+?= =?us-ascii?Q?5TAepCdWi/LmEr7Lh1C5dFzpgg1cWcWxzyzbUQp4+nbC0a3GAJfBAYczobk9?= =?us-ascii?Q?d5mQDSR8R88RwHdjh37t2eU2dY+kI1g5qtulWu3VLSa80nfZCJOaH79f8IKo?= =?us-ascii?Q?mC3zYeBz87smjWVdGAkfHeKpDP5SyXnXf7KdTPZXliJJDTq+Zz1UFKOCEOG/?= =?us-ascii?Q?7wNwQ911tMIlooDV0OvbFQXIGcjLVk8bfay24P5TpXkmRj1QRdMauVGsMehL?= =?us-ascii?Q?6NguhdR9k=3D?= X-Forefront-PRVS: 03818C953D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(199003)(189002)(24454002)(33656002)(101416001)(6496005)(1076002)(6246003)(23726003)(38730400002)(189998001)(6116002)(3846002)(25786009)(110136004)(54356999)(42186005)(2906002)(76176999)(33716001)(50986999)(6916009)(229853002)(42882006)(2950100002)(105586002)(106356001)(6666003)(4326008)(478600001)(97736004)(83506001)(72206003)(50466002)(66066001)(7736002)(55016002)(7350300001)(4001350100001)(9686003)(47776003)(54906002)(81156014)(93886004)(81166006)(305945005)(68736007)(8676002)(53936002)(5660300001)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR07MB2584;H:hc;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR07MB2584;23:q6V7LedPD7R/SAyJClz/K62F2pWpDwL6Ivb0CunWh?= =?us-ascii?Q?3se4MsJxh+r80mMC63H1uo9x7Vi0yK1PC1UbQhn6+4LHAIbACALxTSs+Ltfw?= =?us-ascii?Q?Z8lNXNHOD6mw1DFTU1ob/YsWrwhFbEpp91pK00eebB2UhO/9poFY1f+tmasC?= =?us-ascii?Q?xHU97kPmrv+ReaIqXaRuKZTX0FOg/mp3mJ+AndjIs/lKAVYQLSaU1cxWUFwa?= =?us-ascii?Q?F4R+JoXzcX5XsnLZKeIKzdZZFb2H7bOxexKVDG7VFNPNDVUbxTpZVYPV142q?= =?us-ascii?Q?Wryzc4W9yrq3UfTHUzEaJehKYFRKNUPoBJlWgI518sViOde5FkoBMqa0z7us?= =?us-ascii?Q?nQf+NiXuLuIQ6rzrp2M3rvxrz7iquAcPl5GfVKczTnTfL+aJnogLVD/TFwK/?= =?us-ascii?Q?2jzpNNhegkccEYcoCkeAq/b9ogiwGf5RR72fTfSjy3q3Bi9cAm6SpFLpofl0?= =?us-ascii?Q?Nm8e1VCCdsIPkQf8JbVknC9s0xTjblwb9dmtJ78LKW/iUu/V5ya8ykMWeLdt?= =?us-ascii?Q?T+DLy7Ji1vL7M99SOjUfRW5ORMrnDsG2lI9SuHne4K9Vd4sLQZ5yiE8F4X4e?= =?us-ascii?Q?w4kW59UFppgsen18KzF9TCQ9+q6bp208BPuIwaISsUM2inRwLhUvBxUbTK38?= =?us-ascii?Q?EBsaBUisM9pKKpFwKWMjvRQD4ZkFa7aJ7k9smAjMSiZHWd2vpVNVZ9KjsgWs?= =?us-ascii?Q?sN42gQbu9iuYrZ2Kr6rL4k2izH2bERIFEL8mVJDtvTx1Uc6q+CPjrboeJ+n0?= =?us-ascii?Q?/olNffrBQ1FJGRFET/dQBrHy/ANM/oORk1lddiEndnZUV5lx/qu5JegSFreY?= =?us-ascii?Q?09s073gWeDoxBnHeul3dPnDqGjAKlEpdNIYFOp0CxcZXB540WZsAwzCoM6UJ?= =?us-ascii?Q?7uCTNK0+I78lVb0zGMOoKrdA8l6HHdD+EMGyjVMa3T2gSQ1q6k+H7bsSy962?= =?us-ascii?Q?xqu2eqA5/LgiQ/DuQXB3WXImk3ReuFulb+94GNWrz5pwPYC/R55XBTB7fTq3?= =?us-ascii?Q?eudPfaaUBRlc8q/CjLMveooGu054z+IOQOXDfMPMlPUj8/AAi0UJ9cM2vRJf?= =?us-ascii?Q?8h1Ow9xaKmH+nsDeXQa1INEU+K2w9VDeofYWKkYtLfloTyhEbV1nyZyFFYN/?= =?us-ascii?Q?Qhl0uaJABXmp3yp0oA07IgkMjI8WuAjmpoUn0FerZMjzyrFEw/4dsv9XsOmf?= =?us-ascii?Q?W6+HMHxLycYgXtaDWncplfXD0SOHRAHzoxW+TX7dCD1H768iH2QRTnIqwhGh?= =?us-ascii?Q?uvMl6PS2am+n3QJCLwoOaV7JCNKhPd3BCJ+/rb95V6EjAFVmkcB47I5DIEzz?= =?us-ascii?Q?htRog+PvJNxMu+8+/kFyQIycuIc8wzxok4qbfnofZTL+/N+HoVQQ+6V4SnjE?= =?us-ascii?Q?aTbmvR0qIFv8QG4SYpE61cb981BQqbU/fIM8WXBsQjxjbxzV6MQewEHhKFKA?= =?us-ascii?Q?3DNPi/uqvqTZps2ER64oE3o+t9lNWo=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR07MB2584;6:yCCOcQ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VO6pD2rF3dLr6t1nZ/c4FuPAM9gex59MuLPvvWFhKOZo8RyAK5MaMthKFV?= =?us-ascii?Q?s8qYZNjzirkGZnhz+8mkwArNksU1gid1E6j6tpDc6pFfU1utbddtphQRQ236?= =?us-ascii?Q?4=3D?= X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB2584;5:00f65HRmQaWhg1MVCTnILm1QQPQj7nWsUVcoD64FAafLOSLZwjKAWX5ba1FC9LQm385n5Z48anczRW9e0KkKWj+L8wcqusaCBOKbRMcSuRabCJk5LcpUeK4HcFejhyYLPYMKsvmg03eWa1E2D1xfORjsZmJUtVDKI+NOzvrP06VXdKkzObFksIRvy51d9vaUZele08dsTe10JPBKF31iusjGKH6UFb/l/QTOm2cMwKYZB8L8NF8t2/K+lEv1hIB/W/SIHRF8mhzIutIe51RyJl0Q7KGuFQ2gYTFensHRsaZoWC2hNQbRk1UWVaVAJsdCVwrelUknJphW27mnWtPP9R4C+Aq3RA6g1DuV+cUMiVt/GYEWeDJgvn8ZkwbvyLaBLvLAk+xrrvtQW5CsgoQux53FiUK2CxStH+RA0SKPFiyRLmbOFXxFnjSJi6Itf6sS3w3xsTpkuuynon2m4JmH+SyRVC/LcpwwkIwIgDeNiHKrHnE+05avizYhO1mrLL3c;24:tDMPkQu1ZqHbDTCbr47QiEGzYdOY1SqtF64ncF4t6mjbqIcTeKL0CD2OdXM5CNjmQVSSpyZGpldaK+T067mCfAg8ccOn7fq5h4B1Pc+ygkY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB2584;7:Klc7zrHZgDTR47gpyi8qo2dQP8A2/VlwnLd44NrG6CeJlgVWuaPX221fDM8PiZRIIwqucrBV4Psx+42XnX9mQRIGaK9YLAbPHT0PxR9udHhodyDsmLtf8OsfyZFJp78xCMyqdBk+Hlwet+Y3MQAN/mJ5YhIi4m4PTFtoJN2H4iwwb3HI0A0Dxet6aaNJSpX/vkjCKkoQ486qgo+vBaEMvMb4UGw7awRPOs6zKTZpQsUklzMFCEWZX2Xrky2ck4XLZu9uuvF60ihcLB5XDxLv+1IJg8um6+Oed8prvI65kqgIH3QrIVB+7EusDkU3L/GnKoth+Oxt1rQnJ9QqVWAcR4VqWhTOyV0ATKjjI0BsSR7BOS0ZUdOlT4EjJTSJUvAbVXVa/0TsnvzTHEWxS8HHkC36s0f3YkHQiBJhdIkydWNFZm7f0dfeUPVrE+3Pvvni1utJ2w/9iAWtkARhF/YawFHJLMFJSgC7ssdVaLh7NVnFZ2hWzGA5lcepGVpKe0jVPGOLrVw8snD3T923ArK9B3wRA6Jt/Xd5PdFijUtARfxeZsXMBXufgbW/tZanmi+4siG8CZWjdMWZDWwK/2ZvtlnysAy5cpGWgZAmqm3DNx6FrGuOS84ctojjG2Ck+mUVBYU8POK0a55Pm4ww8k+n14MCRgG6qr7t1BhubhFUvCJ63IR7EBJUcmKlXqpctrrEHajwC//LbxZ+3Ju1DD3Po7+NlZIkqdcJ7EeprnzUtvZBiLz6ObIwXpyYGxViyE3ssjGcWNKC3bi6Aw5Sz4oWbD1ZKH5/ntc6LzzzsJu7M+c= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2017 09:09:09.2019 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2584 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 671 Lines: 17 On Thu, Jul 27, 2017 at 07:11:57AM +0200, Borislav Petkov wrote: > On Wed, Jul 26, 2017 at 02:02:42PM -0700, David Daney wrote: > > Also, if a given configuration disables CONFIG_EDAC there is some hackery > > needed to get the perf portion of the driver included. > > Yes, and we don't do performance counters in EDAC. > > So you could add a small memory controller driver which does the > arbitration or fix the firmware. OK. As fixing the firmware will take quite some time I'll go for the memory controller driver that starts EDAC / PMU depending on their CONFIG_. What would be the proper location for the multiplexer? drivers/soc/cavium or drivers/misc? --Jan