Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751520AbdGZQlL (ORCPT ); Wed, 26 Jul 2017 12:41:11 -0400 Received: from mail-by2nam03on0078.outbound.protection.outlook.com ([104.47.42.78]:2701 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750816AbdGZQlI (ORCPT ); Wed, 26 Jul 2017 12:41:08 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jan.Glauber@cavium.com; Date: Wed, 26 Jul 2017 18:40:54 +0200 From: Jan Glauber To: Jonathan Cameron Cc: Suzuki K Poulose , Mark Rutland , Will Deacon , Borislav Petkov , "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: <20170726164054.GA13136@hc> References: <72145781-e9ec-036f-f752-b4756fef08ee@arm.com> <20170726111946.GA6273@hc> <20170726131058.GA8665@hc> <131179fe-42e7-f286-5bd4-801f4c93d5f9@arm.com> <20170726145522.GC28875@nazgul.tnic> <20170726151314.GA10696@hc> <0a0daa94-bad7-cbb5-e421-f8e9d6c79d54@arm.com> <20170726154623.GB11453@hc> <20170726172515.0000185c@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170726172515.0000185c@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [109.193.47.177] X-ClientProxiedBy: VI1P195CA0024.EURP195.PROD.OUTLOOK.COM (10.175.187.34) To CY1PR07MB2586.namprd07.prod.outlook.com (10.167.16.136) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3a08baf2-b447-4957-4cc2-08d4d4451cbc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR07MB2586; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;3:5SF1uMhEyhX9ZwsGiiLf+STDPEFDi4IGx0hiEwbc2REWpHMFj+NShNTbGFRPuc+Nw9xC4hRK41jEe08CCLYjRdhTLBAgP3b4CLptg/xNWhJdmN6gm29dPDxPxUFQ9BB4xh6vYn5iBkgrM0y3TY2SHIIS9rS+t45L+cmcOEZvdcoL8r8jqE+EOZWO/SeyhQGu209oiApjwE1JMpLzrsfdLbnh+7j8nFR41jYNRE4hrM57Atolg8dLNNSe75wChVFBHPW74dflw7IQdCGewszRzgm+Iye8pqXl9bhicuzxtNDy0QS6m7MVOhSPMTCzh6I4KAnrTlXmtGe5b4fNolbYlVoy6gwtAnQkZl0ML/8JGl5JJcAMjVU3XZpy/CM7QQkJhxYJnVA3x3syWf+5WzOVmdhSieMa3Z17bR3A2WSpBUHVL1etpExA8pDoIayxj1tRqQ9GfoD0vSTpsb7QJTPWk4YF4MErAPiz2FeaypO0V/lkkoI3rs0NT8pZDQcqLpMOBgWZwWlbBHPjnxkinGrKs+J9ln8mY0OZZlKTPTPmFEksVR+HA7RF4AObnRnScg1iG9vv2iM7ty7vaXdepEepP8cAhl0ndKt2DdpHKQlce/wCgTFcTffifdEhXBFxRXSW14pNoopvxH1Xgr/7M7QJQXO6yx/OacPJfjPUpKhYFUgFy1sqBKV7GnxUg/rMStQ2js/wTBbEZPGsciFwwhug7ESKT50xXZWTHgLxUhImGHg= X-MS-TrafficTypeDiagnostic: CY1PR07MB2586: X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;25:sDcYTwil9YZWnoh8PcJvzAVDzT08qokRrogSn1RIjakbFaNQG2MUNQyIfzrEKuzgTLrjx7MDexjNcSmGMDZSJ7us/IE1CB+WDROjl+n8eOmYHjNVzyH2qX+kjMfpzFQpKQym4O6jcTLj8IJe8Mcxxy4oRI6w4HfZCEdm6AlIUMk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ZpKv0VHwbFLeQxiQ7/cGA= X-Exchange-Antispam-Report-Test: UriScan:(258649278758335); 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)(3002001)(93006095)(100000703101)(100105400095)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123558100)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR07MB2586;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR07MB2586; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2586;4:e6YJHSnS/O69gsOFdXCSjpuhcCnQBGx3p7RF/DKwhS?= =?us-ascii?Q?SaNLNPT0IQSxXkuTjpf6Ug0GYw+rs3LxJxofDEk2p21+XJUprCvT3srISiOF?= =?us-ascii?Q?0FkM9q3LXry4xaTK34TXQlc9kXjSMONSdpBrUxAp5DHT5TcyD7uyyWyTcAFU?= =?us-ascii?Q?7yuOcZk5CqyBqCn3lEWH9hqZA5AZKxQNrB12HiqLIHRr4X5EepW6+FdNczAh?= =?us-ascii?Q?A4PQwuwSJ1MlJck2dJKzK/o7Gu0/IYpEMBFtPogtCBHFpuU2aqnjFR+1/mGS?= =?us-ascii?Q?kwd0pDMetqnnXZrkSs3qcYCb53kp9d1MtFPnRUv+XheDkUiyyGsx8nA905sg?= =?us-ascii?Q?0uNCJVL3T3up7fvi90l0BVS2qpxTlLBIkYoOnvArPZlSK01qWraQYuSBnHcB?= =?us-ascii?Q?6UjrVJIOQhtmxqCH2oBJ8w/ZDVTMzqaWPMMrschSCO0lr8jy0L5xQ8z/c+N3?= =?us-ascii?Q?+JMQeALVdtI3y6Zfla++EiMpmGDi6mf68zQgHD9CmCMlLOlfANasNpNPORE2?= =?us-ascii?Q?7PHJBph44VsGeJ2aGvmFSOUqgO5QuzcHkap5gBN669F4/mqROLLBwJSI6DUo?= =?us-ascii?Q?UCFSi/cVJdvKPXAjx906ZOTKnREgYCf2/iy/TRsjjUv23p8JYEBzB3qANlI3?= =?us-ascii?Q?my735O4uNkzQxKuFgRWtkENRsXDHjj8RaKhTsLvkdFi3mFspwpKikM6dlmlW?= =?us-ascii?Q?SwCNlGxh3RZxGnpOL7lFj2UHhKe/r2M/bpGnjOTGFwB1SAkQfdLVIdrly61R?= =?us-ascii?Q?k3AVB+l1ZILOwA3dN6WBDUQRIMaJHwMQ6Eini1svUit+vyhw+SooGjtWJdZu?= =?us-ascii?Q?9U/m74cDf0o3RhNzlrJEo4bViKAkGnmWIJIqAVIdD+QCOUzvQ8nBn0Dwy4Fg?= =?us-ascii?Q?ewjzKmj81iq7x+hfH24VaxntbOMvl71spSjVVDSlzIscEiB5HpPJXnKuIOFn?= =?us-ascii?Q?ML9yFOzGk0xaOFOi9MUHTulAjz40XQCc86UH9NKnOdlHOVQq7GM7uZG5j6mX?= =?us-ascii?Q?TMLTzZ2Edw7de+jwXkH74Yeq4xrM70Pd4VohzRnqCJGbM+B6fbBmGxO5stmn?= =?us-ascii?Q?nQ9nQxCl+cVw+Z+IUa07zIWlnoTOS7/aHSybSzgKm+xYu7u/mccAMVQNVC+i?= =?us-ascii?Q?SZfioGaKGngzwuX96O6aO6r7vnzz+mgmSQVqrEyPjeY9dzbyjhXQ=3D=3D?= X-Forefront-PRVS: 038002787A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(39860400002)(39400400002)(39850400002)(39840400002)(39450400003)(39410400002)(199003)(189002)(24454002)(105586002)(5660300001)(83506001)(1076002)(106356001)(7350300001)(4326008)(4001350100001)(6306002)(189998001)(54906002)(9686003)(55016002)(97736004)(6116002)(8676002)(81166006)(6666003)(7736002)(23726003)(42882006)(2950100002)(6916009)(3846002)(33716001)(81156014)(53936002)(305945005)(110136004)(6496005)(478600001)(229853002)(50986999)(54356999)(76176999)(33656002)(38730400002)(68736007)(50466002)(101416001)(93886004)(966005)(2906002)(42186005)(25786009)(47776003)(66066001)(1720100001)(72206003)(6246003)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2586;H:hc;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2586;23:9EIeCwkg5x9WVL5Y2S8mpH2DSoPqUV6SzAFk0x/Y7?= =?us-ascii?Q?fT6kdcoKTj/OlvMRvwfHgxnu4F6T32IPAhvI+LQqwb0dX9YY7q9nQbsxqzBZ?= =?us-ascii?Q?oIYqzs964M2Lqj15u6Crz4myVcnZCIy4LbQIY6fexykM6HpBecDAdGcbr28L?= =?us-ascii?Q?qE2ueU4+sysmciQITxmq6d7dPArdnsSAgRYe9ZpfPzft5ahlaww1nsiImjpv?= =?us-ascii?Q?ZO0NmjopvV4qUzRnJSvQWWYdLHrFjEO3x9HoAEiGMQZ0/P2dgtqZwrWH+hOC?= =?us-ascii?Q?zAR3Au2P7KogiA6X0HV2azPFcQYVRLhCzkNsXUSkLFgr0+XGhMz0SajHHqSr?= =?us-ascii?Q?j+bzNrz0o4VTLS6an9R3isgP029TG02mpziIVaECiIzJp6fusddv70sBC1k1?= =?us-ascii?Q?xNPKLxDWaZ4ZPEFP/arNjZAhvaqsrGx3xNwJOroYy+InqhS5fkGOcvNVP/g5?= =?us-ascii?Q?GdJk41cqL3MY52G7FaBpz4oyobrND5yLURq46vjpx+JqGm8mm5vZk3SCxx9z?= =?us-ascii?Q?xbIn6Aweuyaew5l4gvqAehzWh8uUC6iRNjuNBTpp+OeIgZh9AlSO5WyFISEu?= =?us-ascii?Q?C50n9kmHd+dNozcQKdO/gAmHr6oXeRCqzeyGpvpxDUz7M6MqkbUFQYpkdg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avC3dYURe78DasytrVraj?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2586;6:ggEpGXwNFvvwOwIpW2J2JcMabzp9F3txDJmRG3iBQA?= =?us-ascii?Q?pRdcQtlEiRpHrgX39lwb19bxbH3hswQzxiFL6uIvOwasMN3LEUuOfQnlC8Bg?= =?us-ascii?Q?d7n+M7JxRhcLzAfzrNAYuzoNfMARWiSDvHcb10rbGzWE4qrpA6KvhLKSzMHR?= =?us-ascii?Q?PJCtV84NFg8Dti0re8Skn6lgBH6vYZgHwahRe4KJkcznGaYUNVn/dQjeC7jV?= =?us-ascii?Q?DueHQc1CSAU7/KK+Pd5Nj46nORevgH9xFW/rEIkEylvuykO8GS4nHugyVwfr?= =?us-ascii?Q?bn1csLCWrW6VtBD1myuqlzlE0P46DEv5QyD8jEObbnrU6CW6cZbBDE9f1pOM?= =?us-ascii?Q?tpZ2KLvXb0IQQ10yMEagEzO47+IQgv0MYdVul0xsEcVRDUGWJ4ZiBArz7F9Y?= =?us-ascii?Q?Jn/lZVO8NCCb1/IDfvtNNdZ7A7GxSYaU10C5ZJrBs+qLxzefwwCfjTjLXnKT?= =?us-ascii?Q?vJ6l4MrQyfgzOhW+o+tfsikO5qXNk+0pa65hFpQkQp77ULxjnsjs0vCD0FQ+?= =?us-ascii?Q?eRx2RBB3NwCiPBH5MouP7DnihwSgjRzZ5Yos3UogionzltwnTNwkgp9Tu1oc?= =?us-ascii?Q?TOxYpeHUYpGaO4YnWf8po60408f2QMcKq4jWmw+k2BYQDiJe+WB/IecA89L5?= =?us-ascii?Q?JTHcnIeNAHuDIt488GojrMglt6MlxFfR5pqQJ+BJXUXlFgFwrdACRnjnwciK?= =?us-ascii?Q?oE9TrQeo8UJbNkhFEbutwjtq/u2GEq/xc9SGZfv2jLe7AbWzNp5xwLdqMusc?= =?us-ascii?Q?ztgmpu4L6AsaYcQGRTEe99PztOkbr/WuoVR8nP3cvvochVleZ1rrc8qpkW6/?= =?us-ascii?Q?hao6hv+Mt7ezo8ivsp6NAPLI2RbcKjd2s2a0ENsi9vyTrGbMSB5vkoiBzvax?= =?us-ascii?Q?iv+A57ZVDXdrg2V8YlR3NrPy27WxREqsjCJbtp1SIPxYGIIuhGe2tkWbLAgP?= =?us-ascii?Q?acGDckjVLd/BCInqqt++n2HFsAbr/eNsjmiF/Xim43yWvmqDoV52KKw+HQJ6?= =?us-ascii?Q?4=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;5:jywbJbq1yef25hOk0tLEe9RcJvgQBZjJYa/rlMOQWxerL7IHI0MpKfFx/TtEDutpc0lReYoh6NbTAbDr1U7IvME+w0VFAUi5kE8chu9q31JIUAZJPA5E7pUFCmnuO+NbrOTbLvSMIIZKDfW0wM2igF9G76ud6yRMzHYB9UyG3fZgBYri13anXVumCZ+m65WNE3JTLRDbWRgMLVM+fw6ZoN2/BdMtKzo3XylpVGthSTcSq6HPxNFxJ2Sd57D6S7muA0KMLijO2O7o15pCP0frnQyn9k5D90g4/d+xElovKTvSTb7d+gCCbGh08Rq7QoGFXaOAX/6z/BTq3zDKNZoeK1Jmo6VSAj5SR72lzHgUUMHuTAQnHBsasacpDimHmFU07JqPWCY+BNymwsqA2UjnA5rJRihL1wPXNakyoqkdEv1eBO1R8SZnyJqLU5pik8dRlPOfYrNiOxxzi0i6KONuDvfy39ic+dhHYopwCcYjtsOy4DC0t+8eKxTitx8J1B/S;24:Y3M71oaSLiq2/png4oCWh1L7DKu3rRdUUxwOj+WUdYI7/F5gyZaFf/4PtpRHwdCgCC9IkoQfzjcsuDwV37T8/Pci8B0cxIuLIeMK8rMM4A8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;7:GzEvWU1rrRsemrnObl0SIzR1oDfLxd7BfntY/OT1iDL3PB97ujqIwX84AShAimrt60hZiGcB0p77GErjw1cY1Mb9CM2elWItERSn5rPGK5rKYpaNMt14IQ/RXwuWkqGiHk05+gz9XMzjOvETeLJ7xmx9j2YJn020fcsKoGfb5n8ihUMMqzrdrm8L09QRAl8ddoFIVksX73PnrRb4Z8oF/GfZDXm/WzXMXHrxYCPd9H3ig4Dj7Z3QlPRVO9G/jyhuPF/mptXqnzG3M8xPL3tHbFU6hB2xrfxGeWn3h8zba+Ch3qki+JEQdQGa8SKoSStNPRa7ycU9MiLoGK0NwqUUZQkkIRy2FFwFBrdBq+IbDdJcqPoC1Z9aityxDAxfxW43mgwH0gzHggGAAj3OZ2+zr+JD32YK+mbsxf+YElOHeYy94DHsZ9jvb5uKet8e86oh3uwHryyw5MKbV4/+sFgzq81Av+BAgfAcDRkpUjUzEVPTHKoSYwXiDSxxxfWv7VS+UUDOxePD5nIgLJXimNR1pj7p/iCidCv7E0S/a/9O2ytBbn9aY42rU0RfCkVbDfWStVKW5sQ+ZGzGyxaHgypD4x4Rkz4msmcPkxysSsEoclzShCj4j8lmREzsG0NjTRvy1Lr+T8toHCVBSQYhb1gm8jYbxrRcuFz8sy03i/M81NFoFlIR0R2q3/WKOzBvbkLGGoF/W0FL+d/Jf7+1W+bDpDWg74FmBkRYcQPmxyWuZ9n/z1Xgr0eLxjkYtbT1PR0WPtoZLx/e1Zz6c9aU5kmzw37jpx/4gYYnMELxzxDEfic= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2017 16:41:05.0323 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2586 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 992 Lines: 24 On Wed, Jul 26, 2017 at 05:25:15PM +0100, Jonathan Cameron wrote: > On Wed, 26 Jul 2017 17:46:23 +0200 > Jan Glauber wrote: > > > On Wed, Jul 26, 2017 at 04:17:11PM +0100, Suzuki K Poulose wrote: > > > How about adding a soc specific (wrapper) driver for the memory controller, which > > > could use the PCI id and trigger EDAC and PMU drivers (based on what is > > > selected by configs) ? > > > > Sounds good to me. Is there a driver that already does this? > Sounds like a classic MFD (multifunction device). There are quite a few pci > devices to be found under drivers/mfd/ than may provide some inspiration. I've looked into that before, from what I recall it did not fit my use case. After all these are multi-fn devices. > Jonathan > > > > --Jan > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel