Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330AbdHOJN6 (ORCPT ); Tue, 15 Aug 2017 05:13:58 -0400 Received: from mail-sn1nam01on0050.outbound.protection.outlook.com ([104.47.32.50]:35650 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751807AbdHOJN4 (ORCPT ); Tue, 15 Aug 2017 05:13:56 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jan.Glauber@cavium.com; Date: Tue, 15 Aug 2017 11:13:38 +0200 From: Jan Glauber To: Will Deacon Cc: Greg KH , Borislav Petkov , David Daney , Mark Rutland , Suzuki K Poulose , linux-pci@vger.kernel.org, "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: <20170815091338.GA3317@hc> References: <20170726163049.GG28875@nazgul.tnic> <20170726173353.GB21705@kroah.com> <1a2eedea-040d-c746-eaf0-1d8085b3f2bf@gmail.com> <20170726200802.GA17722@kroah.com> <20170727051157.GA4525@nazgul.tnic> <20170727090856.GB15784@hc> <20170727131515.GC28548@nazgul.tnic> <20170728231233.GA29240@kroah.com> <20170808132509.GJ13355@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170808132509.GJ13355@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [88.67.130.225] X-ClientProxiedBy: HE1PR0402CA0030.eurprd04.prod.outlook.com (10.167.34.147) To CY1PR07MB2586.namprd07.prod.outlook.com (10.167.16.136) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 41defebc-c862-4cd1-8d87-08d4e3bdf343 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR07MB2586; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;3:rIuz0kN9UaWov0VlKt/2o+iNt+bvnD7o6vJyNyzZKit8qlrWaq2vctCsd8hZ2cFFPXgXGJ+9fb9G1q39Pkd1W76o0NSZzpofbwKfIP9Is4z4J2kUHKIRuNKzNygGeMC9s7D9CxlOvyClxEDrxtKKzH43efWNIN7I/e1S9mtu5FEzbz9DkUGGzoFSfZkR8ms5o6t+jM9f++I/48WfskGOqWzHap0DEBZkuBI5ZExRq9XZKExGmMZ3QKI9UZ0hBgGy;25:dSbnCQPq/l6/8GkW+Av0n0+q6GoRAsTm43JNCAoK5v+Ei0VoF8DsFvBZWHxw/tmLwuJBn9X0pvmLQte5C2UcH563nMO7J4ccuG+5zv/6OW/qmckFHasTKOv23YyTBjh2Ikr5yZ6BHy1LL5VEFqD+smsNv8J96ud/VyDJTM2Qrvp8ZVIeGjDr/xywL34G3DPrYoLAW0PgbIr1wWAqsbeaoJmUqUJP78rvSeGDX5Tsqukai5J40P953LBgIGOlcGognXZhdkIkEKxRmuZMwd6z/01WgofL8KN0bBvuScByzGqa8rESpiruhIxEVJOzM+B0Wg15myS236gkpaSoOoanVA==;31:VKzNsfFHy4/mhbIgA50i3Pb0jJsJ+Go/wx95DrMBVsRnEfXy1fUUe3ipLHzIRDFZsn2wrGAiA6hHU0VkMbP+dL+EnLdSigeE8RQdOLxP4k9HINa2maS2hISegOzgF2q+J6dNXYaowWaYZFYiP3vHs9XfZ4UZaeueqAq1jZmR3sm6Vvd25DiZBXVS0TBIGFCkWu9foJDsAVCIJeO6CYIexl0pFkn96lde2aZqyNcbqzY= X-MS-TrafficTypeDiagnostic: CY1PR07MB2586: X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;20:sZtVQGuW8TihD0mcZKBXPrtloj5xWDOOlKhkniGs70OWgqlQP+4z7nwRAGqqE+GavdD17QADIClkRPdAmE7sF/PvsPgHNeLTCDHBgAWeXOHFt4H+Fw+uYULkC8QBU0zL7l1n9kTgKA9bzUMgfwWXvyFyMHCQ/CRnT8+GC5960o+nx6nF8JpJu1JKXnZ+xk32K5jzigqj4esaRfBjE4ZIUG5IUKRuQ2ehXOpn67TdZjfHtN/Y4GuOvhTPy+6pgqqN0xj1BzV38yy5m5I+LvhEVUizhDzj2OgaqLBXHpsgjSY3sj99NvavEjZ4DW56z+OKietV+XPm7Rm8ErKWUkXdkKs2YZ1MXHiOs6A4HGSV0U96dG6UeqUuX+hNrY7YT7B6CCQnT+2fEEc+G8fMYl1AB+LcpCGDyjSYP3o9yoqSfrj3RNfBxpIw1XNMBu44iXgrRNMDho8MpAzXkhD2bny53gQrkq0pVwCfPGGqbL7cMgTvgelTJ20FZUfoe5k4bt5lojDTNg2p4IOptlFmXt8ya8LBtdIHFMSpCnIK9DyZySkAhxfzLz9iz7DNMcprr8uVwJIyaKkje6/GCCBI71k9lehjsG6oyDK1iynTyq69Pac=;4:ZLw2UsyMw2OkVJv7iMDopTCdOBDjpGdw0d1ER8ksPa69bWyeQM9oI7IebF7wCZ1903r9NR4hRXu7PLMrjdJ9T6ZZSAX1ElJCtWlMY0UYudLWq0pRbEvVrJcTGRdc8J4qRR/fJcLbz4jhgVcc+oAyQxZulUJfAcP0nN1kWoaDrZWXVJoRqmF4rcv08KHQgPjzjqtIqzuI64QS37HIYNAQtVBHKvqmHljvs5iOPkzKrWXmHkofCTMuUt4F/L+HBPHO 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)(93006095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123558100)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(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-Forefront-PRVS: 04004D94E2 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(199003)(24454002)(189002)(1076002)(53936002)(189998001)(25786009)(6246003)(110136004)(6496005)(23726003)(229853002)(6666003)(3846002)(478600001)(97736004)(6116002)(4326008)(4001350100001)(42882006)(54356999)(33656002)(7350300001)(76176999)(50986999)(66066001)(47776003)(2950100002)(6916009)(50466002)(93886004)(42186005)(8676002)(81166006)(106356001)(101416001)(81156014)(72206003)(33716001)(7736002)(54906002)(305945005)(55016002)(2906002)(5660300001)(83506001)(68736007)(105586002)(9686003)(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:U18QBEo4MNIiW2myPBI/+/+dKr4xuKUx6uGqMQr2u?= =?us-ascii?Q?OHBcMcJyNc2RTbZXX8Yx2T5nZtnjHSoStqi3XiwjJQ44d83Qti5t1A6lLNpJ?= =?us-ascii?Q?RhyMvymniXfvhQhy9A8VuOLZvVIPSqJ2kLFi4K5PF1ZIApVjGRtMYKFJJbwl?= =?us-ascii?Q?pUQrLZkSfF6/AvNvv5NJ+ZkD2IYPzMV65ndQKcYqmAIRtGZwejw0DanFYHX+?= =?us-ascii?Q?aLk3kShLqnlmYc5GGpH6T1jWr4+jiOz/sf1upqH2oe4PtAb3a8VBIF07a8mX?= =?us-ascii?Q?yP95LA31YZRKEEYFOjYGp6i7XrKnRvhOih0fk0TueQlNkuG9BoBmPKaQi6n4?= =?us-ascii?Q?z01YwMY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vK6VMyOp7sh?= =?us-ascii?Q?uMdEgEgM8XmtbKzuz+Hd0ErKtM60zV63clcHNLR?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2586;6:VcG9TCv6hhUX5PwTmg+r0SfWBYPORj1jBHyMxRLRfEYT974a9mpWQjhymXnACkTQZ0birIVnVcAz/qCRMh8MJgCpP8I5PCA4zBfSxaqnmLaSsxy7q/y1RMoLzSji1J0E1m3ZmyN/y84qyRAdw4GpBwdzo1dqrbK6xZk8moNvwQE/lnv1rOJczncm1lUIRu1u/B5us7x+SOjmKtfKbL7UUPHxVB0Mhy9MEjS4ILLEeDGi7elPizuTSPFG+ydo1E7EHDMVFBxMSKAqYiEvHqovI7KgB7aHDyixR4/th0GQ7kufo19R+K6mksgYt06ERZn0K05JKCOqoB8mRiCjmgXQeQ==;5:Om58inP/BPI0VtdddtlA8S6fPl9DQNBcku6D9v2Qulp45iV/5qDTgLqWyIM1w69Fsm2lrFckOosiPQK+MOhxun+/h/nw/DLVXRTdAlPNiHMoH9jSZgP4s3AhuXWl9nOpQC5RDxSzdpYmCF/TSAskTQ==;24:AFII7dJbBJf6akecfIUQteweVjFuC3qUUR2h8vkhOPhllqiJkDTZo+ki58DL3z/xBJPeXJIhu7YD0TeUl5ic1gQ0l9hxaA7WyapKrFf0yzI=;7:47IiOvULMi5HYUVuqOhYogBR3idr1ixzHhUU6Ptsvmpema+R5rm1rwi6MY0XMvtM+b81TmgM5kToumQlsbAJbwcDpvbsqAllTLVi2NW+YVPoXR1yxy87Sh6ZmoQjuE/Wfh/ftokBsQ4jMFwHZvXpm0OoVQOHLV2joMZSdQmlqLEx3ozDHADGgUe0rxMAcBfWYPJkUcbp/n8SRIcAFmv99ezveIk1Rl2YjfHHYZbqJzk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2017 09:13:51.2057 (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: 1086 Lines: 26 On Tue, Aug 08, 2017 at 02:25:10PM +0100, Will Deacon wrote: > On Fri, Jul 28, 2017 at 04:12:33PM -0700, Greg KH wrote: > > On Thu, Jul 27, 2017 at 03:15:15PM +0200, Borislav Petkov wrote: > > > On Thu, Jul 27, 2017 at 11:08:56AM +0200, Jan Glauber wrote: > > > > 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? > > > > > > Uff, no idea. Greg? You're the special drivers guy. :-) > > > > Start out in misc/ and let's see the code to determine if it should be > > moved elsewhere. > > Jan, are you ok making this change, or are you waiting for anything else > from us? (Mark and I are just going through the pending PMU patches and > we're not clear on the status of this one). Hi Will, it's my turn but I was on vacation. It was not completely trivial (well, to me) to get the multiplexing working with modules but I'll look at it again this week. Cheers, Jan