[U-Boot] [PATCH v2 2/9] sunxi: select ARM_GIC for sun[6789]i

2016-10-06 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant sunxi MACH configurations. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index b139d1c139a2..b8a34e4fbdf8 100644 --- a/board

[U-Boot] [PATCH v2 0/9] sunxi: sun5/7i: add the psci suspend function

2016-10-06 Thread Antoine Tenart
ig options. - Fixed a commit message (removed 'HYP'). Antoine Tenart (9): ARM: add the ARM_GIC configuration option sunxi: select ARM_GIC for sun[6789]i ARM: select ARM_GIC for SoCs having a psci implementation exynos: select ARM_GIC for TARGET_ARNDALE tegra: select ARM_GIC for Te

[U-Boot] [PATCH v2 5/9] tegra: select ARM_GIC for Tegra TK1s

2016-10-06 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart --- arch/arm/mach-tegra/tegra124/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach

[U-Boot] [PATCH v2 1/9] ARM: add the ARM_GIC configuration option

2016-10-06 Thread Antoine Tenart
Some SoC does not have a GIC. Adds a configuration option to denote this, allowing to remove code configuring the GIC when it's not possible. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

[U-Boot] [PATCH v2 8/9] sun5i: add defines used by the PSCI code

2016-10-06 Thread Antoine Tenart
The sun5i SoCs can take advantage of the newly introduce PSCI suspend function. Add defines used by the PSCI code. Signed-off-by: Antoine Tenart --- include/configs/sun5i.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h index

[U-Boot] [PATCH v2 9/9] sun5i: boot in non-secure mode by default

2016-10-06 Thread Antoine Tenart
sun5i now implements the psci suspend function. In order to be used by the kernel, we should now boot in non-secure mode. Enable it by default. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig

[U-Boot] [PATCH v2 3/9] ARM: select ARM_GIC for SoCs having a psci implementation

2016-10-06 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant MACH configurations. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f361a47fc52f..ed1a7d607dbe 100644 --- a/arch/arm/Kconfig +++ b

[U-Boot] [PATCH v2 7/9] sun5/7i: add an implementation of the psci suspend function

2016-10-06 Thread Antoine Tenart
. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/sunxi/Makefile | 9 +- arch/arm/cpu/armv7/sunxi/psci_suspend.c | 175 ++ arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 7 ++ arch/arm/include/asm/arch-sunxi/dram_sun4i.h | 11 ++ 4 files changed

[U-Boot] [PATCH v2 4/9] exynos: select ARM_GIC for TARGET_ARNDALE

2016-10-06 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index

[U-Boot] [PATCH v2 6/9] ARM: PSCI: protect GIC specific code with ARM_GIC

2016-10-06 Thread Antoine Tenart
Introducing the ARM_GIC configuration option, use it to only use GIC specific code in ARM PSCI function when the SoC has a GIC. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/nonsec_virt.S | 6 ++ arch/arm/cpu/armv7/virt-v7.c | 42 ++-- 2 files

Re: [U-Boot] [PATCH v2 5/9] tegra: select ARM_GIC for Tegra TK1s

2016-10-06 Thread Antoine Tenart
Hi Stephen, On Thu, Oct 06, 2016 at 10:15:06AM -0600, Stephen Warren wrote: > On 10/06/2016 08:33 AM, Antoine Tenart wrote: > >Select the newly introduced ARM_GIC option to the relevant configuration > >which also have a psci implementation. > > >diff --git a/arch/arm/mac

[U-Boot] [PATCH 2/6] sunxi: select ARM_GIC for sun[6789]i

2016-09-01 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant sunxi MACH configurations. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 1b30669230a3..c9b500e9390b 100644 --- a/board

[U-Boot] [PATCH 4/6] sun5/7i: add an implementation of the psci suspend function

2016-09-01 Thread Antoine Tenart
. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/sunxi/Makefile | 9 +- arch/arm/cpu/armv7/sunxi/psci_suspend.c | 175 ++ arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 7 ++ arch/arm/include/asm/arch-sunxi/dram_sun4i.h | 11 ++ 4 files changed

[U-Boot] [PATCH 3/6] ARM: PSCI: protect GIC specific code with ARM_GIC

2016-09-01 Thread Antoine Tenart
Introducing the ARM_GIC configuration option, use it to only use GIC specific code in ARM PSCI function when the SoC has a GIC. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/nonsec_virt.S | 6 ++ arch/arm/cpu/armv7/virt-v7.c | 38 -- 2 files

[U-Boot] [PATCH 1/6] ARM: add the ARM_GIC configuration option

2016-09-01 Thread Antoine Tenart
Some SoC does not have a GIC. Adds a configuration option to denote this, allowing to remove code configuring the GIC when it's not possible. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

[U-Boot] [PATCH 0/6] sunxi: sun5/7i: add the psci suspend function

2016-09-01 Thread Antoine Tenart
SoCs, and another patch to let sun5i SoCs boot the kernel in non-secure mode so that it can call psci functions. Thanks! Antoine Antoine Tenart (6): ARM: add the ARM_GIC configuration option sunxi: select ARM_GIC for sun[6789]i ARM: PSCI: protect GIC specific code with ARM_GIC sun5/

[U-Boot] [PATCH 6/6] sun5i: boot in HYP mode by default

2016-09-01 Thread Antoine Tenart
sun5i now implements the psci suspend function. In order to be used by the kernel, we should now boot in non-secure mode. Enable it by default. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig

[U-Boot] [PATCH 5/6] sun5i: enable PSCI

2016-09-01 Thread Antoine Tenart
The sun5i SoCs can take advantage of the newly introduce PSCI suspend function. Enable the PSCI support to denote this. Signed-off-by: Antoine Tenart --- include/configs/sun5i.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h index

Re: [U-Boot] [PATCH 6/6] sun5i: boot in HYP mode by default

2016-09-01 Thread Antoine Tenart
Hi, On Thu, Sep 01, 2016 at 10:47:28AM +0200, Hans de Goede wrote: > On 01-09-16 09:57, Antoine Tenart wrote: > >sun5i now implements the psci suspend function. In order to be used by > >the kernel, we should now boot in non-secure mode. Enable it by default. > > The sun5i h

Re: [U-Boot] [PATCH 3/6] ARM: PSCI: protect GIC specific code with ARM_GIC

2016-09-01 Thread Antoine Tenart
Hi, On Thu, Sep 01, 2016 at 10:44:13AM +0200, Hans de Goede wrote: > On 01-09-16 09:57, Antoine Tenart wrote: > >Introducing the ARM_GIC configuration option, use it to only use GIC > >specific code in ARM PSCI function when the SoC has a GIC. > > AFAIK sunxi is not the onl

[U-Boot] [PATCH v4 01/11] arm: add atomic functions with return support

2017-04-30 Thread Antoine Tenart
Implement three atomic functions to allow making an atomic operation that returns the value. Adds: atomic_add_return(), atomic_sub_return(), atomic_inc_return() and atomic_dec_return(). This is heavily based on the Linux implementation of such functions for ARM. Signed-off-by: Antoine Tenart Cc

[U-Boot] [PATCH v4 02/11] arm: add the ARM_GIC configuration option

2017-04-30 Thread Antoine Tenart
Some SoC does not have a GIC. Adds a configuration option to denote this, allowing to remove code configuring the GIC when it's not possible. Signed-off-by: Antoine Tenart Cc: Albert Aribaud --- arch/arm/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arc

[U-Boot] [PATCH v4 08/11] arm: psci: protect GIC specific code with ARM_GIC

2017-04-30 Thread Antoine Tenart
Introducing the ARM_GIC configuration option, use it to only use GIC specific code in ARM PSCI function when the SoC has a GIC. Signed-off-by: Antoine Tenart Cc: Albert ARIBAUD --- arch/arm/cpu/armv7/nonsec_virt.S | 6 ++ arch/arm/cpu/armv7/virt-v7.c | 42

[U-Boot] [PATCH v4 04/11] arm: select ARM_GIC for SoCs having a psci implementation

2017-04-30 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant MACH configurations. Signed-off-by: Antoine Tenart Cc: Albert Aribaud --- arch/arm/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c7aebae3b039..8b13f6909f9c 100644

[U-Boot] [PATCH v4 06/11] mx7: select ARM_GIC

2017-04-30 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart Cc: Stefano Babic --- arch/arm/cpu/armv7/mx7/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/mx7/Kconfig b/arch/arm/cpu

