Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters

From: Jonathan Cameron
Date: Wed Jul 26 2017 - 12:25:42 EST


On Wed, 26 Jul 2017 17:46:23 +0200
Jan Glauber <jan.glauber@xxxxxxxxxxxxxxxxxx> 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.

Jonathan
>
> --Jan
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel