arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
PATCH 1/1 arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR definition in dump.c.
--- arch/arm64/mm/dump.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm64/mm/dump.c +1 -3
@@ -27,8 +27,6 @@#include <asm/pgtable.h> #include <asm/pgtable-hwdef.h> -#define LOWEST_ADDR (UL(0xffffffffffffffff) << VA_BITS) -struct addr_marker {unsigned long start_address;const char *name;
@@ -316,7 +314,7 @@ static int ptdump_show(struct seq_file *m, void *v) .marker = address_markers, }; -walk_pgd (&st, &init_mm,LOWEST_ADDR ); +walk_pgd (&st, &init_mm,VA_START );note_page (&st,0 ,0 ,0 );return 0 ;
Signature · 1 line
2.6.0.GIT
Mark Rutland
reviewerPATCH 1/1 arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
Quoted 4 lines · Kefeng Wang
Use
VA_STARTmacro inasm/memory.hinstead of privateLOWEST_ADDRdefinition indump.c.Signed-off-by Kefeng Wang <[email protected]>
FWIW:
Mark.
Quoted 35 lines
--- arch/arm64/mm/dump.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)arch/arm64/mm/dump.c +1
-3@@ -27,8 +27,6 @@#include <asm/pgtable.h> #include <asm/pgtable-hwdef.h> -#define LOWEST_ADDR (UL(0xffffffffffffffff) << VA_BITS) -struct addr_marker {unsigned long start_address;const char *name;@@ -316,7 +314,7 @@ static int ptdump_show(struct seq_file *m, void *v) .marker = address_markers, }; -walk_pgd (&st, &init_mm,LOWEST_ADDR ); +walk_pgd (&st, &init_mm,VA_START );note_page (&st,0 ,0 ,0 );return 0 ;Signature · 7 lines
2.6.0.GIT _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/1 arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
Hi Catalin and Will, ping...
Quoted 50 lines · Mark Rutland
Quoted 4 lines · Kefeng Wang
Use
VA_STARTmacro inasm/memory.hinstead of privateLOWEST_ADDRdefinition indump.c.Signed-off-by Kefeng Wang <[email protected]>FWIW:
Acked-by Mark Rutland <[email protected]>Mark.
Quoted 35 lines
--- arch/arm64/mm/dump.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)arch/arm64/mm/dump.c +1
-3@@ -27,8 +27,6 @@#include <asm/pgtable.h> #include <asm/pgtable-hwdef.h> -#define LOWEST_ADDR (UL(0xffffffffffffffff) << VA_BITS) -struct addr_marker {unsigned long start_address;const char *name;@@ -316,7 +314,7 @@ static int ptdump_show(struct seq_file *m, void *v) .marker = address_markers, }; -walk_pgd (&st, &init_mm,LOWEST_ADDR ); +walk_pgd (&st, &init_mm,VA_START );note_page (&st,0 ,0 ,0 );return 0 ;Signature · 7 lines
2.6.0.GIT _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel.
Catalin Marinas
maintainerPATCH 1/1 arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
Quoted 6 lines · Kefeng Wang
Quoted 5 lines · Mark Rutland
Quoted 4 lines · Kefeng Wang
Use
VA_STARTmacro inasm/memory.hinstead of privateLOWEST_ADDRdefinition indump.c.Signed-off-by Kefeng Wang <[email protected]>
I'll merge this patch for 4.6 but we currently have some issues with the arm64 for-next/core branch, so I'm not pushing any more patches out until we figure out what's going on (or I may just start with a clean branch again, removing some big changes in there).
Signature · 1 line
Catalin