Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: "Rafał Miłecki" <rafal@milecki.pl>
To: Amit Pundir <amit.pundir@linaro.org>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	Stable <stable@vger.kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Boris Brezillon <boris.brezillon@bootlin.com>
Subject: Re: [PATCH for-4.14.y+] mtd: keep original flags for every struct mtd_info
Date: Mon, 18 Feb 2019 14:01:36 +0100	[thread overview]
Message-ID: <4d716891dc69ca796a5d37ece67f1ae0@milecki.pl> (raw)
In-Reply-To: <1550493012-5959-3-git-send-email-amit.pundir@linaro.org>

On 2019-02-18 13:30, Amit Pundir wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> commit 1186af457cc186c5ed01708da71b1ffbdf0a2638 upstream.
> 
> When allocating a new partition mtd subsystem runs internal tests in 
> the
> allocate_partition(). They may result in modifying specified flags 
> (e.g.
> dropping some /features/ like write access).
> 
> Those constraints don't have to be necessary true for subpartitions. It
> may happen parent partition isn't block aligned (effectively disabling
> write access) while subpartition may fit blocks nicely. In such case 
> all
> checks should be run again (starting with original flags value).
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
> ---
> I understand that it doesn't exactly fit into Stable rules but I didn't
> want to assume anything, so sending it up for review.
> Cherry-picked from lede tree https://git.lede-project.org/?p=source.git
> and build tested on v4.14.97 and v4.19.19 for ARCH=arm/arm64 defconfig.

This was a pre-requirement for some later-added *feature*. I see to
reason to pick this one for stable. We won't be picking that feature
(whatever it was), so what's the point?

  reply	other threads:[~2019-02-18 13:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 12:30 [PATCH for-3.18.y+] MIPS: BCM63XX: fix switch core reset on BCM6368 Amit Pundir
2019-02-18 12:30 ` [PATCH for-3.18.y+] pinctrl: msm: fix gpio-hog related boot issues Amit Pundir
2019-02-18 13:31   ` Greg KH
2019-02-18 12:30 ` [PATCH for-4.14.y+] mtd: keep original flags for every struct mtd_info Amit Pundir
2019-02-18 13:01   ` Rafał Miłecki [this message]
2019-02-18 13:38     ` Amit Pundir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d716891dc69ca796a5d37ece67f1ae0@milecki.pl \
    --to=rafal@milecki.pl \
    --cc=amit.pundir@linaro.org \
    --cc=boris.brezillon@bootlin.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linus.walleij@linaro.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox