Skip to contentSkip to conversation

Allwinner core changes for 3.14

GIT PULL Maxime Ripard 2 participants 5 messages Dec 20, 2013 – Jan 4, 2014

lore
Share & tools
lore
#0 lore raw

Hi Arnd, Kevin, Olof,

Please pull the following changes for the next merge window.

Thanks!
Maxime

The following changes since commit 8f1ae77f466660b6da2455cccecc07ae631fa66d:

reset: Add Allwinner SoCs Reset Controller Driver (2013-11-22 21:20:36 +0100)

are available in the git repository at:

https://github.com/mripard/linux.git tags/sunxi-core-for-3.14

for you to fetch changes up to 73346794b48237b7b4c2a5c02b12e3c4f1da7551:

ARM: sun6i: Add SMP support for the Allwinner A31 (2013-12-16 21:33:41 +0100)

----------------------------------------------------------------
Allwinner core changes for 3.14

This mostly adds the reset controller initialisation for the A31 and the SMP operations for this SoC.

----------------------------------------------------------------
Baruch Siach (1):
dt-bindings: fix example of allwinner interrupt controller

Maxime Ripard (4):
Merge branch 'sunxi/drivers-for-3.14' into sunxi/core-for-3.14
ARM: sunxi: Select ARCH_HAS_RESET_CONTROLLER
ARM: sunxi: Register the A31 reset IP in init_time
ARM: sun6i: Add SMP support for the Allwinner A31

 .../interrupt-controller/allwinner,sun4i-ic.txt    |   2 +-
 arch/arm/mach-sunxi/Kconfig                        |   1 +
 arch/arm/mach-sunxi/Makefile                       |   1 +
 arch/arm/mach-sunxi/common.h                       |  19 ++++
 arch/arm/mach-sunxi/headsmp.S                      |   9 ++
 arch/arm/mach-sunxi/platsmp.c                      | 124 +++++++++++++++++++++
 arch/arm/mach-sunxi/sunxi.c                        |  14 +++
 7 files changed, 169 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/mach-sunxi/common.h
 create mode 100644 arch/arm/mach-sunxi/headsmp.S
 create mode 100644 arch/arm/mach-sunxi/platsmp.c
Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131220/7d2359cd/attachment.sig>
#1 lore raw

Hi Maxime,

Quoted 29 lines · Maxime Ripard

Hi Arnd, Kevin, Olof,

Please pull the following changes for the next merge window.

Thanks!
Maxime

The following changes since commit 8f1ae77f466660b6da2455cccecc07ae631fa66d:

reset: Add Allwinner SoCs Reset Controller Driver (2013-11-22 21:20:36 +0100)

are available in the git repository at:

https://github.com/mripard/linux.git tags/sunxi-core-for-3.14

for you to fetch changes up to 73346794b48237b7b4c2a5c02b12e3c4f1da7551:

ARM: sun6i: Add SMP support for the Allwinner A31 (2013-12-16 21:33:41 +0100)

----------------------------------------------------------------
Allwinner core changes for 3.14

This mostly adds the reset controller initialisation for the A31 and the SMP operations for this SoC.

----------------------------------------------------------------
Baruch Siach (1):
dt-bindings: fix example of allwinner interrupt controller

Quoted 5 lines

Maxime Ripard (4):
Merge branch 'sunxi/drivers-for-3.14' into sunxi/core-for-3.14
ARM: sunxi: Select ARCH_HAS_RESET_CONTROLLER
ARM: sunxi: Register the A31 reset IP in init_time
ARM: sun6i: Add SMP support for the Allwinner A31

This branch contains the driver changes for 3.14 too. Is that really necessary? That's just an independent RTC driver.

I would prefer if the SoC support code was kept either separate from drivers (we can handle trivial merge conflicts), or that the SoC code was applied before drivers, since we normally use that merge order (fixes->cleanups->soc->dt->drivers->boards).

So, care to respin for us? Thanks!

-Olof

#2 lore raw

Hi Olof,

Quoted 41 lines · Olof Johansson

Hi Maxime,

Quoted 29 lines · Maxime Ripard

Hi Arnd, Kevin, Olof,

Please pull the following changes for the next merge window.

Thanks!
Maxime

The following changes since commit 8f1ae77f466660b6da2455cccecc07ae631fa66d:

reset: Add Allwinner SoCs Reset Controller Driver (2013-11-22 21:20:36 +0100)

are available in the git repository at:

https://github.com/mripard/linux.git tags/sunxi-core-for-3.14

for you to fetch changes up to 73346794b48237b7b4c2a5c02b12e3c4f1da7551:

ARM: sun6i: Add SMP support for the Allwinner A31 (2013-12-16 21:33:41 +0100)

