Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Greentime Hu
Hi, Guo Ren: 2017-12-18 20:22 GMT+08:00 Guo Ren : > On Mon, Dec 18, 2017 at 07:21:30PM +0800, Greentime Hu wrote: >> Hi, Guo Ren: >> >> 2017-12-18 17:08 GMT+08:00 Guo Ren : >> > Hi Greentime, >> > >> > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Greentime Hu
Hi, Guo Ren: 2017-12-18 20:22 GMT+08:00 Guo Ren : > On Mon, Dec 18, 2017 at 07:21:30PM +0800, Greentime Hu wrote: >> Hi, Guo Ren: >> >> 2017-12-18 17:08 GMT+08:00 Guo Ren : >> > Hi Greentime, >> > >> > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: >> > [...] >> >> >> >> diff --git

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Guo Ren
On Mon, Dec 18, 2017 at 07:21:30PM +0800, Greentime Hu wrote: > Hi, Guo Ren: > > 2017-12-18 17:08 GMT+08:00 Guo Ren : > > Hi Greentime, > > > > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: > > [...] > >> > >> diff --git a/arch/nds32/mm/highmem.c

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Guo Ren
On Mon, Dec 18, 2017 at 07:21:30PM +0800, Greentime Hu wrote: > Hi, Guo Ren: > > 2017-12-18 17:08 GMT+08:00 Guo Ren : > > Hi Greentime, > > > > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: > > [...] > >> > >> diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c > >

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Greentime Hu
Hi, Guo Ren: 2017-12-18 17:08 GMT+08:00 Guo Ren : > Hi Greentime, > > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: > [...] >> >> diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c > [...] >> +void *kmap(struct page *page) >> +{ >> + unsigned

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Greentime Hu
Hi, Guo Ren: 2017-12-18 17:08 GMT+08:00 Guo Ren : > Hi Greentime, > > On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: > [...] >> >> diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c > [...] >> +void *kmap(struct page *page) >> +{ >> + unsigned long vaddr; >> +

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Guo Ren
Hi Greentime, On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: [...] > > diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c [...] > +void *kmap(struct page *page) > +{ > + unsigned long vaddr; > + might_sleep(); > + if (!PageHighMem(page)) > +

Re: [PATCH v3 07/33] nds32: MMU initialization

2017-12-18 Thread Guo Ren
Hi Greentime, On Fri, Dec 08, 2017 at 05:11:50PM +0800, Greentime Hu wrote: [...] > > diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c [...] > +void *kmap(struct page *page) > +{ > + unsigned long vaddr; > + might_sleep(); > + if (!PageHighMem(page)) > +

[PATCH v3 07/33] nds32: MMU initialization

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes memory initializations and highmem supporting. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/mm/highmem.c | 92 +++ arch/nds32/mm/init.c

[PATCH v3 07/33] nds32: MMU initialization

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes memory initializations and highmem supporting. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/mm/highmem.c | 92 +++ arch/nds32/mm/init.c | 290 ++