All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
@ 2016-01-30  7:55 Kefeng Wang
  2016-02-01 10:23 ` Mark Rutland
  0 siblings, 1 reply; 4+ messages in thread
From: Kefeng Wang @ 2016-01-30  7:55 UTC (permalink / raw)
  To: linux-arm-kernel

Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR
definition in dump.c.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 arch/arm64/mm/dump.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c
index 0adbebb..b3c62b1 100644
--- a/arch/arm64/mm/dump.c
+++ b/arch/arm64/mm/dump.c
@@ -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;
-- 
2.6.0.GIT

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
  2016-01-30  7:55 [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR Kefeng Wang
@ 2016-02-01 10:23 ` Mark Rutland
  2016-02-14  8:57   ` Kefeng Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2016-02-01 10:23 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Jan 30, 2016 at 03:55:21PM +0800, Kefeng Wang wrote:
> Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR
> definition in dump.c.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

FWIW:

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> ---
>  arch/arm64/mm/dump.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c
> index 0adbebb..b3c62b1 100644
> --- a/arch/arm64/mm/dump.c
> +++ b/arch/arm64/mm/dump.c
> @@ -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;
> -- 
> 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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
  2016-02-01 10:23 ` Mark Rutland
@ 2016-02-14  8:57   ` Kefeng Wang
  2016-02-15 10:09     ` Catalin Marinas
  0 siblings, 1 reply; 4+ messages in thread
From: Kefeng Wang @ 2016-02-14  8:57 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Catalin and Will,  ping...

On 2016/2/1 18:23, Mark Rutland wrote:
> On Sat, Jan 30, 2016 at 03:55:21PM +0800, Kefeng Wang wrote:
>> Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR
>> definition in dump.c.
>>
>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> 
> FWIW:
> 
> Acked-by: Mark Rutland <mark.rutland@arm.com>
> 
> Mark.
> 
>> ---
>>  arch/arm64/mm/dump.c | 4 +---
>>  1 file changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c
>> index 0adbebb..b3c62b1 100644
>> --- a/arch/arm64/mm/dump.c
>> +++ b/arch/arm64/mm/dump.c
>> @@ -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;
>> -- 
>> 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
>>
> 
> .
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
  2016-02-14  8:57   ` Kefeng Wang
@ 2016-02-15 10:09     ` Catalin Marinas
  0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2016-02-15 10:09 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Feb 14, 2016 at 04:57:18PM +0800, Kefeng Wang wrote:
> On 2016/2/1 18:23, Mark Rutland wrote:
> > On Sat, Jan 30, 2016 at 03:55:21PM +0800, Kefeng Wang wrote:
> >> Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR
> >> definition in dump.c.
> >>
> >> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

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).

-- 
Catalin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-15 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-30  7:55 [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR Kefeng Wang
2016-02-01 10:23 ` Mark Rutland
2016-02-14  8:57   ` Kefeng Wang
2016-02-15 10:09     ` Catalin Marinas

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.