From: johnstul@us.ibm.com (John Stultz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 1/9] clocksource: time-armada-370-xp: Marvell Armada 370/XP SoC timer driver
Date: Wed, 18 Jul 2012 20:57:32 -0700 [thread overview]
Message-ID: <500785AC.4000404@us.ibm.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1207182120180.9293@xanadu.home>
On 07/18/2012 06:41 PM, Nicolas Pitre wrote:
> On Wed, 18 Jul 2012, John Stultz wrote:
>
>> I'm also not a huge fan of adding clockevent drivers to drivers/clocksource/.
>>
>> Further, LinusW and I have different opinions on this (and its not that huge
>> of an issue), but I'd really prefer to see additions to drivers/clocksource be
>> only for clocksources that are likely to be shared *between architectures*.
> This is contrary to the push we've made for about 2 years now. We
> decided it is more beneficial to gather drivers according to their
> purpose and not according to the architecture they belong to. The
> reason is that it is far easier to abstract common functionality if
> those drivers are close by.
>
>> Similarly, I'd prefer architecture specific clocksources (like TSC on x86,
>> timebase on ppc, etc) stay in the arch subdir, just so theirs a clear
>> ownership of the driver (ie: if in 10 years specific hw support is dropped
>> from the arch directory, we don't end up with zombie drivers that live on
>> because generic driver maintainers don't know what hardware they're actually
>> connected to).
> The same argument was said about cpufreq drivers, and cpuidle drivers,
> and IRQ controller drivers, etc. They ended up in a common directory
> anyway. In the end this helps generic driver maintainers because you
> don't end up with the same infrastructure copied over and over, each
> time with slight alteration, making any common API maintenance a
> nightmare.
>
> Zombie drivers shouldn't be a huge issue when no one selects their
> kconfig symbol. On the other hand, drivers burried under various
> architecture directories are hard to maintain and abstract (ask tglx
> about his IRQ driver changes).
>
>> (But I'm somewhat flexible on this last point, as long as there really is a
>> chance it might be shared at some point)
> I think that common purpose is more important a criteria than
> sharability. It's hard to say in advance if a piece of code might be
> shared or not. On the other hand, its purpose should be rather clear.
Alright, alright, I'll just grumble along with it then. :)
-john
next prev parent reply other threads:[~2012-07-19 3:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-06 15:23 [PATCH v9] arm: Add basic support for new Marvell Armada 370 and Armada XP SoC Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 1/9] clocksource: time-armada-370-xp: Marvell Armada 370/XP SoC timer driver Thomas Petazzoni
2012-07-18 23:48 ` John Stultz
2012-07-18 23:51 ` John Stultz
2012-07-19 1:41 ` Nicolas Pitre
2012-07-19 3:57 ` John Stultz [this message]
2012-07-06 15:23 ` [PATCH v9 2/9] arm: mach-mvebu: add header Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 3/9] arm: mach-mvebu: add source files Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 4/9] arm: mach-mvebu: add support for Armada 370 and Armada XP with DT Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 5/9] arm: mach-mvebu: add documentation for new device tree bindings Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 6/9] arm: mach-mvebu: add defconfig Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 7/9] arm: mach-mvebu: add compilation/configuration change Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 8/9] arm: mach-mvebu: add entry to MAINTAINERS Thomas Petazzoni
2012-07-06 15:23 ` [PATCH v9 9/9] ARM: mvebu: MPIC: read number of interrupts from control register Thomas Petazzoni
2012-07-10 9:16 ` [PATCH v9] arm: Add basic support for new Marvell Armada 370 and Armada XP SoC Thomas Petazzoni
2012-07-10 12:03 ` Arnd Bergmann
2012-07-10 12:18 ` Gregory CLEMENT
2012-07-10 14:01 ` Arnd Bergmann
2012-07-10 14:12 ` Gregory CLEMENT
2012-07-20 14:21 ` Ian Molton
2012-07-20 17:02 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=500785AC.4000404@us.ibm.com \
--to=johnstul@us.ibm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.