diff for duplicates of <521C9DB3.60305@huawei.com> diff --git a/a/1.txt b/N1/1.txt index 5478006..69300ec 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,7 +4,7 @@ On 2013/8/24 1:16, Catalin Marinas 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. Then, OS register ->>> mem block into memblock.memory according to memory node in fdt, like memory at 0, +>>> mem block into memblock.memory according to memory node in fdt, like memory@0, >>> and create map in setup_arch-->paging_init. If all mem block start address and >>> size is integral multiple of 2M, there is no problem, because we will create 2M >>> section size map whose entries locate in level 2 table. But if it is not @@ -183,3 +183,11 @@ diff -Naur a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c /* map all the memory banks */ for_each_memblock(memory, reg) { phys_addr_t start = reg->base; + + + +-- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index 601d2b3..7878e5c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,18 @@ "ref\0BFAC7FA8F7636E45AB9ECBAC17346F3434557683@SZXEML508-MBS.china.huawei.com\0" "ref\020130822161614.GE1352@arm.com\0" "ref\020130823171605.GH10971@arm.com\0" - "From\0thunder.leizhen@huawei.com (leizhen)\0" - "Subject\0[BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.\0" + "From\0leizhen <thunder.leizhen@huawei.com>\0" + "Subject\0Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.\0" "Date\0Tue, 27 Aug 2013 20:38:11 +0800\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Catalin Marinas <catalin.marinas@arm.com>\0" + "Cc\0Russell King <linux@arm.linux.org.uk>" + Liujiang (Gerry) <jiang.liu@huawei.com> + Will Deacon <Will.Deacon@arm.com> + linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org> + Huxinwei <huxinwei@huawei.com> + linux-mm@kvack.org <linux-mm@kvack.org> + Lizefan <lizefan@huawei.com> + " linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>\0" "\00:1\0" "b\0" "On 2013/8/24 1:16, Catalin Marinas wrote:\n" @@ -13,7 +21,7 @@ ">>> This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the memory\n" ">>> map size can be 2M(section) and 4K(PAGE). First, OS will create map for pgd\n" ">>> (level 1 table) and level 2 table which in swapper_pg_dir. Then, OS register\n" - ">>> mem block into memblock.memory according to memory node in fdt, like memory at 0,\n" + ">>> mem block into memblock.memory according to memory node in fdt, like memory@0,\n" ">>> and create map in setup_arch-->paging_init. If all mem block start address and\n" ">>> size is integral multiple of 2M, there is no problem, because we will create 2M\n" ">>> section size map whose entries locate in level 2 table. But if it is not\n" @@ -191,6 +199,14 @@ "+\n" " \t/* map all the memory banks */\n" " \tfor_each_memblock(memory, reg) {\n" - " \t\tphys_addr_t start = reg->base;" + " \t\tphys_addr_t start = reg->base;\n" + "\n" + "\n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -144a3d50186f48358e07b79edb50ee6086701a6479a9086e7e55f6ccc5251c94 +eb2303c5acedfa0bdf229d0427cfde9c917172be7fa8a1ef3d5a5a4d5bc2f7b9
diff --git a/a/1.txt b/N2/1.txt index 5478006..83bd6d3 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -4,7 +4,7 @@ On 2013/8/24 1:16, Catalin Marinas 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. Then, OS register ->>> mem block into memblock.memory according to memory node in fdt, like memory at 0, +>>> mem block into memblock.memory according to memory node in fdt, like memory@0, >>> and create map in setup_arch-->paging_init. If all mem block start address and >>> size is integral multiple of 2M, there is no problem, because we will create 2M >>> section size map whose entries locate in level 2 table. But if it is not diff --git a/a/content_digest b/N2/content_digest index 601d2b3..dcb3502 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,10 +1,18 @@ "ref\0BFAC7FA8F7636E45AB9ECBAC17346F3434557683@SZXEML508-MBS.china.huawei.com\0" "ref\020130822161614.GE1352@arm.com\0" "ref\020130823171605.GH10971@arm.com\0" - "From\0thunder.leizhen@huawei.com (leizhen)\0" - "Subject\0[BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.\0" + "From\0leizhen <thunder.leizhen@huawei.com>\0" + "Subject\0Re: [BUG] ARM64: Create 4K page size mmu memory map at init time will trigger exception.\0" "Date\0Tue, 27 Aug 2013 20:38:11 +0800\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Catalin Marinas <catalin.marinas@arm.com>\0" + "Cc\0Russell King <linux@arm.linux.org.uk>" + Liujiang (Gerry) <jiang.liu@huawei.com> + Will Deacon <Will.Deacon@arm.com> + linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org> + Huxinwei <huxinwei@huawei.com> + linux-mm@kvack.org <linux-mm@kvack.org> + Lizefan <lizefan@huawei.com> + " linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>\0" "\00:1\0" "b\0" "On 2013/8/24 1:16, Catalin Marinas wrote:\n" @@ -13,7 +21,7 @@ ">>> This problem is on ARM64. When CONFIG_ARM64_64K_PAGES is not opened, the memory\n" ">>> map size can be 2M(section) and 4K(PAGE). First, OS will create map for pgd\n" ">>> (level 1 table) and level 2 table which in swapper_pg_dir. Then, OS register\n" - ">>> mem block into memblock.memory according to memory node in fdt, like memory at 0,\n" + ">>> mem block into memblock.memory according to memory node in fdt, like memory@0,\n" ">>> and create map in setup_arch-->paging_init. If all mem block start address and\n" ">>> size is integral multiple of 2M, there is no problem, because we will create 2M\n" ">>> section size map whose entries locate in level 2 table. But if it is not\n" @@ -193,4 +201,4 @@ " \tfor_each_memblock(memory, reg) {\n" " \t\tphys_addr_t start = reg->base;" -144a3d50186f48358e07b79edb50ee6086701a6479a9086e7e55f6ccc5251c94 +3452df5abb218b3287eb62e4ce19a0fa9149590210858f55d4cad09ad1d2e215
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.