[U-Boot] [PATCH v4 09/11] sun5/7i: add an implementation of the psci suspend function

2017-04-30 Thread Antoine Tenart
Add the suspend psci function for sun5i and sun7i. Thus function switches the cpu clk source to osc24M or to losc depending on the SoC family. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/sunxi/Makefile | 9 ++- arch/arm/cpu/armv7/sunxi/psci.c | 40

[U-Boot] [PATCH v4 10/11] sun5i: add defines used by the PSCI code

2017-04-30 Thread Antoine Tenart
The sun5i SoCs can take advantage of the newly introduce PSCI suspend function. Add defines used by the PSCI code. Signed-off-by: Antoine Tenart --- include/configs/sun5i.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h index ec8f3199ba34

[U-Boot] [PATCH v4 00/11] sunxi: sun5/7i: add the psci suspend function

2017-04-30 Thread Antoine Tenart
d a commit message (removed 'HYP'). Antoine Tenart (11): arm: add atomic functions with return support arm: add the ARM_GIC configuration option sunxi: select ARM_GIC for sun[6789]i arm: select ARM_GIC for SoCs having a psci implementation tegra: select ARM_GIC for Tegra SoCs

[U-Boot] [PATCH v4 07/11] uniphier: select ARM_GIC

2017-04-30 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart Cc: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm

[U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-04-30 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart Cc: Tom Warren --- arch/arm/mach-tegra/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra

[U-Boot] [PATCH v4 11/11] sun5i: boot in non-secure mode by default

2017-04-30 Thread Antoine Tenart
sun5i now implements the psci suspend function. In order to be used by the kernel, we should now boot in non-secure mode. Enable it by default. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig

[U-Boot] [PATCH v4 03/11] sunxi: select ARM_GIC for sun[6789]i

2017-04-30 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant sunxi MACH configurations. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 27bd42c64b98..e53cd9c21c33 100644 --- a/board

Re: [U-Boot] [PATCH v4 00/11] sunxi: sun5/7i: add the psci suspend function

2017-04-30 Thread Antoine Tenart
Hi Angus, On Sun, Apr 30, 2017 at 10:26:15AM -0600, Angus Ainslie wrote: > On 2017-04-30 07:29, Antoine Tenart wrote: > > > > Respin this series that was sent in October 2016, with comments and new > > psci aware SoC taken into account. > > > > This series a

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Antoine Tenart
Hi Stephen, On Mon, May 01, 2017 at 03:12:30PM +, Tom Warren wrote: > Antoine - what testing did you do? I tested using CPU idle with a mainline kernel on both the CHIP and an A20 board (both have an Allwinner SoC). I also measured the overall power consumption using the ACME cape from BayLib

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Antoine Tenart
On Tue, May 02, 2017 at 08:39:03AM +0200, Antoine Tenart wrote: > Hi Stephen, Of course I meant Tom... Sorry for that. Antoine > On Mon, May 01, 2017 at 03:12:30PM +, Tom Warren wrote: > > Antoine - what testing did you do? > > I tested using CPU idle with a mainline

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Antoine Tenart
Hi Stephen, On Mon, May 01, 2017 at 09:34:43AM -0600, Stephen Warren wrote: > > Antoine Tenart wrote at Sunday, April 30, 2017 6:30 AM: > > > > > > Select the newly introduced ARM_GIC option to the relevant configuration > > > which also have a psci implementati

Re: [U-Boot] [PATCH v4 11/11] sun5i: boot in non-secure mode by default

2017-05-01 Thread Antoine Tenart
Hi Maxime, On Mon, May 01, 2017 at 11:14:22PM +0200, Maxime Ripard wrote: > On Sun, Apr 30, 2017 at 03:29:56PM +0200, Antoine Tenart wrote: > > sun5i now implements the psci suspend function. In order to be used by > > the kernel, we should now boot in non-secure mode. Enabl

Re: [U-Boot] [PATCH v4 09/11] sun5/7i: add an implementation of the psci suspend function

2017-05-02 Thread Antoine Tenart
Hi Maxime, On Mon, May 01, 2017 at 11:13:27PM +0200, Maxime Ripard wrote: > On Sun, Apr 30, 2017 at 03:29:54PM +0200, Antoine Tenart wrote: > > + > > +static void __secure sunxi_clock_enter_idle(struct sunxi_ccm_reg *ccm) > > +{ > > + /* switch cpuclk to osc24m */ &

Re: [U-Boot] [PATCH v4 00/11] sunxi: sun5/7i: add the psci suspend function

2017-05-02 Thread Antoine Tenart
On Sun, Apr 30, 2017 at 05:26:03PM -0600, Angus Ainslie wrote: > On 2017-04-30 10:49, Hi Tenart wrote: > > > > > > Does this get suspend to memory working on the Nextthing CHIP ? > > > > No, this is used for CPU idle. > > Does a different PSCI function need to be implemented in u-boot to suppor

Re: [U-Boot] [PATCH v4 09/11] sun5/7i: add an implementation of the psci suspend function

2017-05-02 Thread Antoine Tenart
On Tue, May 02, 2017 at 09:04:18AM +0200, Antoine Tenart wrote: > On Mon, May 01, 2017 at 11:13:27PM +0200, Maxime Ripard wrote: > > On Sun, Apr 30, 2017 at 03:29:54PM +0200, Antoine Tenart wrote: > > > > > +static void __secure sunxi_clock_leave_idle(s

Re: [U-Boot] [PATCH v4 09/11] sun5/7i: add an implementation of the psci suspend function

2017-05-02 Thread Antoine Tenart
On Tue, May 02, 2017 at 09:33:47AM +0200, Maxime Ripard wrote: > On Tue, May 02, 2017 at 03:27:41PM +0800, Chen-Yu Tsai wrote: > > On Tue, May 2, 2017 at 3:23 PM, Antoine Tenart > > wrote: > > > On Tue, May 02, 2017 at 09:04:18AM +0200, Antoine Tenart wrote: > > &g

Re: [U-Boot] [PATCH v4 09/11] sun5/7i: add an implementation of the psci suspend function

2017-05-02 Thread Antoine Tenart
On Tue, May 02, 2017 at 09:56:19AM +0200, Maxime Ripard wrote: > On Tue, May 02, 2017 at 09:04:18AM +0200, Antoine Tenart wrote: > > On Mon, May 01, 2017 at 11:13:27PM +0200, Maxime Ripard wrote: > > > On Sun, Apr 30, 2017 at 03:29:54PM +0200, Antoine Tenart wrote: > > &g

[U-Boot] [PATCH v3 04/10] ARM: select ARM_GIC for SoCs having a psci implementation

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant MACH configurations. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6a5e53280679..b329d3c29fce 100644 --- a/arch/arm/Kconfig +++ b

[U-Boot] [PATCH v3 01/10] arm: add atomic functions with return support

2016-10-26 Thread Antoine Tenart
Implement three atomic functions to allow making an atomic operation that returns the value. Adds: atomic_add_return(), atomic_sub_return(), atomic_inc_return() and atomic_dec_return(). Signed-off-by: Antoine Tenart --- arch/arm/include/asm/atomic.h | 34 ++ 1

[U-Boot] [PATCH v3 07/10] ARM: PSCI: protect GIC specific code with ARM_GIC

2016-10-26 Thread Antoine Tenart
Introducing the ARM_GIC configuration option, use it to only use GIC specific code in ARM PSCI function when the SoC has a GIC. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/nonsec_virt.S | 6 ++ arch/arm/cpu/armv7/virt-v7.c | 42 ++-- 2 files

[U-Boot] [PATCH v3 10/10] sun5i: boot in non-secure mode by default

2016-10-26 Thread Antoine Tenart
sun5i now implements the psci suspend function. In order to be used by the kernel, we should now boot in non-secure mode. Enable it by default. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig

[U-Boot] [PATCH v3 02/10] ARM: add the ARM_GIC configuration option

2016-10-26 Thread Antoine Tenart
Some SoC does not have a GIC. Adds a configuration option to denote this, allowing to remove code configuring the GIC when it's not possible. Signed-off-by: Antoine Tenart --- arch/arm/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

[U-Boot] [PATCH v3 00/10] sunxi: sun5/7i: add the psci suspend function

2016-10-26 Thread Antoine Tenart
back the cpuclk source to pll1. - Rebased on the latest master and updated the patches. Since v1: - Rebased on the latest master and updated the patches. - Fixed a compile warning I introduced in virt-v7.c - Added the missing ARM_GIC Kconfig options. - Fixed a commit message (removed 'HY

[U-Boot] [PATCH v3 03/10] sunxi: select ARM_GIC for sun[6789]i

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant sunxi MACH configurations. Signed-off-by: Antoine Tenart --- board/sunxi/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index c0ffebfc..cd8330c3944f 100644 --- a/board

[U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart --- arch/arm/mach-tegra/tegra124/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach

[U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-26 Thread Antoine Tenart
Add the suspend psci function for sun5i and sun7i. Thus function switches the cpu clk source to osc24M or to losc depending on the SoC family. Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/sunxi/Makefile | 9 ++- arch/arm/cpu/armv7/sunxi/psci.c | 2 +- arch

[U-Boot] [PATCH v3 05/10] exynos: select ARM_GIC for TARGET_ARNDALE

2016-10-26 Thread Antoine Tenart
Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation. Signed-off-by: Antoine Tenart --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index

[U-Boot] [PATCH v3 09/10] sun5i: add defines used by the PSCI code

2016-10-26 Thread Antoine Tenart
The sun5i SoCs can take advantage of the newly introduce PSCI suspend function. Add defines used by the PSCI code. Signed-off-by: Antoine Tenart --- include/configs/sun5i.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h index

Re: [U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-26 Thread Antoine Tenart
Hello, On Wed, Oct 26, 2016 at 08:55:27AM -0600, Stephen Warren wrote: > On 10/26/2016 06:10 AM, Antoine Tenart wrote: > > Select the newly introduced ARM_GIC option to the relevant configuration > > which also have a psci implementation. > > This doesn't look right;

Re: [U-Boot] [PATCH v3 09/10] sun5i: add defines used by the PSCI code

2016-10-27 Thread Antoine Tenart
Hi, On Wed, Oct 26, 2016 at 02:34:30PM +0200, Maxime Ripard wrote: > On Wed, Oct 26, 2016 at 02:10:32PM +0200, Antoine Tenart wrote: > > The sun5i SoCs can take advantage of the newly introduce PSCI suspend > > function. Add defines used by the PSCI code. > > > > Si

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Antoine Tenart
Hi, On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: > > + > > +#ifndef CONFIG_MACH_SUN7I > > + /* switch cpuclk to losc */ > > + clrbits_le32(&ccm->cpu_ahb_apb0_cfg, 0x3

Re: [U-Boot] [PATCH v3 06/10] tegra: select ARM_GIC for Tegra TK1s

2016-10-27 Thread Antoine Tenart
On Wed, Oct 26, 2016 at 09:01:59AM -0600, Stephen Warren wrote: > On 10/26/2016 08:59 AM, Antoine Tenart wrote: > > On Wed, Oct 26, 2016 at 08:55:27AM -0600, Stephen Warren wrote: > > > On 10/26/2016 06:10 AM, Antoine Tenart wrote: > > > > Select the newly introduced

Re: [U-Boot] [PATCH v3 01/10] arm: add atomic functions with return support

2016-10-27 Thread Antoine Tenart
HI Mark, On Wed, Oct 26, 2016 at 04:14:31PM +0100, Mark Rutland wrote: > On Wed, Oct 26, 2016 at 02:10:24PM +0200, Antoine Tenart wrote: > > Implement three atomic functions to allow making an atomic operation > > that returns the value. Adds: atomic_add_return(), at

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Antoine Tenart
On Thu, Oct 27, 2016 at 03:20:02PM +0200, Maxime Ripard wrote: > On Thu, Oct 27, 2016 at 03:10:58PM +0200, Antoine Tenart wrote: > > On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > > > On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: > >

Re: [U-Boot] [PATCH v3 08/10] sun5/7i: add an implementation of the psci suspend function

2016-10-27 Thread Antoine Tenart
Hi, On Thu, Oct 27, 2016 at 09:21:10PM +0800, Chen-Yu Tsai wrote: > On Thu, Oct 27, 2016 at 9:10 PM, Antoine Tenart > wrote: > > On Wed, Oct 26, 2016 at 02:38:10PM +0200, Maxime Ripard wrote: > >> On Wed, Oct 26, 2016 at 02:10:31PM +0200, Antoine Tenart wrote: > > >