Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-13 Thread Patrice CHOTARD
On 12/13/24 10:54, Sughosh Ganu wrote: > On Fri, 13 Dec 2024 at 14:44, Patrice CHOTARD > wrote: >> >> >> >> On 12/12/24 20:50, Sughosh Ganu wrote: >>> On Fri, 13 Dec 2024 at 00:48, Tom Rini wrote: On Wed, Dec 11, 2024 at 05:18:28PM +0100, Patrice CHOTARD wrote: > > >

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-13 Thread Sughosh Ganu
On Fri, 13 Dec 2024 at 14:44, Patrice CHOTARD wrote: > > > > On 12/12/24 20:50, Sughosh Ganu wrote: > > On Fri, 13 Dec 2024 at 00:48, Tom Rini wrote: > >> > >> On Wed, Dec 11, 2024 at 05:18:28PM +0100, Patrice CHOTARD wrote: > >> > >>> > >>> > >>> On 12/7/24 16:57, Tom Rini wrote: > On Mon,

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-13 Thread Patrice CHOTARD
On 12/12/24 20:50, Sughosh Ganu wrote: > On Fri, 13 Dec 2024 at 00:48, Tom Rini wrote: >> >> On Wed, Dec 11, 2024 at 05:18:28PM +0100, Patrice CHOTARD wrote: >> >>> >>> >>> On 12/7/24 16:57, Tom Rini wrote: On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > There are platfo

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Mark Kettenis
> From: Sughosh Ganu > Date: Thu, 12 Dec 2024 20:24:18 +0530 Hi Sughosh, > On Thu, 12 Dec 2024 at 20:08, Mark Kettenis wrote: > > > > > From: Sughosh Ganu > > > Date: Thu, 12 Dec 2024 19:02:44 +0530 > > > > Hi Sughosh, > > > > > On Thu, 12 Dec 2024 at 18:03, Mark Kettenis > > > wrote: > > >

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Sughosh Ganu
On Fri, 13 Dec 2024 at 00:48, Tom Rini wrote: > > On Wed, Dec 11, 2024 at 05:18:28PM +0100, Patrice CHOTARD wrote: > > > > > > > On 12/7/24 16:57, Tom Rini wrote: > > > On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > > > > > >> There are platforms which set the value of ram_top based on

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Tom Rini
On Wed, Dec 11, 2024 at 05:18:28PM +0100, Patrice CHOTARD wrote: > > > On 12/7/24 16:57, Tom Rini wrote: > > On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > > > >> There are platforms which set the value of ram_top based on certain > >> restrictions that the platform might have in acc

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Sughosh Ganu
On Thu, 12 Dec 2024 at 20:08, Mark Kettenis wrote: > > > From: Sughosh Ganu > > Date: Thu, 12 Dec 2024 19:02:44 +0530 > > Hi Sughosh, > > > On Thu, 12 Dec 2024 at 18:03, Mark Kettenis wrote: > > > > > > > Date: Thu, 12 Dec 2024 09:23:52 +0100 > > > > From: Patrice CHOTARD > > > > > > > > On 12/

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Mark Kettenis
> From: Sughosh Ganu > Date: Thu, 12 Dec 2024 19:02:44 +0530 Hi Sughosh, > On Thu, 12 Dec 2024 at 18:03, Mark Kettenis wrote: > > > > > Date: Thu, 12 Dec 2024 09:23:52 +0100 > > > From: Patrice CHOTARD > > > > > > On 12/11/24 19:16, Sughosh Ganu wrote: > > > > On Wed, 11 Dec 2024 at 22:20, Pat

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Sughosh Ganu
On Thu, 12 Dec 2024 at 18:03, Mark Kettenis wrote: > > > Date: Thu, 12 Dec 2024 09:23:52 +0100 > > From: Patrice CHOTARD > > > > On 12/11/24 19:16, Sughosh Ganu wrote: > > > On Wed, 11 Dec 2024 at 22:20, Patrice CHOTARD > > > wrote: > > >> > > >> > > >> > > >> On 12/11/24 17:27, Sughosh Ganu wro

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Sughosh Ganu
On Thu, 12 Dec 2024 at 13:58, Patrice CHOTARD wrote: > > > > On 12/11/24 19:16, Sughosh Ganu wrote: > > On Wed, 11 Dec 2024 at 22:20, Patrice CHOTARD > > wrote: > >> > >> > >> > >> On 12/11/24 17:27, Sughosh Ganu wrote: > >>> On Wed, 11 Dec 2024 at 21:50, Patrice CHOTARD > >>> wrote: > > >>

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Mark Kettenis
> Date: Thu, 12 Dec 2024 09:23:52 +0100 > From: Patrice CHOTARD > > On 12/11/24 19:16, Sughosh Ganu wrote: > > On Wed, 11 Dec 2024 at 22:20, Patrice CHOTARD > > wrote: > >> > >> > >> > >> On 12/11/24 17:27, Sughosh Ganu wrote: > >>> On Wed, 11 Dec 2024 at 21:50, Patrice CHOTARD > >>> wrote: > >

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-12 Thread Patrice CHOTARD
On 12/11/24 19:16, Sughosh Ganu wrote: > On Wed, 11 Dec 2024 at 22:20, Patrice CHOTARD > wrote: >> >> >> >> On 12/11/24 17:27, Sughosh Ganu wrote: >>> On Wed, 11 Dec 2024 at 21:50, Patrice CHOTARD >>> wrote: On 12/7/24 16:57, Tom Rini wrote: > On Mon, 02 Dec 2024 12:36:

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-11 Thread Sughosh Ganu
On Wed, 11 Dec 2024 at 22:20, Patrice CHOTARD wrote: > > > > On 12/11/24 17:27, Sughosh Ganu wrote: > > On Wed, 11 Dec 2024 at 21:50, Patrice CHOTARD > > wrote: > >> > >> > >> > >> On 12/7/24 16:57, Tom Rini wrote: > >>> On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > >>> > There a

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-11 Thread Patrice CHOTARD
On 12/11/24 17:27, Sughosh Ganu wrote: > On Wed, 11 Dec 2024 at 21:50, Patrice CHOTARD > wrote: >> >> >> >> On 12/7/24 16:57, Tom Rini wrote: >>> On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: >>> There are platforms which set the value of ram_top based on certain restriction

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-11 Thread Sughosh Ganu
On Wed, 11 Dec 2024 at 21:50, Patrice CHOTARD wrote: > > > > On 12/7/24 16:57, Tom Rini wrote: > > On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > > > >> There are platforms which set the value of ram_top based on certain > >> restrictions that the platform might have in accessing memory

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-11 Thread Patrice CHOTARD
On 12/7/24 16:57, Tom Rini wrote: > On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > >> There are platforms which set the value of ram_top based on certain >> restrictions that the platform might have in accessing memory above >> ram_top, even when the memory region is in the same DRAM

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-07 Thread Tom Rini
On Mon, 02 Dec 2024 12:36:24 +0530, Sughosh Ganu wrote: > There are platforms which set the value of ram_top based on certain > restrictions that the platform might have in accessing memory above > ram_top, even when the memory region is in the same DRAM bank. So, > even though the LMB allocator w

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-02 Thread Sughosh Ganu
On Mon, 2 Dec 2024 at 19:16, E Shattow wrote: > > Hi Sughosh, Andreas, et. al > > On Mon, Dec 2, 2024 at 3:58 AM Andreas Schwab wrote: > > > > On Dez 02 2024, Sughosh Ganu wrote: > > > > > There are platforms which set the value of ram_top based on certain > > > restrictions that the platform mig

Re: [PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-02 Thread Andreas Schwab
On Dez 02 2024, Sughosh Ganu wrote: > There are platforms which set the value of ram_top based on certain > restrictions that the platform might have in accessing memory above > ram_top, even when the memory region is in the same DRAM bank. So, > even though the LMB allocator works as expected, wh

[PATCH] lmb: prohibit allocations above ram_top even from same bank

2024-12-01 Thread Sughosh Ganu
There are platforms which set the value of ram_top based on certain restrictions that the platform might have in accessing memory above ram_top, even when the memory region is in the same DRAM bank. So, even though the LMB allocator works as expected, when trying to allocate memory above ram_top, p