Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Arnd Bergmann
On Mon, May 7, 2018 at 5:33 PM, Sakari Ailus wrote: > On Mon, May 07, 2018 at 04:36:45PM -0400, Arnd Bergmann wrote: >> On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote: >> > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: >> >> On

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Arnd Bergmann
On Mon, May 7, 2018 at 5:33 PM, Sakari Ailus wrote: > On Mon, May 07, 2018 at 04:36:45PM -0400, Arnd Bergmann wrote: >> On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote: >> > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: >> >> On Thursday, 26 April 2018 00:30:10 EEST Arnd

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Sakari Ailus
On Mon, May 07, 2018 at 04:36:45PM -0400, Arnd Bergmann wrote: > On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote: > > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: > >> On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: > >> > +int

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Sakari Ailus
On Mon, May 07, 2018 at 04:36:45PM -0400, Arnd Bergmann wrote: > On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote: > > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: > >> On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: > >> > +int

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Arnd Bergmann
On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote: > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: >> On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: >> > +int omap3isp_stat_request_statistics_time32(struct ispstat *stat, >> > +

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Arnd Bergmann
On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote: > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: >> On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: >> > +int omap3isp_stat_request_statistics_time32(struct ispstat *stat, >> > +

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Sakari Ailus
On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: > Hi Arnd, > > Thank you for the patch. > > On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: > > C libraries with 64-bit time_t use an incompatible format for > > struct omap3isp_stat_data. This changes the kernel

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Sakari Ailus
On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote: > Hi Arnd, > > Thank you for the patch. > > On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: > > C libraries with 64-bit time_t use an incompatible format for > > struct omap3isp_stat_data. This changes the kernel

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Laurent Pinchart
Hi Arnd, Thank you for the patch. On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: > C libraries with 64-bit time_t use an incompatible format for > struct omap3isp_stat_data. This changes the kernel code to > support either version, by moving over the normal handling > to the

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Laurent Pinchart
Hi Arnd, Thank you for the patch. On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote: > C libraries with 64-bit time_t use an incompatible format for > struct omap3isp_stat_data. This changes the kernel code to > support either version, by moving over the normal handling > to the

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Sakari Ailus
On Thu, May 03, 2018 at 06:06:58PM -0400, Arnd Bergmann wrote: > On Thu, May 3, 2018 at 8:56 AM, Sakari Ailus wrote: > > On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote: > >> @@ -165,7 +167,14 @@ struct omap3isp_h3a_aewb_config { > >> * @config_counter: Number

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-07 Thread Sakari Ailus
On Thu, May 03, 2018 at 06:06:58PM -0400, Arnd Bergmann wrote: > On Thu, May 3, 2018 at 8:56 AM, Sakari Ailus wrote: > > On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote: > >> @@ -165,7 +167,14 @@ struct omap3isp_h3a_aewb_config { > >> * @config_counter: Number of the configuration

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-03 Thread Arnd Bergmann
On Thu, May 3, 2018 at 8:56 AM, Sakari Ailus wrote: > On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote: >> @@ -165,7 +167,14 @@ struct omap3isp_h3a_aewb_config { >> * @config_counter: Number of the configuration associated with the data. >> */ >> struct

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-03 Thread Arnd Bergmann
On Thu, May 3, 2018 at 8:56 AM, Sakari Ailus wrote: > On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote: >> @@ -165,7 +167,14 @@ struct omap3isp_h3a_aewb_config { >> * @config_counter: Number of the configuration associated with the data. >> */ >> struct omap3isp_stat_data { >>

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-03 Thread Sakari Ailus
Hi Arnd, Thanks for the patch and apologies for the delays. On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote: > C libraries with 64-bit time_t use an incompatible format for > struct omap3isp_stat_data. This changes the kernel code to > support either version, by moving over the

Re: [PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-05-03 Thread Sakari Ailus
Hi Arnd, Thanks for the patch and apologies for the delays. On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote: > C libraries with 64-bit time_t use an incompatible format for > struct omap3isp_stat_data. This changes the kernel code to > support either version, by moving over the

[PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-04-25 Thread Arnd Bergmann
C libraries with 64-bit time_t use an incompatible format for struct omap3isp_stat_data. This changes the kernel code to support either version, by moving over the normal handling to the 64-bit variant, and adding compatiblity code to handle the old binary format with the existing ioctl command

[PATCH] [RESEND] [media] omap3isp: support 64-bit version of omap3isp_stat_data

2018-04-25 Thread Arnd Bergmann
C libraries with 64-bit time_t use an incompatible format for struct omap3isp_stat_data. This changes the kernel code to support either version, by moving over the normal handling to the 64-bit variant, and adding compatiblity code to handle the old binary format with the existing ioctl command