All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Shawn Lin <shawn.lin@rock-chips.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	linux-mmc@vger.kernel.org,
	devicetree <devicetree@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Joachim Eastwood <manabian@gmail.com>,
	dinguyen@kernel.org, Will Deacon <will.deacon@arm.com>,
	"xuwei (O)" <xuwei5@hisilicon.com>
Subject: Re: [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property
Date: Fri, 2 Mar 2018 09:21:04 -0600	[thread overview]
Message-ID: <20180302152104.gnylb6xtgy5hb7i5@rob-hp-laptop> (raw)
In-Reply-To: <CAHp75VcthggOwOPjQFNX-xMmK44F99oXYOdeBxfO=euT_JvkoQ@mail.gmail.com>

On Fri, Feb 23, 2018 at 06:16:39PM +0200, Andy Shevchenko wrote:
> On Fri, Feb 23, 2018 at 4:19 PM, Shawn Lin <shawn.lin@rock-chips.com> wrote:
> > On 2018/2/23 21:27, Andy Shevchenko wrote:
> >> On Fri, Feb 23, 2018 at 8:41 AM, Jaehoon Chung <jh80.chung@samsung.com>
> >> wrote:
> >>>
> >>> 'clock-freq-min-max' property had already deprecated.
> >>> Remove the 'clock-freq-min-max' property that is kept to maintain
> >>> the compatibility.
> >>
> >>
> >> Removing a property without telling the user what to expect is a bad
> >> idea and ABI breakage.
> >>
> >
> > What's the general process to remove a property?
> >
> > I guess we should do:
> > 1) deprecate it in the first place and remove it from all upstream DT

Yes

> > 2) wait some long enough days for expecting the stale of all old DTB
> > containing that property

Yes. How long that is depends on the platform. I think the minimum is 1 
release cycle. Some stable platforms are years. If there are other DT 
changes with new features everyone should want/need, then that can be a 
decision point.

Given this is a shared IP block it's harder to know, so you may need to 
err on the longer side.

> > 3) remove the functionality of the deprecated property from the driver
> > but still leave some warning there

I'd say add a warning in step 1 and combine 3 and 4.

> > 4) remove the left warning finally
> 
> I don't know. Perhaps Rob can shed a light here.
> But I would really OK with removal of some of such properties from
> some drivers where it's more burden to keep them.
> 
> > And for the ABI breakage, we should add something in Documentation/ABI
> > /obsolete  or Documentation/ABI/removed ?

It is only an ABI break if someone notices.

Rob

  parent reply	other threads:[~2018-03-02 15:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180223064140epcas2p104fe6cca431ec24f2b09a6f5a45ed342@epcas2p1.samsung.com>
2018-02-23  6:41 ` [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property Jaehoon Chung
     [not found]   ` <CGME20180223064140epcas2p41a734737c3fe7373329a94f485c21fd4@epcas2p4.samsung.com>
2018-02-23  6:41     ` [PATCH 2/6] mmc: dw_mmc: remove the deprecated "num-slots" Jaehoon Chung
2018-03-02 15:25       ` Rob Herring
2018-03-15 10:22       ` Ulf Hansson
     [not found]   ` <CGME20180223064140epcas2p2145faef6a2c44d7d20bb3d6099f12d18@epcas2p2.samsung.com>
2018-02-23  6:41     ` [PATCH 3/6] ARM: dts: socfpga: remove 'num-slots' property for dwmmc Jaehoon Chung
2018-03-15 10:22       ` Ulf Hansson
     [not found]   ` <CGME20180223064140epcas2p3804fe3b7d63e4b7975d94a178e94dffb@epcas2p3.samsung.com>
2018-02-23  6:41     ` [PATCH 4/6] arm64: dts: stratix10: " Jaehoon Chung
2018-03-07 14:37       ` Dinh Nguyen
2018-03-15 10:22       ` Ulf Hansson
     [not found]   ` <CGME20180223064140epcas2p1bf475ebcbfa8a0c46e92402e31590891@epcas2p1.samsung.com>
2018-02-23  6:41     ` [PATCH 5/6] ARM: dts: lpc18xx: " Jaehoon Chung
2018-03-15 10:22       ` Ulf Hansson
     [not found]   ` <CGME20180223064140epcas2p1fcfb5920453f965d16f717931155fa2f@epcas2p1.samsung.com>
2018-02-23  6:41     ` [PATCH 6/6] arm64: dts: hi3660: " Jaehoon Chung
2018-03-15 10:23       ` Ulf Hansson
2018-02-23 13:27   ` [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property Andy Shevchenko
2018-02-23 14:19     ` Shawn Lin
2018-02-23 16:16       ` Andy Shevchenko
2018-02-26  2:07         ` Jaehoon Chung
2018-02-26  3:26           ` [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property -- You wokr with japanese after they fucked you thetruthbeforeus
2018-03-02 15:21         ` Rob Herring [this message]
2018-03-02 15:22   ` [PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property Rob Herring
2018-03-15 10:22   ` Ulf Hansson
2018-03-15 11:48     ` Jaehoon Chung

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=20180302152104.gnylb6xtgy5hb7i5@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=jh80.chung@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=manabian@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=shawn.lin@rock-chips.com \
    --cc=ulf.hansson@linaro.org \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.