Re: [PATCH v2] ramoops: make it possible to change mem_type param.

2015-05-04 Thread long.wanglong
On 2015/4/3 1:10, marco wrote:
>> On 03/30/2015 06:33 PM, Wang Long wrote:
>>>   dummy_data->mem_size = mem_size;
>>>   dummy_data->mem_address = mem_address;
>>> -dummy_data->mem_type = 0;
>>> +dummy_data->mem_type = mem_type;
>>>   dummy_data->record_size = record_size;
>>>   dummy_data->console_size = ramoops_console_size;
>>>   dummy_data->ftrace_size = ramoops_ftrace_size;
>> Ack
> 
> Acked-by: Marco Stornelli 
> 
> .
> 

Hi Tony Luck,

Could you please help to commit this patch?

Thank you.

Best Regards
Wang Long

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2] ramoops: make it possible to change mem_type param.

2015-05-04 Thread long.wanglong
On 2015/4/3 1:10, marco wrote:
 On 03/30/2015 06:33 PM, Wang Long wrote:
   dummy_data-mem_size = mem_size;
   dummy_data-mem_address = mem_address;
 -dummy_data-mem_type = 0;
 +dummy_data-mem_type = mem_type;
   dummy_data-record_size = record_size;
   dummy_data-console_size = ramoops_console_size;
   dummy_data-ftrace_size = ramoops_ftrace_size;
 Ack
 
 Acked-by: Marco Stornelli marco.storne...@gmail.com
 
 .
 

Hi Tony Luck,

Could you please help to commit this patch?

Thank you.

Best Regards
Wang Long

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2] ramoops: make it possible to change mem_type param.

2015-04-02 Thread marco

On 03/30/2015 06:33 PM, Wang Long wrote:

  dummy_data->mem_size = mem_size;
  dummy_data->mem_address = mem_address;
-dummy_data->mem_type = 0;
+dummy_data->mem_type = mem_type;
  dummy_data->record_size = record_size;
  dummy_data->console_size = ramoops_console_size;
  dummy_data->ftrace_size = ramoops_ftrace_size;

Ack


Acked-by: Marco Stornelli 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2] ramoops: make it possible to change mem_type param.

2015-04-02 Thread Mark Salyzyn

On 03/30/2015 06:33 PM, Wang Long wrote:

dummy_data->mem_size = mem_size;
dummy_data->mem_address = mem_address;
-   dummy_data->mem_type = 0;
+   dummy_data->mem_type = mem_type;
dummy_data->record_size = record_size;
dummy_data->console_size = ramoops_console_size;
dummy_data->ftrace_size = ramoops_ftrace_size;

Ack
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2] ramoops: make it possible to change mem_type param.

2015-04-02 Thread Mark Salyzyn

On 03/30/2015 06:33 PM, Wang Long wrote:

dummy_data-mem_size = mem_size;
dummy_data-mem_address = mem_address;
-   dummy_data-mem_type = 0;
+   dummy_data-mem_type = mem_type;
dummy_data-record_size = record_size;
dummy_data-console_size = ramoops_console_size;
dummy_data-ftrace_size = ramoops_ftrace_size;

Ack
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2] ramoops: make it possible to change mem_type param.

2015-04-02 Thread marco

On 03/30/2015 06:33 PM, Wang Long wrote:

  dummy_data-mem_size = mem_size;
  dummy_data-mem_address = mem_address;
-dummy_data-mem_type = 0;
+dummy_data-mem_type = mem_type;
  dummy_data-record_size = record_size;
  dummy_data-console_size = ramoops_console_size;
  dummy_data-ftrace_size = ramoops_ftrace_size;

Ack


Acked-by: Marco Stornelli marco.storne...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2] ramoops: make it possible to change mem_type param.

2015-03-30 Thread Wang Long
If we set ramoops.mem_type=1 in command line, the current
code can not change mem_type to 1, because it is assigned
to 0 in function ramoops_register_dummy.

This patch make it possible to change mem_type parameter
in command line.

Signed-off-by: Wang Long 
Acked-by: Tony Lindgren 
---
 fs/pstore/ram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index 44a549b..4449653 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -608,7 +608,7 @@ static void ramoops_register_dummy(void)
 
dummy_data->mem_size = mem_size;
dummy_data->mem_address = mem_address;
-   dummy_data->mem_type = 0;
+   dummy_data->mem_type = mem_type;
dummy_data->record_size = record_size;
dummy_data->console_size = ramoops_console_size;
dummy_data->ftrace_size = ramoops_ftrace_size;
-- 
1.8.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2] ramoops: make it possible to change mem_type param.

2015-03-30 Thread Wang Long
If we set ramoops.mem_type=1 in command line, the current
code can not change mem_type to 1, because it is assigned
to 0 in function ramoops_register_dummy.

This patch make it possible to change mem_type parameter
in command line.

Signed-off-by: Wang Long long.wangl...@huawei.com
Acked-by: Tony Lindgren t...@atomide.com
---
 fs/pstore/ram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index 44a549b..4449653 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -608,7 +608,7 @@ static void ramoops_register_dummy(void)
 
dummy_data-mem_size = mem_size;
dummy_data-mem_address = mem_address;
-   dummy_data-mem_type = 0;
+   dummy_data-mem_type = mem_type;
dummy_data-record_size = record_size;
dummy_data-console_size = ramoops_console_size;
dummy_data-ftrace_size = ramoops_ftrace_size;
-- 
1.8.3.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/