Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751889AbdGZP2m (ORCPT ); Wed, 26 Jul 2017 11:28:42 -0400 Received: from mail.skyhub.de ([5.9.137.197]:46422 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbdGZP2l (ORCPT ); Wed, 26 Jul 2017 11:28:41 -0400 Date: Wed, 26 Jul 2017 17:28:01 +0200 From: Borislav Petkov To: Suzuki K Poulose Cc: Jan Glauber , Mark Rutland , Will Deacon , linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters Message-ID: <20170726152801.GD28875@nazgul.tnic> References: <20170725150422.4775-1-jglauber@cavium.com> <20170725150422.4775-2-jglauber@cavium.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0a0daa94-bad7-cbb5-e421-f8e9d6c79d54@arm.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 454 Lines: 14 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) ? That was the last idea on my list if nothing slicker comes up. Having a "multiplexer" driver just for the loading is meh. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --