public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment
@ 2014-11-27  8:38 Jan Kiszka
  2014-11-27  9:10 ` Marc Zyngier
  2014-12-13 17:03 ` Ian Campbell
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Kiszka @ 2014-11-27  8:38 UTC (permalink / raw)
  To: u-boot

0x400 is true 1K.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

Hans, are you collecting sunxi-related patches? This is just a trivial
one, there will be more.

 arch/arm/cpu/armv7/sunxi/psci.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/sunxi/psci.S b/arch/arm/cpu/armv7/sunxi/psci.S
index b9ea78b..a84807d 100644
--- a/arch/arm/cpu/armv7/sunxi/psci.S
+++ b/arch/arm/cpu/armv7/sunxi/psci.S
@@ -68,7 +68,7 @@ psci_arch_init:
 
 	mrc	p15, 0, r4, c0, c0, 5	@ MPIDR
 	and	r4, r4, #3		@ cpu number in cluster
-	mov	r5, #400		@ 1kB of stack per CPU
+	mov	r5, #0x400		@ 1kB of stack per CPU
 	mul	r4, r4, r5
 
 	adr	r5, text_end		@ end of text
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment
  2014-11-27  8:38 [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment Jan Kiszka
@ 2014-11-27  9:10 ` Marc Zyngier
  2014-12-13 17:03 ` Ian Campbell
  1 sibling, 0 replies; 5+ messages in thread
From: Marc Zyngier @ 2014-11-27  9:10 UTC (permalink / raw)
  To: u-boot

On 27/11/14 08:38, Jan Kiszka wrote:
> 0x400 is true 1K.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> Hans, are you collecting sunxi-related patches? This is just a trivial
> one, there will be more.
> 
>  arch/arm/cpu/armv7/sunxi/psci.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/cpu/armv7/sunxi/psci.S b/arch/arm/cpu/armv7/sunxi/psci.S
> index b9ea78b..a84807d 100644
> --- a/arch/arm/cpu/armv7/sunxi/psci.S
> +++ b/arch/arm/cpu/armv7/sunxi/psci.S
> @@ -68,7 +68,7 @@ psci_arch_init:
>  
>  	mrc	p15, 0, r4, c0, c0, 5	@ MPIDR
>  	and	r4, r4, #3		@ cpu number in cluster
> -	mov	r5, #400		@ 1kB of stack per CPU
> +	mov	r5, #0x400		@ 1kB of stack per CPU
>  	mul	r4, r4, r5
>  
>  	adr	r5, text_end		@ end of text
> 

(with a brown paper bag on)

Acked-by: Marc Zyngier <marc.zyngier@arm.com>

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment
  2014-11-27  8:38 [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment Jan Kiszka
  2014-11-27  9:10 ` Marc Zyngier
@ 2014-12-13 17:03 ` Ian Campbell
  2014-12-14  9:36   ` Hans de Goede
  2014-12-15  7:33   ` Jan Kiszka
  1 sibling, 2 replies; 5+ messages in thread
From: Ian Campbell @ 2014-12-13 17:03 UTC (permalink / raw)
  To: u-boot

On Thu, 2014-11-27 at 09:38 +0100, Jan Kiszka wrote:
> 0x400 is true 1K.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Thanks. Applied to u-boot-sunxi#next. I don't think this is so urgent as
to require a PR for v2015.01 in its own right, but if we do one for
another reason I think we should include this trivial fix. Hans, sound
ok?

> Hans, are you collecting sunxi-related patches? This is just a trivial
> one, there will be more.

Were there any more in the end? If yes then I've not seen them/can't
find them. In general please CC both Hans and myself on sunxi patches.

Thanks,
Ian.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment
  2014-12-13 17:03 ` Ian Campbell
@ 2014-12-14  9:36   ` Hans de Goede
  2014-12-15  7:33   ` Jan Kiszka
  1 sibling, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2014-12-14  9:36 UTC (permalink / raw)
  To: u-boot

Hi,

On 13-12-14 18:03, Ian Campbell wrote:
> On Thu, 2014-11-27 at 09:38 +0100, Jan Kiszka wrote:
>> 0x400 is true 1K.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>
> Thanks. Applied to u-boot-sunxi#next. I don't think this is so urgent as
> to require a PR for v2015.01 in its own right, but if we do one for
> another reason I think we should include this trivial fix. Hans, sound
> ok?

Sounds fine to me.

Regards,

Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment
  2014-12-13 17:03 ` Ian Campbell
  2014-12-14  9:36   ` Hans de Goede
@ 2014-12-15  7:33   ` Jan Kiszka
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2014-12-15  7:33 UTC (permalink / raw)
  To: u-boot

On 2014-12-13 18:03, Ian Campbell wrote:
> On Thu, 2014-11-27 at 09:38 +0100, Jan Kiszka wrote:
>> 0x400 is true 1K.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Thanks. Applied to u-boot-sunxi#next. I don't think this is so urgent as
> to require a PR for v2015.01 in its own right, but if we do one for
> another reason I think we should include this trivial fix. Hans, sound
> ok?

This is only a cosmetic fix.

> 
>> Hans, are you collecting sunxi-related patches? This is just a trivial
>> one, there will be more.
> 
> Were there any more in the end? If yes then I've not seen them/can't
> find them. In general please CC both Hans and myself on sunxi patches.

They got delayed. I only now finished full PSCI v0.2 support for the
A20. Will CC you all when sending those out.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-15  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27  8:38 [U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment Jan Kiszka
2014-11-27  9:10 ` Marc Zyngier
2014-12-13 17:03 ` Ian Campbell
2014-12-14  9:36   ` Hans de Goede
2014-12-15  7:33   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox