Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370327

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

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/*
Date 2016-04-04 04:00 +0200
Message-ID <rk1Y5-3Vj-3@gated-at.bofh.it> (permalink)
References <rjRvI-4QL-7@gated-at.bofh.it> <rjUWC-7zj-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Russell,

2016-04-04 3:25 GMT+09:00 Russell King - ARM Linux <linux@arm.linux.org.uk>:
> 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/

True, but we can separate non-SoC directories (kernel/, mm/, configs/, etc.)
from mach- directories, at least.


> - The ability to use obj-y rather than machine-y, where both already
>   work in the same way.

Yes, but Kbuild standard Makefiles might provide more flexible
directory structures
to tidy up similar SoC families from the same vendor.

For example,

arch/arm/platforms/samsung/
arch/arm/platforms/samsung/exynos/
arch/arm/platforms/samsung/s3c64xx/

instead of

arch/arm/plat-samsung/
arch/arm/mach-exynos/
arch/arm/mach-s3c64xx/

I am missing something, though.



> 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.

OK.


-- 
Best Regards
Masahiro Yamada

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/* Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-03 16:50 +0200
  [RFC PATCH 9/9] ARM: bcm: move mach-bcm/ to platforms/bcm/ Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-03 16:50 +0200
  [RFC PATCH 2/9] ARM: uniphier: move mach-uniphier/ to platforms/uniphier/ Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-03 16:50 +0200
  [RFC PATCH 3/9] ARM: zynq: move mach-zynq/ to platforms/zynq/ Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-03 16:50 +0200
  [RFC PATCH 1/9] ARM: prepare arch/arm/platforms for immigration Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-03 16:50 +0200
  Re: [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to  arch/arm/platforms/* Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-03 20:30 +0200
    Re: [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/* Florian Fainelli <f.fainelli@gmail.com> - 2016-04-04 04:00 +0200
    Re: [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/* Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-04 04:00 +0200
    Re: [RFC PATCH 0/9] ARM: start to move arch/arm/mach-* to arch/arm/platforms/* Olof Johansson <olof@lixom.net> - 2016-04-04 21:10 +0200

csiph-web