ARM: SoC: add a new platform, UniPhier (arch/arm/mach-uniphier)
Subsystems (5)
v7 cover ARM: SoC: add a new platform, UniPhier (arch/arm/mach-uniphier)
This is an initial series for supporting Socionext UniPhier SoCs, based on ARM Cortex-A9, mainly used for digital TVs, video recorders, etc.
Masahiro Yamada (4):
ARM: UniPhier: add basic support for UniPhier architecture
ARM: multi_v7_defconfig: enable UniPhier SoC family
ARM: dts: UniPhier: add support for UniPhier SoCs and boards
MAINTAINERS: add myself as ARM/UniPhier maintainer
MAINTAINERS | 7 ++ arch/arm/Kconfig | 2 + arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 5 ++ arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts | 79 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 110 +++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-pro4-ref.dts | 79 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-pro4.dtsi | 117 +++++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld3-ref.dts | 80 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld3.dtsi | 117 +++++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld8-ref.dts | 79 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld8.dtsi | 110 +++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-support-card.dtsi | 65 +++++++++++++++ arch/arm/configs/multi_v7_defconfig | 1 + arch/arm/mach-uniphier/Kconfig | 11 +++ arch/arm/mach-uniphier/Makefile | 2 + arch/arm/mach-uniphier/platsmp.c | 90 +++++++++++++++++++++ arch/arm/mach-uniphier/uniphier.c | 30 +++++++ 18 files changed, 985 insertions(+) create mode 100644 arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-ld4.dtsi create mode 100644 arch/arm/boot/dts/uniphier-ph1-pro4-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-pro4.dtsi create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld3-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld3.dtsi create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld8-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld8.dtsi create mode 100644 arch/arm/boot/dts/uniphier-support-card.dtsi create mode 100644 arch/arm/mach-uniphier/Kconfig create mode 100644 arch/arm/mach-uniphier/Makefile create mode 100644 arch/arm/mach-uniphier/platsmp.c create mode 100644 arch/arm/mach-uniphier/uniphier.c
Signature · 1 line
1.9.1
PATCH v7 1/4 ARM: UniPhier: add basic support for UniPhier architecture
Initial commit for a new SoC family, UniPhier, developed by Socionext Inc. (formerly, System LSI Business Division of Panasonic Corporation).
This commit includes a minimal set of components for booting the kernel, including SMP support.
---
Changes in v7: None
Changes in v6: None
Changes in v5:
- Move syscon_regmap_lookup_by_compatible() call to smp_prepare_cpus handler
Changes in v4:
- Access to SMP register with base + offset(0x1208).
Changes in v3:
- Replace <asm/io.h> with <linux/io.h>
- Rename uniphier_board_dt_compat to uniphier_dt_compat
- Move uniphier_secondary_startup into platsmp.c as __naked function
- Add return before "err:" label (bug fix)
- Use syscon driver rather than hard-coded register address
Changes in v2:
- Fix SoC compatible string
"socionext,ph1-proxstream2" -> "socionext,proxstream2"
arch/arm/Kconfig | 2 + arch/arm/Makefile | 1 + arch/arm/mach-uniphier/Kconfig | 11 +++++ arch/arm/mach-uniphier/Makefile | 2 + arch/arm/mach-uniphier/platsmp.c | 90 +++++++++++++++++++++++++++++++++++++++ arch/arm/mach-uniphier/uniphier.c | 30 +++++++++++++ 6 files changed, 136 insertions(+) create mode 100644 arch/arm/mach-uniphier/Kconfig create mode 100644 arch/arm/mach-uniphier/Makefile create mode 100644 arch/arm/mach-uniphier/platsmp.c create mode 100644 arch/arm/mach-uniphier/uniphier.c
arch/arm/Kconfig +2 -0
@@ -937,6 +937,8 @@ source "arch/arm/mach-tegra/Kconfig" source "arch/arm/mach-u300/Kconfig" +source "arch/arm/mach-uniphier/Kconfig" + source "arch/arm/mach-ux500/Kconfig" source "arch/arm/mach-versatile/Kconfig"
arch/arm/Makefile +1 -0
@@ -200,6 +200,7 @@ machine-$(CONFIG_ARCH_SUNXI) += sunxi machine-$(CONFIG_ARCH_TEGRA) += tegra machine-$(CONFIG_ARCH_U300) += u300 machine-$(CONFIG_ARCH_U8500) += ux500 +machine-$(CONFIG_ARCH_UNIPHIER) += uniphier machine-$(CONFIG_ARCH_VERSATILE) += versatile machine-$(CONFIG_ARCH_VEXPRESS) += vexpress machine-$(CONFIG_ARCH_VT8500) += vt8500
arch/arm/mach-uniphier/Kconfig new file +11 -0
@@ -0,0 +1,11 @@ +config ARCH_UNIPHIER + bool "Socionext UniPhier SoCs" + depends on ARCH_MULTI_V7 + select ARM_AMBA + select ARM_GLOBAL_TIMER + select ARM_GIC + select HAVE_ARM_SCU + select HAVE_ARM_TWD + help + Support for UniPhier SoC family developed by Socionext Inc. + (formerly, System LSI Business Division of Panasonic Corporation)
arch/arm/mach-uniphier/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +obj-y := uniphier.o +obj-$(CONFIG_SMP) += platsmp.o
arch/arm/mach-uniphier/platsmp.c new file +90 -0
90 lines not on this page · raw message
arch/arm/mach-uniphier/uniphier.c new file +30 -0
@@ -0,0 +1,30 @@ +/* +* Copyright (C) 2015 Masahiro Yamada <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#include <asm/mach/arch.h> + +static const char *const uniphier_dt_compat[]__initconst = { +"socionext,ph1-sld3" , +"socionext,ph1-ld4" , +"socionext,ph1-pro4" , +"socionext,ph1-sld8" , +"socionext,ph1-pro5" , +"socionext,proxstream2" , +"socionext,ph1-ld6b" , +NULL , +}; + +DT_MACHINE_START (UNIPHIER ,"Socionext UniPhier" ) + .dt_compat = uniphier_dt_compat, +MACHINE_END
Signature · 1 line
1.9.1
PATCH v7 2/4 ARM: multi_v7_defconfig: enable UniPhier SoC family
In reply to Masahiro YamadaAdd UniPhier, a new citizen in the ARM multi platform.
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
@@ -83,6 +83,7 @@ CONFIG_ARCH_TEGRA_3x_SOC=y CONFIG_ARCH_TEGRA_114_SOC=y CONFIG_ARCH_TEGRA_124_SOC=y CONFIG_TEGRA_EMC_SCALING_ENABLE=y +CONFIG_ARCH_UNIPHIER=y CONFIG_ARCH_U8500=y CONFIG_MACH_HREFV60=y CONFIG_MACH_SNOWBALL=y
Signature · 1 line
1.9.1
PATCH v7 3/4 ARM: dts: UniPhier: add support for UniPhier SoCs and boards
In reply to Masahiro YamadaInitial device trees for UniPhier SoCs: PH1-sLD3, PH1-LD4, PH1-Pro4, and PH1-sLD8.
---
Changes in v7:
- Remove redundant "fifo-size" from the 16550A uart node
Changes in v6:
- Remove redundant interrupt-parent property from timer nodes.
Changes in v5: None
Changes in v4:
- Add system-bus-controller-misc node instead of uniphier-smp-reg node
Changes in v3:
- License under GPL/X11
- Drop "earlyprintk" kernel-parameter, add "stdout-path" property
- Add syscon device for SMP boot support in order not to hard-code register address in platsmp.c
Changes in v2: None
arch/arm/boot/dts/Makefile | 5 ++ arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts | 79 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 110 +++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-pro4-ref.dts | 79 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-pro4.dtsi | 117 +++++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld3-ref.dts | 80 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld3.dtsi | 117 +++++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld8-ref.dts | 79 ++++++++++++++++++ arch/arm/boot/dts/uniphier-ph1-sld8.dtsi | 110 +++++++++++++++++++++++++ arch/arm/boot/dts/uniphier-support-card.dtsi | 65 +++++++++++++++ 10 files changed, 841 insertions(+) create mode 100644 arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-ld4.dtsi create mode 100644 arch/arm/boot/dts/uniphier-ph1-pro4-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-pro4.dtsi create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld3-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld3.dtsi create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld8-ref.dts create mode 100644 arch/arm/boot/dts/uniphier-ph1-sld8.dtsi create mode 100644 arch/arm/boot/dts/uniphier-support-card.dtsi
arch/arm/boot/dts/Makefile +5 -0
@@ -600,6 +600,11 @@ dtb-$(CONFIG_ARCH_U8500) += \ ste-hrefv60plus-tvk.dtb \ ste-ccu8540.dtb \ ste-ccu9540.dtb +dtb-$(CONFIG_ARCH_UNIPHIER) += \ + uniphier-ph1-sld3-ref.dtb \ + uniphier-ph1-ld4-ref.dtb \ + uniphier-ph1-pro4-ref.dtb \ + uniphier-ph1-sld8-ref.dtb dtb-$(CONFIG_ARCH_VERSATILE) += \ versatile-ab.dtb \ versatile-pb.dtb
arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts new file +79 -0
79 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-ld4.dtsi new file +110 -0
110 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-pro4-ref.dts new file +79 -0
79 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-pro4.dtsi new file +117 -0
117 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-sld3-ref.dts new file +80 -0
80 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-sld3.dtsi new file +117 -0
117 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-sld8-ref.dts new file +79 -0
79 lines not on this page · raw message
arch/arm/boot/dts/uniphier-ph1-sld8.dtsi new file +110 -0
110 lines not on this page · raw message
arch/arm/boot/dts/uniphier-support-card.dtsi new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v7 4/4 MAINTAINERS: add myself as ARM/UniPhier maintainer
In reply to Masahiro Yamada---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
MAINTAINERS | 7 +++++++ 1 file changed, 7 insertions(+)
MAINTAINERS +7 -0
@@ -1525,6 +1525,13 @@ F: drivers/rtc/rtc-ab3100.c F: drivers/rtc/rtc-coh901331.c T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git +ARM/UNIPHIER ARCHITECTURE +M: Masahiro Yamada <[email protected]> +L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers) +S: Maintained +F: arch/arm/mach-uniphier/ +N: uniphier + ARM/Ux500 ARM ARCHITECTURE M: Linus Walleij <[email protected]> L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
Signature · 1 line
1.9.1
Quoted 9 lines · On Friday 08 May 2015 13:07:10 Masahiro Yamada wrote:
This is an initial series for supporting Socionext UniPhier SoCs, based on ARM Cortex-A9, mainly used for digital TVs, video recorders, etc.
Masahiro Yamada (4):
ARM: UniPhier: add basic support for UniPhier architecture
ARM:multi_v7_defconfig: enable UniPhier SoC family
ARM: dts: UniPhier: add support for UniPhier SoCs and boards
MAINTAINERS: add myself as ARM/UniPhier maintainer
Applied all four patches, to the next/soc, next/defconfig, next/dt and next/soc branches respectively.
Welcome as our latest new maintainer. In the future, please send any follow-up patches for the architecture specific code to arm at kernel.org in addition to the normal recipients, once you consider them ready to be applied.
Arnd
Hi Arnd,
2015-05-13 0:00 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 5 lines · On Friday 08 May 2015 13:07:10 Masahiro Yamada wrote:
Quoted 4 lines
This is an initial series for supporting Socionext UniPhier SoCs, based on ARM Cortex-A9, mainly used for digital TVs, video recorders, etc.
Quoted 8 lines
Quoted 5 lines
Masahiro Yamada (4):
ARM: UniPhier: add basic support for UniPhier architecture
ARM:multi_v7_defconfig: enable UniPhier SoC family
ARM: dts: UniPhier: add support for UniPhier SoCs and boards
MAINTAINERS: add myself as ARM/UniPhier maintainerApplied all four patches, to the next/soc, next/defconfig, next/dt and next/soc branches respectively.
Thanks!
I can see them.
Quoted 4 lines
Welcome as our latest new maintainer. In the future, please send any follow-up patches for the architecture specific code to arm at kernel.org in addition to the normal recipients, once you consider them ready to be applied.
Please teach me a little more because I am not experienced enough in this community.
I checked MAINTAINERS, but I could not find arm at kernel.org. Is it documented somewhere?
I found ARM SUB-ARCHITECTURES entry in that file, but it does not mention the responsible individuals.
(I assume, you and Olof are the ones.)
ARM SUB-ARCHITECTURES
L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm/mach-*/ F: arch/arm/plat-*/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git
I have one more question.
Are you receiving pull requests from each sub-arch maintainer? Or should every patch be submitted to arm at kernel.org and applied by you (or other ARM-SoC maintainers)?
I have not earned enough reputations in this ML, so I know it is too early for me to handle pull-reqs.
I understand the general development process of Linux, but the maintainership of the ARM-SoC subsystem looks more hierarchized, so I just want to know its development process correctly.
Signature · 2 lines
Best Regards Masahiro Yamada
Arnd Bergmann
maintainerQuoted 12 lines · On Wednesday 13 May 2015 16:00:21 Masahiro Yamada wrote:
2015-05-13 0:00 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 5 lines · On Friday 08 May 2015 13:07:10 Masahiro Yamada wrote:
Welcome as our latest new maintainer. In the future, please send any follow-up patches for the architecture specific code to arm at kernel.org in addition to the normal recipients, once you consider them ready to be applied.
Please teach me a little more because I am not experienced enough in this community.
Quoted 7 lines
I checked
MAINTAINERS, but I could not find arm at kernel.org. Is it documented somewhere?I found ARM SUB-ARCHITECTURES entry in that file, but it does not mention the responsible individuals.
(I assume, you and Olof are the ones.)
We normally only take patches from subarch maintainers that know who we are and how it works, but we don't want to be Cc'd on every single patch, so we don't have an entry in MAINTAINERS directly.
Quoted 6 lines
I have one more question.
Are you receiving pull requests from each sub-arch maintainer? Or should every patch be submitted to arm at kernel.org and applied by you (or other ARM-SoC maintainers)?
Quoted 6 lines
I have not earned enough reputations in this ML, so I know it is too early for me to handle pull-reqs.
I understand the general development process of Linux, but the maintainership of the ARM-SoC subsystem looks more hierarchized, so I just want to know its development process correctly.
No worries, if you are unsure you can always ask us on the mailing list or on the #armlinux channel on irc.freenode.net.
If you have more than a few patches at once, we'd always appreciate a pull request, for a couple of patches, emails to arm at kernel.org plus linux-arm-kernel are fine as well.
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
Often when you add a new driver, that will require sending the driver code to a subsystem maintainer, and the dts changes to us. If everything goes well, your DT bindings are both forward and backward compatible, so they can get merged independently. If you ever have interdependencies between them, talk to us first so we can find a solution.
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
Arnd
Hi Arnd,
Quoted 7 lines · Arnd Bergmann
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
Is a pull request from a kernel.org repo trusted more than the key itself? In other words, if I sign my pull request with a trusted key, why would the git repo location make any difference?
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -Arnd Bergmann
maintainerQuoted 11 lines · On Wednesday 13 May 2015 11:32:34 Baruch Siach wrote:
Hi Arnd,
Quoted 7 lines · Arnd Bergmann
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
Quoted 3 lines
Is a pull request from a kernel.org repo trusted more than the key itself? In other words, if I sign my pull request with a trusted key, why would the git repo location make any difference?
The main advantage is higher confidence I have in your pull request if I don't look at the signature, because I can assume that someone else already did when you got your account.
Arnd
Hi Arnd,
2015-05-13 16:48 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 16 lines · On Wednesday 13 May 2015 16:00:21 Masahiro Yamada wrote:
Quoted 15 lines
2015-05-13 0:00 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 5 lines · On Friday 08 May 2015 13:07:10 Masahiro Yamada wrote:
Welcome as our latest new maintainer. In the future, please send any follow-up patches for the architecture specific code to arm at kernel.org in addition to the normal recipients, once you consider them ready to be applied.
Please teach me a little more because I am not experienced enough in this community.
I checked
MAINTAINERS, but I could not find arm at kernel.org. Is it documented somewhere?
Quoted 8 lines
Quoted 4 lines
I found ARM SUB-ARCHITECTURES entry in that file, but it does not mention the responsible individuals.
(I assume, you and Olof are the ones.)We normally only take patches from subarch maintainers that know who we are and how it works, but we don't want to be Cc'd on every single patch, so we don't have an entry in
MAINTAINERSdirectly.
I see.
Quoted 30 lines
Quoted 6 lines
I have one more question.
Are you receiving pull requests from each sub-arch maintainer? Or should every patch be submitted to arm at kernel.org and applied by you (or other ARM-SoC maintainers)?
Quoted 6 lines
I have not earned enough reputations in this ML, so I know it is too early for me to handle pull-reqs.
I understand the general development process of Linux, but the maintainership of the ARM-SoC subsystem looks more hierarchized, so I just want to know its development process correctly.
No worries, if you are unsure you can always ask us on the mailing list or on the #armlinux channel on irc.freenode.net.
If you have more than a few patches at once, we'd always appreciate a pull request, for a couple of patches, emails to arm at kernel.org plus linux-arm-kernel are fine as well.
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
Often when you add a new driver, that will require sending the driver code to a subsystem maintainer, and the dts changes to us. If everything goes well, your DT bindings are both forward and backward compatible, so they can get merged independently. If you ever have interdependencies between them, talk to us first so we can find a solution.
Quoted 7 lines
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
For now, I am not handling many patches, so I will send them to the ML.
If I need to send pull-reqs someday, I will ask for help.
Many thanks!!
Signature · 2 lines
Best Regards Masahiro Yamada
Hi Arnd,
2015-05-13 16:48 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 63 lines · On Wednesday 13 May 2015 16:00:21 Masahiro Yamada wrote:
Quoted 12 lines
2015-05-13 0:00 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 5 lines · On Friday 08 May 2015 13:07:10 Masahiro Yamada wrote:
Welcome as our latest new maintainer. In the future, please send any follow-up patches for the architecture specific code to arm at kernel.org in addition to the normal recipients, once you consider them ready to be applied.
Please teach me a little more because I am not experienced enough in this community.
Quoted 7 lines
I checked
MAINTAINERS, but I could not find arm at kernel.org. Is it documented somewhere?I found ARM SUB-ARCHITECTURES entry in that file, but it does not mention the responsible individuals.
(I assume, you and Olof are the ones.)We normally only take patches from subarch maintainers that know who we are and how it works, but we don't want to be Cc'd on every single patch, so we don't have an entry in
MAINTAINERSdirectly.Quoted 6 lines
I have one more question.
Are you receiving pull requests from each sub-arch maintainer? Or should every patch be submitted to arm at kernel.org and applied by you (or other ARM-SoC maintainers)?
Quoted 6 lines
I have not earned enough reputations in this ML, so I know it is too early for me to handle pull-reqs.
I understand the general development process of Linux, but the maintainership of the ARM-SoC subsystem looks more hierarchized, so I just want to know its development process correctly.
No worries, if you are unsure you can always ask us on the mailing list or on the #armlinux channel on irc.freenode.net.
If you have more than a few patches at once, we'd always appreciate a pull request, for a couple of patches, emails to arm at kernel.org plus linux-arm-kernel are fine as well.
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
Often when you add a new driver, that will require sending the driver code to a subsystem maintainer, and the dts changes to us. If everything goes well, your DT bindings are both forward and backward compatible, so they can get merged independently. If you ever have interdependencies between them, talk to us first so we can find a solution.
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
Quoted 1 line
Arnd
About 7 months have passed since I became a sub-arch maintainer (ARM/UniPhier), and I am hoping now I deserve to have the gpg key thing you mentioned.
Could you help me get a key and a kernel.org account to host a git tree?
It would make it easier to get SoC-specific things in without loading you and Olof.
Signature · 2 lines
Best Regards Masahiro Yamada
Arnd Bergmann
maintainerQuoted 29 lines · On Monday 18 January 2016 19:54:08 Masahiro Yamada wrote:
2015-05-13 16:48 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 19 lines · On Wednesday 13 May 2015 16:00:21 Masahiro Yamada wrote:
No worries, if you are unsure you can always ask us on the mailing list or on the #armlinux channel on irc.freenode.net.
If you have more than a few patches at once, we'd always appreciate a pull request, for a couple of patches, emails to arm at kernel.org plus linux-arm-kernel are fine as well.
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
Often when you add a new driver, that will require sending the driver code to a subsystem maintainer, and the dts changes to us. If everything goes well, your DT bindings are both forward and backward compatible, so they can get merged independently. If you ever have interdependencies between them, talk to us first so we can find a solution.
Quoted 7 lines
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
Quoted 7 lines
About 7 months have passed since I became a sub-arch maintainer (ARM/UniPhier), and I am hoping now I deserve to have the gpg key thing you mentioned.
Could you help me get a key and a kernel.org account to host a git tree?
It would make it easier to get SoC-specific things in without loading you and Olof.
Getting the kernel.org account should be straightforward once you have a signed gpg key, see the description in https://www.kernel.org/category/faq.html
If you don't have a gpg key yet, please generate one with 4096 bits keylength now. It's good to get as many signatures as possible from people that already have signatures by other kernel contributors. The complication is that you anyone who signs your key needs to verify your identity, otherwise the signature method would not be helpful.
I have added three people to Cc that might be able you here: I understand that you live in Osaka, so Simon Horman would be physically the closest in Kobe. Takahiro Akashi works at Socionext in Tokyo, and I think you already know Akira Tsukamoto.
If you happen to be in the same place with one of them, or maybe they have already signed the key of someone close by.
Arnd
Hi Arnd,
2016-01-18 22:49 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 52 lines · On Monday 18 January 2016 19:54:08 Masahiro Yamada wrote:
Quoted 29 lines
2015-05-13 16:48 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 19 lines · On Wednesday 13 May 2015 16:00:21 Masahiro Yamada wrote:
No worries, if you are unsure you can always ask us on the mailing list or on the #armlinux channel on irc.freenode.net.
If you have more than a few patches at once, we'd always appreciate a pull request, for a couple of patches, emails to [email protected] plus linux-arm-kernel are fine as well.
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
Often when you add a new driver, that will require sending the driver code to a subsystem maintainer, and the dts changes to us. If everything goes well, your DT bindings are both forward and backward compatible, so they can get merged independently. If you ever have interdependencies between them, talk to us first so we can find a solution.
Quoted 7 lines
For sending pull requests, it would be good to have a gpg key that is signed by other well-known kernel developers. If you have such a key, you can also request a kernel.org account to host a git tree there, or you can host a git tree somewhere on your company's domain. A public hosting service like github is not as good for us, but we can deal with it when you are still ramping up your infrastructure. Let me know if you need help finding kernel developers to sign your key.
Quoted 7 lines
About 7 months have passed since I became a sub-arch maintainer (ARM/UniPhier), and I am hoping now I deserve to have the gpg key thing you mentioned.
Could you help me get a key and a kernel.org account to host a git tree?
It would make it easier to get SoC-specific things in without loading you and Olof.
Getting the kernel.org account should be straightforward once you have a signed gpg key, see the description in https://www.kernel.org/category/faq.html
If you don't have a gpg key yet, please generate one with 4096 bits keylength now. It's good to get as many signatures as possible from people that already have signatures by other kernel contributors. The complication is that you anyone who signs your key needs to verify your identity, otherwise the signature method would not be helpful.
I have added three people to Cc that might be able you here: I understand that you live in Osaka, so Simon Horman would be physically the closest in Kobe. Takahiro Akashi works at Socionext in Tokyo, and I think you already know Akira Tsukamoto.
Quoted 4 lines
If you happen to be in the same place with one of them, or maybe they have already signed the key of someone close by.
Arnd
I collected a couple of GPG signatures and
finally, I managed to host my git tree in the kernel.org site.
Quoted 1 line
From this development cycle (for v4.9-rc1),
I'd like to send a few pull requests instead of
asking you to pick up separate patches.
If it is OK with you,
could you apply the following patch?
https://patchwork.kernel.org/patch/9286311/
If it is applied, I will regard it as your acknowledgment for my pull requests.
Could you teach me some good practice about PRs?
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
I will make sure to do this.
Mostly, I will send pull requests for device tree updates for UniPhier SoC family.
Also, I will split them into ARM32 DTS and ARM64 DTS as others do.
What else?
- On which tag should I base my PRs? -rc1 or -rc2?
Or do you want it based on some branch?
- Do you require a tag with GPG signature for accepting a pull-request? (Greg KH and I signed GPG keys with each other.
Perhaps, are we connected with web of trust?)
Thanks,
Signature · 2 lines
Best Regards Masahiro Yamada
Arnd Bergmann
maintainerQuoted 9 lines · CEST Masahiro Yamada
2016-01-18 22:49 GMT+09:00 Arnd Bergmann <[email protected]>:
Quoted 1 line · On Monday 18 January 2016 19:54:08 Masahiro Yamada wrote:
I collected a couple of GPG signatures and
finally, I managed to host my git tree in the kernel.org site.From this development cycle (for v4.9-rc1),
I'd like to send a few pull requests instead of
asking you to pick up separate patches.
Ok, very good.
Quoted 6 lines
If it is OK with you,
could you apply the following patch?
https://patchwork.kernel.org/patch/9286311/If it is applied, I will regard it as your acknowledgment for my pull requests.
No need for that, I've added the patch to my todo folder and will apply it along with the next batch of merges, but feel free to send any pull requests you have right away.
Quoted 7 lines
Could you teach me some good practice about PRs?
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
When you do pull requests, please split them up according to larger topics, e.g. send dts changes separately from code changes, and separate bug fixes, cleanups and new feature support.
Quoted 5 lines
I will make sure to do this.
Mostly, I will send pull requests for device tree updates for UniPhier SoC family.Also, I will split them into ARM32 DTS and ARM64 DTS as others do.
Ok, sounds good. I think the easiest way is to just let you know when I want the pull requests to be done any differently.
Quoted 4 lines
What else?
- On which tag should I base my PRs? -rc1 or -rc2?
Or do you want it based on some branch?
They should always be sent on an -rc release that you are testing on, preferably an early one like -rc1 or -rc2. The important part here is to avoid "back-merges" of upstream contents into our next/* branches, as that tends to mess up the git history.
We usually base our branches on -rc3, which means that you can send your contents based on -rc1, -rc2 or -rc3, but not based on -rc4.
It sometimes happens that you require a bugfix as the base, and that may have been merged into -rc4. We can make exceptions for that, or alternatively you can base your own changes on top of that bugfix, e.g. if the branch that contained the fix was based on -rc2 and merged into -rc4.
Quoted 3 lines
- Do you require a tag with GPG signature for accepting a pull-request? (Greg KH and I signed GPG keys with each other.
Perhaps, are we connected with web of trust?)
Yes, the tag should have both a valid signature and a meaningful tag description that gets used as the commit description for the merge commit when we merge it.
The best commit logs identify all the important changes and give an overview of what is in the branch. However, there is no need to list every single commit that went into the branch, often enough a lot of the patches in one branch are simple cleanups and can be summarized with a few words (and readers can refer to the shortlog for more details).
Arnd