[RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/*

Olof Johansson olof at lixom.net
Mon Apr 4 12:02:17 PDT 2016


On Sun, Apr 3, 2016 at 11:25 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Sun, Apr 03, 2016 at 11:39:18PM +0900, Masahiro Yamada wrote:
>> We have growing number of mach-* directories in arch/arm, and I guess
>> it might be a good time to discuss moving them into a sub-directory.
>
> What does it buy us?  Let me summarise the actual change:
>
> - Move up to 71 arch/arm/mach-* directories to arch/arm/platforms/*,
>   which just means another level of directory structure.  We still
>   end up with up to 71 directories in arch/arm/platforms/
>
> - The ability to use obj-y rather than machine-y, where both already
>   work in the same way.
>
> Is there anything I missed?
>
> If that is all, then I really do not like this change - it's seems
> to be churn for no benefit, and that's something we really should be
> minimising.  Linus Torvalds has historically moaned at the ARM
> architecture for stuff like this.

Been behind on email so chiming in late, but I agree -- this change
isn't bringing enough benefit to justify the churn.

Overall we're looking at adding as little new code into arch/arm/mach*
as possible, so making it easier to structure up and build more
elaborate contents in their corner of it seems a bit like a step
backwards.


-Olof



More information about the Linux-mediatek mailing list