mbox

[GIT,PULL] Allwinner core changes for 3.14

Message ID 20131220221850.GA23269@lukather
State New
Headers show

Pull-request

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

Message

Maxime Ripard Dec. 20, 2013, 10:18 p.m. UTC
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

Comments

Olof Johansson Jan. 2, 2014, 8:04 p.m. UTC | #1
Hi Maxime,

On Fri, Dec 20, 2013 at 11:18:50PM +0100, Maxime Ripard wrote:
> 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

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
Maxime Ripard Jan. 3, 2014, 4:26 p.m. UTC | #2
Hi Olof,

On Thu, Jan 02, 2014 at 12:04:38PM -0800, Olof Johansson wrote:
> Hi Maxime,
> 
> On Fri, Dec 20, 2013 at 11:18:50PM +0100, Maxime Ripard wrote:
> > 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
> 
> 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!

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
Olof Johansson Jan. 3, 2014, 5 p.m. UTC | #3
On Fri, Jan 3, 2014 at 8:26 AM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> Hi Olof,
>
> On Thu, Jan 02, 2014 at 12:04:38PM -0800, Olof Johansson wrote:
>> Hi Maxime,
>>
>> On Fri, Dec 20, 2013 at 11:18:50PM +0100, Maxime Ripard wrote:
>> > 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
>>
>> 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!
>
> 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 :)


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

I'll pull this in later today.


-Olof
Olof Johansson Jan. 4, 2014, 5:45 a.m. UTC | #4
On Fri, Dec 20, 2013 at 11:18:50PM +0100, Maxime Ripard wrote:
> 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)
> 

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


-Olof