Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432851 > unrolled thread
| Started by | Will Deacon <will.deacon@arm.com> |
|---|---|
| First post | 2016-06-28 13:00 +0200 |
| Last post | 2016-07-04 12:20 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support Will Deacon <will.deacon@arm.com> - 2016-06-28 13:00 +0200
Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support Will Deacon <will.deacon@arm.com> - 2016-07-04 12:20 +0200
| From | Will Deacon <will.deacon@arm.com> |
|---|---|
| Date | 2016-06-28 13:00 +0200 |
| Subject | Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support |
| Message-ID | <rOYUj-5RL-79@gated-at.bofh.it> |
Hi Jan, On Wed, Mar 09, 2016 at 05:21:02PM +0100, Jan Glauber wrote: > This patch series provides access to various counters on the ThunderX SOC. > > For details of the uncore implementation see patch #1. > > Patches #2-5 add the various ThunderX specific PMUs. > > As suggested I've put the files under drivers/perf/uncore. I would > prefer this location over drivers/bus because not all of the uncore > drivers are bus related. What's the status of these patches? Were you planning to send a new version? Will
[toc] | [next] | [standalone]
| From | Will Deacon <will.deacon@arm.com> |
|---|---|
| Date | 2016-07-04 12:20 +0200 |
| Message-ID | <rR98R-4mx-3@gated-at.bofh.it> |
| In reply to | #1432851 |
On Tue, Jun 28, 2016 at 04:04:59PM +0200, Jan Glauber wrote: > On Tue, Jun 28, 2016 at 11:24:20AM +0100, Will Deacon wrote: > > On Wed, Mar 09, 2016 at 05:21:02PM +0100, Jan Glauber wrote: > > > This patch series provides access to various counters on the ThunderX SOC. > > > > > > For details of the uncore implementation see patch #1. > > > > > > Patches #2-5 add the various ThunderX specific PMUs. > > > > > > As suggested I've put the files under drivers/perf/uncore. I would > > > prefer this location over drivers/bus because not all of the uncore > > > drivers are bus related. > > > > What's the status of these patches? Were you planning to send a new > > version? > > I was half-way through with addressing Mark's review comments when > got side-tracked. > > The principle question these patches raised remains open though in my > opinion, how to determine the socket a device belongs to. > > There is no first-class interface to ask a device or the firmware > which socket the device lives on. > > The options I see are: > A) Using NUMA node information, depends on CONFIG_NUMA > B) Decoding the socket bits of the PCI BAR address > C) Using PCI topology information > > A is what I tried, but I agree that depending on CONFIG_NUMA is not a good > solution. B would be easy but looks not very future-proof. So option C > is what is left... Sorry to go full circle on this, but "depends on NUMA" sounds better than deriving NUMA topology from PCI to me. The only worry I have is if the NUMA information ends up being insufficient in the long-term, and we end up with a mixture of the three options above in order to figure out the PMU topology. As long as you're happy that the PMU:NUMA topology remains 1:1, then I have no objections. The moment you need extra hacks on the side, we should probably drop the NUMA dependency altogether and figure it out some other way. Will
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web