----------------------------------------------------------------
Allwinner core changes for 3.14

This mostly adds the reset controller initialisation for the A31 and the SMP operations for this SoC.

----------------------------------------------------------------
Baruch Siach (1):
dt-bindings: fix example of allwinner interrupt controller

Quoted 5 lines

Maxime Ripard (4):
Merge branch 'sunxi/drivers-for-3.14' into sunxi/core-for-3.14
ARM: sunxi: Select ARCH_HAS_RESET_CONTROLLER
ARM: sunxi: Register the A31 reset IP in init_time
ARM: sun6i: Add SMP support for the Allwinner A31

This branch contains the driver changes for 3.14 too. Is that really necessary? That's just an independent RTC driver.

Quoted 6 lines

I would prefer if the SoC support code was kept either separate from drivers (we can handle trivial merge conflicts), or that the SoC code was applied before drivers, since we normally use that merge order (fixes->cleanups->soc->dt->drivers->boards).

So, care to respin for us? Thanks!

Actually, it's not about the RTC part, but the reset one.

The A31 has some timers set in reset, so, in order to use those timers, we have to init the reset controller driver before calling clocksource_of_init.

The reset framework related patch (8f1ae77f) in drivers-for-3.14 introduces a function that is called in init_time, in a patch in core-for-3.14 (751b2ac4).

So I just merged the driver branch to avoid a compilation breakage. If you prefer to do it another way, I'm ok with it too :)

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140103/e29d4bee/attachment-0001.sig>
#3 lore raw
Quoted 57 lines · Maxime Ripard

Hi Olof,

Quoted 41 lines · Olof Johansson

Hi Maxime,

Quoted 29 lines · Maxime Ripard

Hi Arnd, Kevin, Olof,

Please pull the following changes for the next merge window.

Thanks!
Maxime

The following changes since commit 8f1ae77f466660b6da2455cccecc07ae631fa66d:

reset: Add Allwinner SoCs Reset Controller Driver (2013-11-22 21:20:36 +0100)

are available in the git repository at:

https://github.com/mripard/linux.git tags/sunxi-core-for-3.14

for you to fetch changes up to 73346794b48237b7b4c2a5c02b12e3c4f1da7551:

ARM: sun6i: Add SMP support for the Allwinner A31 (2013-12-16 21:33:41 +0100)

----------------------------------------------------------------
Allwinner core changes for 3.14

This mostly adds the reset controller initialisation for the A31 and the SMP operations for this SoC.

----------------------------------------------------------------
Baruch Siach (1):
dt-bindings: fix example of allwinner interrupt controller

Quoted 5 lines

Maxime Ripard (4):
Merge branch 'sunxi/drivers-for-3.14' into sunxi/core-for-3.14
ARM: sunxi: Select ARCH_HAS_RESET_CONTROLLER
ARM: sunxi: Register the A31 reset IP in init_time
ARM: sun6i: Add SMP support for the Allwinner A31

This branch contains the driver changes for 3.14 too. Is that really necessary? That's just an independent RTC driver.

Quoted 6 lines

I would prefer if the SoC support code was kept either separate from drivers (we can handle trivial merge conflicts), or that the SoC code was applied before drivers, since we normally use that merge order (fixes->cleanups->soc->dt->drivers->boards).

So, care to respin for us? Thanks!

Actually, it's not about the RTC part, but the reset one.

The A31 has some timers set in reset, so, in order to use those timers, we have to init the reset controller driver before calling clocksource_of_init.

Quoted 6 lines

The reset framework related patch (8f1ae77f) in drivers-for-3.14 introduces a function that is called in init_time, in a patch in core-for-3.14 (751b2ac4).

So I just merged the driver branch to avoid a compilation breakage. If you prefer to do it another way, I'm ok with it too :)

Ah, right, I should have looked closer at the code not just the list of patches. :)

I'll pull this in later today.

-Olof

#4 lore raw
In reply to Maxime Ripard
Quoted 11 lines · Maxime Ripard

Hi Arnd, Kevin, Olof,

Please pull the following changes for the next merge window.

Thanks!
Maxime

The following changes since commit 8f1ae77f466660b6da2455cccecc07ae631fa66d:

reset: Add Allwinner SoCs Reset Controller Driver (2013-11-22 21:20:36 +0100)

Quoted 8 lines

are available in the git repository at:

https://github.com/mripard/linux.git tags/sunxi-core-for-3.14

for you to fetch changes up to 73346794b48237b7b4c2a5c02b12e3c4f1da7551:

ARM: sun6i: Add SMP support for the Allwinner A31 (2013-12-16 21:33:41 +0100)

Pulled. As mentioned in the other reply, I've merged this on top of next/drivers to avoid the circular dependencies.

-Olof