linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
@ 2023-04-15 18:02 Daniel Golle
  2023-04-15 18:24 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Golle @ 2023-04-15 18:02 UTC (permalink / raw)
  To: stable, linux-mtd
  Cc: Hauke Mehrtens, Richard Weinberger, Miquel Raynal, chengzhihao1,
	Nicolas Schichan, George Kennedy, Sascha Hauer, yi zhang

Hi,

please pick

 1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")

from linux-next to stable trees.
The commit fixes a problem with another recent commit

 1b42b1a36fc94 ("ubi: ensure that VID header offset ... size")

which has already made it to stable trees and thereby broke attaching
UBI and hence renders devices unbootable.

As a temporary fix I have applied this patch downstream in OpenWrt.


Thank you!


Best regards


Daniel

----- Forwarded message from Daniel Golle <daniel@makrotopia.org> -----

Date: Sat, 15 Apr 2023 00:12:46 +0100
From: Daniel Golle <daniel@makrotopia.org>
To: Richard Weinberger <richard@nod.at>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>, chengzhihao1 <chengzhihao1@huawei.com>, Nicolas Schichan <nschichan@freebox.fr>, George Kennedy <george.kennedy@oracle.com>, linux-kernel <linux-kernel@vger.kernel.org>, linux-mtd
	<linux-mtd@lists.infradead.org>, Sascha Hauer <s.hauer@pengutronix.de>, yi zhang <yi.zhang@huawei.com>
Subject: Re: [PATCH -next v3] ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size

Hi Richard,

On Wed, Mar 29, 2023 at 11:33:40PM +0200, Richard Weinberger wrote:
> ----- Ursprüngliche Mail -----
> > Von: "Miquel Raynal" <miquel.raynal@bootlin.com>
> >> Thanks for testing.
> >> 
> >> > Tested-by: Nicolas Schichan <nschichan@freebox.fr>
> > 
> > Same here.
> > 
> > Tested-by: Miquel Raynal <miquel.raynal@bootlin.com> # v5.10, v4.19
> 
> Applied to next, PR will follow soon.

As stable linux trees are affected I wonder when this will hit
linux-stable, ie. will it be part of 5.15.108, for example?


Cheers


Daniel

----- End forwarded message -----

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
  2023-04-15 18:02 Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size" Daniel Golle
@ 2023-04-15 18:24 ` Greg KH
  2023-04-15 18:26 ` Richard Weinberger
  2023-04-17 17:36 ` Greg KH
  2 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2023-04-15 18:24 UTC (permalink / raw)
  To: Daniel Golle
  Cc: stable, linux-mtd, Hauke Mehrtens, Richard Weinberger,
	Miquel Raynal, chengzhihao1, Nicolas Schichan, George Kennedy,
	Sascha Hauer, yi zhang

On Sat, Apr 15, 2023 at 07:02:26PM +0100, Daniel Golle wrote:
> Hi,
> 
> please pick
> 
>  1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")
> 
> from linux-next to stable trees.

We need to have it hit Linus's tree first.  Any reason why it isn't
there yet?

thanks,

greg k-h

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
  2023-04-15 18:02 Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size" Daniel Golle
  2023-04-15 18:24 ` Greg KH
@ 2023-04-15 18:26 ` Richard Weinberger
  2023-04-15 18:35   ` Greg KH
  2023-04-17 17:36 ` Greg KH
  2 siblings, 1 reply; 6+ messages in thread
From: Richard Weinberger @ 2023-04-15 18:26 UTC (permalink / raw)
  To: Daniel Golle
  Cc: stable, linux-mtd, Hauke Mehrtens, Miquel Raynal, chengzhihao1,
	Nicolas Schichan, George Kennedy, Sascha Hauer, yi zhang

----- Ursprüngliche Mail -----
> Von: "Daniel Golle" <daniel@makrotopia.org>
> An: "stable" <stable@vger.kernel.org>, "linux-mtd" <linux-mtd@lists.infradead.org>
> CC: "Hauke Mehrtens" <hauke@hauke-m.de>, "richard" <richard@nod.at>, "Miquel Raynal" <miquel.raynal@bootlin.com>,
> "chengzhihao1" <chengzhihao1@huawei.com>, "Nicolas Schichan" <nschichan@freebox.fr>, "George Kennedy"
> <george.kennedy@oracle.com>, "Sascha Hauer" <s.hauer@pengutronix.de>, "yi zhang" <yi.zhang@huawei.com>
> Gesendet: Samstag, 15. April 2023 20:02:26
> Betreff: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"

> Hi,
> 
> please pick
> 
> 1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to
> (sub)page size")
> 
> from linux-next to stable trees.

FYI, the fix is not yet in Linus' master. But I guess it will be very soon.
The pull request is on the mailinglist.

Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
  2023-04-15 18:26 ` Richard Weinberger
