Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread leizhen
On 2013/8/28 8:57, leizhen wrote: > On 2013/8/27 22:48, Catalin Marinas wrote: >> On Tue, Aug 27, 2013 at 01:38:11PM +0100, leizhen wrote: >>> On 2013/8/24 1:16, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: > On Thu, Aug 22, 2013 at 04:35:29AM

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread leizhen
On 2013/8/27 22:48, Catalin Marinas wrote: > On Tue, Aug 27, 2013 at 01:38:11PM +0100, leizhen wrote: >> On 2013/8/24 1:16, Catalin Marinas wrote: >>> On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler)

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread Catalin Marinas
On Tue, Aug 27, 2013 at 01:38:11PM +0100, leizhen wrote: > On 2013/8/24 1:16, Catalin Marinas wrote: > > On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: > >> On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) > >> wrote: > >>> This problem is on ARM64. When

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread leizhen
On 2013/8/24 1:16, Catalin Marinas wrote: > On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: >> On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: >>> This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the >>> memory >>> map size can be

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread leizhen
On 2013/8/24 1:16, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the memory map size can be 2M(section)

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread Catalin Marinas
On Tue, Aug 27, 2013 at 01:38:11PM +0100, leizhen wrote: On 2013/8/24 1:16, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: This problem is on ARM64. When

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread leizhen
On 2013/8/27 22:48, Catalin Marinas wrote: On Tue, Aug 27, 2013 at 01:38:11PM +0100, leizhen wrote: On 2013/8/24 1:16, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: This

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-27 Thread leizhen
On 2013/8/28 8:57, leizhen wrote: On 2013/8/27 22:48, Catalin Marinas wrote: On Tue, Aug 27, 2013 at 01:38:11PM +0100, leizhen wrote: On 2013/8/24 1:16, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-23 Thread Catalin Marinas
On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: > On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: > > This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the > > memory > > map size can be 2M(section) and 4K(PAGE). First, OS will

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-23 Thread Catalin Marinas
On Thu, Aug 22, 2013 at 05:16:14PM +0100, Catalin Marinas wrote: On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the memory map size can be 2M(section) and 4K(PAGE). First, OS will create map

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-22 Thread Catalin Marinas
On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: > This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the > memory > map size can be 2M(section) and 4K(PAGE). First, OS will create map for pgd > (level 1 table) and level 2 table which in

Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.

2013-08-22 Thread Catalin Marinas
On Thu, Aug 22, 2013 at 04:35:29AM +0100, Leizhen (ThunderTown, Euler) wrote: This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the memory map size can be 2M(section) and 4K(PAGE). First, OS will create map for pgd (level 1 table) and level 2 table which in swapper_pg_dir.