2022-05-28 18:52:34

by Nicolas Dufresne

[permalink] [raw]
Subject: Re: [EXT] Re: [PATCH v2] media: imx-jpeg: Leave a blank space before the configuration data

Le vendredi 27 mai 2022 à 11:33 +0000, Ming Qian a écrit :
> > From: Fabio Estevam <[email protected]>
> > Sent: 2022年5月27日 19:12
> > To: Ming Qian <[email protected]>
> > Cc: Mauro Carvalho Chehab <[email protected]>; Mirela Rabulea (OSS)
> > <[email protected]>; Hans Verkuil <[email protected]>;
> > Shawn Guo <[email protected]>; Sascha Hauer <[email protected]>;
> > Sascha Hauer <[email protected]>; dl-linux-imx <[email protected]>;
> > linux-media <[email protected]>; linux-kernel
> > <[email protected]>; open list:OPEN FIRMWARE AND FLATTENED
> > DEVICE TREE BINDINGS <[email protected]>; moderated
> > list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
> > <[email protected]>
> > Subject: [EXT] Re: [PATCH v2] media: imx-jpeg: Leave a blank space before
> > the
> > configuration data
> >
> > Caution: EXT Email
> >
> > Hi Ming,
> >
> > On Fri, May 27, 2022 at 7:25 AM Ming Qian <[email protected]> wrote:
> > >
> > > There is a hardware bug that it will load the first 128 bytes of
> > > configuration data twice, it will led to some configure error.
> > > so shift the configuration data 128 bytes, and make the first 128
> > > bytes all zero, then hardware will load the 128 zero twice, and ignore
> > > them as garbage.
> > > then the configuration data can be loaded correctly
> > >
> > > Signed-off-by: Ming Qian <[email protected]>
> > > Reviewed-by: Mirela Rabulea <[email protected]>
> > > Reviewed-by: Tommaso Merciai <[email protected]>
> >
> > Fixes tag?
>
> Hi Fabio,
>     It's a hardware issue, so I'm not sure is it a driver issue that I fix it.
>     Or I just check which patch includes the code I changed, and add the fix
> tag?

You can use Fixes tag even though there was no software bug. The point of the
tag is to help locate how far we can backport this patch in order to let stable
kernel users benefit.

regards,
Nicolas

>
> Ming



2022-05-30 13:27:34

by Ming Qian

[permalink] [raw]
Subject: RE: [EXT] Re: [PATCH v2] media: imx-jpeg: Leave a blank space before the configuration data

> From: Nicolas Dufresne <[email protected]>
> Sent: 2022年5月28日 3:26
> To: Ming Qian <[email protected]>; Fabio Estevam <[email protected]>
> Cc: Mauro Carvalho Chehab <[email protected]>; Mirela Rabulea (OSS)
> <[email protected]>; Hans Verkuil <[email protected]>;
> Shawn Guo <[email protected]>; Sascha Hauer <[email protected]>;
> Sascha Hauer <[email protected]>; dl-linux-imx <[email protected]>;
> linux-media <[email protected]>; linux-kernel
> <[email protected]>; open list:OPEN FIRMWARE AND FLATTENED
> DEVICE TREE BINDINGS <[email protected]>; moderated
> list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
> <[email protected]>
> Subject: Re: [EXT] Re: [PATCH v2] media: imx-jpeg: Leave a blank space before
> the configuration data
>
> Caution: EXT Email
>
> Le vendredi 27 mai 2022 à 11:33 +0000, Ming Qian a écrit :
> > > From: Fabio Estevam <[email protected]>
> > > Sent: 2022年5月27日 19:12
> > > To: Ming Qian <[email protected]>
> > > Cc: Mauro Carvalho Chehab <[email protected]>; Mirela Rabulea (OSS)
> > > <[email protected]>; Hans Verkuil
> > > <[email protected]>; Shawn Guo <[email protected]>; Sascha
> > > Hauer <[email protected]>; Sascha Hauer
> > > <[email protected]>; dl-linux-imx <[email protected]>;
> > > linux-media <[email protected]>; linux-kernel
> > > <[email protected]>; open list:OPEN FIRMWARE AND
> > > FLATTENED DEVICE TREE BINDINGS <[email protected]>;
> > > moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
> > > <[email protected]>
> > > Subject: [EXT] Re: [PATCH v2] media: imx-jpeg: Leave a blank space
> > > before the configuration data
> > >
> > > Caution: EXT Email
> > >
> > > Hi Ming,
> > >
> > > On Fri, May 27, 2022 at 7:25 AM Ming Qian <[email protected]> wrote:
> > > >
> > > > There is a hardware bug that it will load the first 128 bytes of
> > > > configuration data twice, it will led to some configure error.
> > > > so shift the configuration data 128 bytes, and make the first 128
> > > > bytes all zero, then hardware will load the 128 zero twice, and
> > > > ignore them as garbage.
> > > > then the configuration data can be loaded correctly
> > > >
> > > > Signed-off-by: Ming Qian <[email protected]>
> > > > Reviewed-by: Mirela Rabulea <[email protected]>
> > > > Reviewed-by: Tommaso Merciai
> > > > <[email protected]>
> > >
> > > Fixes tag?
> >
> > Hi Fabio,
> > It's a hardware issue, so I'm not sure is it a driver issue that I fix it.
> > Or I just check which patch includes the code I changed, and add
> > the fix tag?
>
> You can use Fixes tag even though there was no software bug. The point of the
> tag is to help locate how far we can backport this patch in order to let stable
> kernel users benefit.
>
> regards,
> Nicolas
>

Hi Nicolas,
Thanks for your information, I'll add a fix tag in v3.
Ming.

> >
> > Ming