@ 2023-04-15 18:35   ` Greg KH
  2023-04-15 18:37     ` Richard Weinberger
  0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2023-04-15 18:35 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Daniel Golle, stable, linux-mtd, Hauke Mehrtens, Miquel Raynal,
	chengzhihao1, Nicolas Schichan, George Kennedy, Sascha Hauer,
	yi zhang

On Sat, Apr 15, 2023 at 08:26:17PM +0200, Richard Weinberger wrote:
> ----- Ursprüngliche Mail -----
> > Von: "Daniel Golle" <daniel@makrotopia.org>
> > An: "stable" <stable@vger.kernel.org>, "linux-mtd" <linux-mtd@lists.infradead.org>
> > CC: "Hauke Mehrtens" <hauke@hauke-m.de>, "richard" <richard@nod.at>, "Miquel Raynal" <miquel.raynal@bootlin.com>,
> > "chengzhihao1" <chengzhihao1@huawei.com>, "Nicolas Schichan" <nschichan@freebox.fr>, "George Kennedy"
> > <george.kennedy@oracle.com>, "Sascha Hauer" <s.hauer@pengutronix.de>, "yi zhang" <yi.zhang@huawei.com>
> > Gesendet: Samstag, 15. April 2023 20:02:26
> > Betreff: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
> 
> > Hi,
> > 
> > please pick
> > 
> > 1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to
> > (sub)page size")
> > 
> > from linux-next to stable trees.
> 
> FYI, the fix is not yet in Linus' master. But I guess it will be very soon.
> The pull request is on the mailinglist.

Any specific reason why it wasn't tagged cc: stable@ if it was known to
be fixing a regression so that we would pick it up automatically?

thanks,

greg k-h

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
  2023-04-15 18:35   ` Greg KH
@ 2023-04-15 18:37     ` Richard Weinberger
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Weinberger @ 2023-04-15 18:37 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Daniel Golle, stable, linux-mtd, Hauke Mehrtens, Miquel Raynal,
	chengzhihao1, Nicolas Schichan, George Kennedy, Sascha Hauer,
	yi zhang

----- Ursprüngliche Mail -----
> Von: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
> Any specific reason why it wasn't tagged cc: stable@ if it was known to
> be fixing a regression so that we would pick it up automatically?

Because I noticed only after I pushed already to next and therefore planned to inform
you by mail. But Daniel was faster...

Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"
  2023-04-15 18:02 Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size" Daniel Golle
  2023-04-15 18:24 ` Greg KH
  2023-04-15 18:26 ` Richard Weinberger
@ 2023-04-17 17:36 ` Greg KH
  2 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2023-04-17 17:36 UTC (permalink / raw)
  To: Daniel Golle
  Cc: stable, linux-mtd, Hauke Mehrtens, Richard Weinberger,
	Miquel Raynal, chengzhihao1, Nicolas Schichan, George Kennedy,
	Sascha Hauer, yi zhang

On Sat, Apr 15, 2023 at 07:02:26PM +0100, Daniel Golle wrote:
> Hi,
> 
> please pick
> 
>  1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")
> 
> from linux-next to stable trees.
> The commit fixes a problem with another recent commit
> 
>  1b42b1a36fc94 ("ubi: ensure that VID header offset ... size")
> 
> which has already made it to stable trees and thereby broke attaching
> UBI and hence renders devices unbootable.
> 
> As a temporary fix I have applied this patch downstream in OpenWrt.

Now queued  up, thanks.

greg k-h

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2023-04-17 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15 18:02 Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size" Daniel Golle
2023-04-15 18:24 ` Greg KH
2023-04-15 18:26 ` Richard Weinberger
2023-04-15 18:35   ` Greg KH
2023-04-15 18:37     ` Richard Weinberger
2023-04-17 17:36 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).