Re: [PATCH 05/12] lmb: arm: Increase LMB alignment to 16k in arch_lmb_reserve_generic()

2021-09-23 Thread Tom Rini
On Fri, Sep 10, 2021 at 10:47:11PM +0200, Marek Vasut wrote:

> According to input NXP, the 4k alignment is not always sufficient.
> Currently iMX works around this problem by implementing board specific
> LMB reservation, however it is likely this could also occur on other
> systems. Increase the LMB reservation alignment to 16k by default.
> 
> Signed-off-by: Marek Vasut 
> Cc: Alexey Brodkin 
> Cc: Angelo Dureghello 
> Cc: Daniel Schwierzeck 
> Cc: Eugeniy Paltsev 
> Cc: Hai Pham 
> Cc: Michal Simek 
> Cc: Simon Goldschmidt 
> Cc: Tom Rini 
> Cc: Wolfgang Denk 
> Cc: Ye Li 
> Reviewed-by: Tom Rini 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH 05/12] lmb: arm: Increase LMB alignment to 16k in arch_lmb_reserve_generic()

2021-09-10 Thread Tom Rini
On Fri, Sep 10, 2021 at 10:47:11PM +0200, Marek Vasut wrote:

> According to input NXP, the 4k alignment is not always sufficient.
> Currently iMX works around this problem by implementing board specific
> LMB reservation, however it is likely this could also occur on other
> systems. Increase the LMB reservation alignment to 16k by default.
> 
> Signed-off-by: Marek Vasut 
> Cc: Alexey Brodkin 
> Cc: Angelo Dureghello 
> Cc: Daniel Schwierzeck 
> Cc: Eugeniy Paltsev 
> Cc: Hai Pham 
> Cc: Michal Simek 
> Cc: Simon Goldschmidt 
> Cc: Tom Rini 
> Cc: Wolfgang Denk 
> Cc: Ye Li 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 05/12] lmb: arm: Increase LMB alignment to 16k in arch_lmb_reserve_generic()

2021-09-10 Thread Marek Vasut
According to input NXP, the 4k alignment is not always sufficient.
Currently iMX works around this problem by implementing board specific
LMB reservation, however it is likely this could also occur on other
systems. Increase the LMB reservation alignment to 16k by default.

Signed-off-by: Marek Vasut 
Cc: Alexey Brodkin 
Cc: Angelo Dureghello 
Cc: Daniel Schwierzeck 
Cc: Eugeniy Paltsev 
Cc: Hai Pham 
Cc: Michal Simek 
Cc: Simon Goldschmidt 
Cc: Tom Rini 
Cc: Wolfgang Denk 
Cc: Ye Li 
---
V2: New patch
---
 arch/arm/lib/stack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/lib/stack.c b/arch/arm/lib/stack.c
index 52d9f15298..656084c7e5 100644
--- a/arch/arm/lib/stack.c
+++ b/arch/arm/lib/stack.c
@@ -45,5 +45,5 @@ static ulong get_sp(void)
 
 void arch_lmb_reserve(struct lmb *lmb)
 {
-   arch_lmb_reserve_generic(lmb, get_sp(), gd->ram_top, 4096);
+   arch_lmb_reserve_generic(lmb, get_sp(), gd->ram_top, 16384);
 }
-- 
2.33.0