Re: [PATCH 1/2]pstore: Move timestamp collection code to common pstore place

2017-05-23 Thread Ankit Kumar
Hi Kees, Thank you so much for your response. On Tuesday 23 May 2017 05:07 AM, Kees Cook wrote: On Mon, May 22, 2017 at 3:20 AM, Ankit Kumar wrote: Current pstore code(ram.c) gets dump timestamp and make it part of header. Different diffent architecture uses different header format and henc

Re: [PATCH 1/2]pstore: Move timestamp collection code to common pstore place

2017-05-22 Thread Kees Cook
On Mon, May 22, 2017 at 3:20 AM, Ankit Kumar wrote: > Current pstore code(ram.c) gets dump timestamp and make it part of header. > Different diffent architecture uses different header format and hence it > won't be good idea to make ramoops_write_kmsg_hdr/ramoops_read_kmsg_hdr > part of generic ps

[PATCH 1/2]pstore: Move timestamp collection code to common pstore place

2017-05-22 Thread Ankit Kumar
Current pstore code(ram.c) gets dump timestamp and make it part of header. Different diffent architecture uses different header format and hence it won't be good idea to make ramoops_write_kmsg_hdr/ramoops_read_kmsg_hdr part of generic pstore code. ramoops_write_kmsg_hdr calls __getnstimeofday to