Re: [PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-27 Thread Ilya Lipnitskiy
On Sat, Mar 27, 2021 at 2:06 PM Thomas Bogendoerfer wrote: > > On Sat, Mar 27, 2021 at 09:35:43AM -0700, Ilya Lipnitskiy wrote: > > On Sat, Mar 27, 2021 at 2:46 AM Thomas Bogendoerfer > > wrote: > > > > > > On Thu, Mar 25, 2021 at 07:45:23PM -0700, Ilya Lipnitskiy wrote: > > > > On Thu, Mar 25, 2

Re: [PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-27 Thread Thomas Bogendoerfer
On Sat, Mar 27, 2021 at 09:35:43AM -0700, Ilya Lipnitskiy wrote: > On Sat, Mar 27, 2021 at 2:46 AM Thomas Bogendoerfer > wrote: > > > > On Thu, Mar 25, 2021 at 07:45:23PM -0700, Ilya Lipnitskiy wrote: > > > On Thu, Mar 25, 2021 at 3:01 AM Thomas Bogendoerfer > > > wrote: > > > > > > > > On Tue, M

Re: [PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-27 Thread Ilya Lipnitskiy
On Sat, Mar 27, 2021 at 2:46 AM Thomas Bogendoerfer wrote: > > On Thu, Mar 25, 2021 at 07:45:23PM -0700, Ilya Lipnitskiy wrote: > > On Thu, Mar 25, 2021 at 3:01 AM Thomas Bogendoerfer > > wrote: > > > > > > On Tue, Mar 16, 2021 at 10:59:02PM -0700, Ilya Lipnitskiy wrote: > > > > From: Chuanhong G

Re: [PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-27 Thread Thomas Bogendoerfer
On Thu, Mar 25, 2021 at 07:45:23PM -0700, Ilya Lipnitskiy wrote: > On Thu, Mar 25, 2021 at 3:01 AM Thomas Bogendoerfer > wrote: > > > > On Tue, Mar 16, 2021 at 10:59:02PM -0700, Ilya Lipnitskiy wrote: > > > From: Chuanhong Guo > > > > > > mt7621 has the following memory map: > > > 0x0-0x1c00:

Re: [PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-25 Thread Ilya Lipnitskiy
On Thu, Mar 25, 2021 at 3:01 AM Thomas Bogendoerfer wrote: > > On Tue, Mar 16, 2021 at 10:59:02PM -0700, Ilya Lipnitskiy wrote: > > From: Chuanhong Guo > > > > mt7621 has the following memory map: > > 0x0-0x1c00: lower 448m memory > > 0x1c00-0x200: peripheral registers > > 0x2000-

Re: [PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-25 Thread Thomas Bogendoerfer
On Tue, Mar 16, 2021 at 10:59:02PM -0700, Ilya Lipnitskiy wrote: > From: Chuanhong Guo > > mt7621 has the following memory map: > 0x0-0x1c00: lower 448m memory > 0x1c00-0x200: peripheral registers > 0x2000-0x240: higher 64m memory > > detect_memory_region in arch/mips/kernel/

[PATCH] MIPS: ralink: mt7621: add memory detection support

2021-03-16 Thread Ilya Lipnitskiy
From: Chuanhong Guo mt7621 has the following memory map: 0x0-0x1c00: lower 448m memory 0x1c00-0x200: peripheral registers 0x2000-0x240: higher 64m memory detect_memory_region in arch/mips/kernel/setup.c only adds the first memory region and isn't suitable for 512m memory dete