Messages in this thread | | | Date | Wed, 26 Jul 2017 18:40:54 +0200 | From | Jan Glauber <> | Subject | Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters |
| |
On Wed, Jul 26, 2017 at 05:25:15PM +0100, Jonathan Cameron wrote: > On Wed, 26 Jul 2017 17:46:23 +0200 > Jan Glauber <jan.glauber@caviumnetworks.com> 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
| |