public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RFCv1 0/6] ARM: mvebu: coherency support improvements
Date: Fri, 27 Dec 2013 12:55:10 -0500	[thread overview]
Message-ID: <20131227175510.GW19878@titan.lakedaemon.net> (raw)
In-Reply-To: <20131226162931.GD19323@lunn.ch>

All,

resending to include the MLs

On Thu, Dec 26, 2013 at 05:29:31PM +0100, Andrew Lunn wrote:
> On Thu, Dec 26, 2013 at 05:13:02PM +0100, Thomas Petazzoni wrote:
> > Dear Andrew Lunn,
> > 
> > On Thu, 26 Dec 2013 17:08:31 +0100, Andrew Lunn wrote:
> > 
> > > In the .dtsi file i would suggest multiple compatibilities from the
> > > most specific to the most general. So listing:
> > > marvell,armada-370-coherency-fabric,
> > > marvell,armada-370-xp-coherency-fabric,
> > > 
> > > gives you the most forward/backward compatibility, as you discover
> > > more about the hardware.
> > 
> > True, that's another possibility. Though it's unclear if a compatible
> > string such as "marvell,armada-370-xp-coherency-fabric" makes sense. If
> > you create such a compatible string, and then later discover than 370
> > and XP cannot be handled in a same way, then why have a "shared"
> > compatible string?
> 
> Well presumably, if you need to split it further, it is somehow
> broken, or at least not optimal. Anybody who cannot update there DT
> blob keeps with the current somehow broken/non-optimal behavior, but
> those who can upgrade there DT blob get better behavior.
> 
> More compatible strings helps with backward compatibility for old DT
> blobs.

Please, let's not over-think this.  Right now, are there _any_
capability differences we're aware of between the two?  If not, then we
should use marvell,armada-370-xp-coherency-fabric.  *after* we discover
an incompatible difference, then we add
marvell,armada-370-coherency-fabric.  The driver, if it sees the new
compatible string, will use the new feature.  If it doesn't, it will
default to the old behavior as it was under
marvell,armada-370-xp-coherency-fabric.

Let's not get ahead of ourselves guessing towards the 'perfect' DT
binding.

thx,

Jason.

       reply	other threads:[~2013-12-27 17:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1388067146-18111-1-git-send-email-thomas.petazzoni@free-electrons.com>
     [not found] ` <20131226160831.GB19323@lunn.ch>
     [not found]   ` <20131226171302.3409b096@skate>
     [not found]     ` <20131226162931.GD19323@lunn.ch>
2013-12-27 17:55       ` Jason Cooper [this message]
     [not found] ` <1388067146-18111-2-git-send-email-thomas.petazzoni@free-electrons.com>
2013-12-27 17:57   ` [PATCH RFCv1 1/6] ARM: mvebu: prepare coherency code to support more SOCs Jason Cooper
     [not found] ` <1388067146-18111-3-git-send-email-thomas.petazzoni@free-electrons.com>
2013-12-27 17:57   ` [PATCH RFCv1 2/6] ARM: mvebu: add a coherency_available() call Jason Cooper
     [not found] ` <1388067146-18111-4-git-send-email-thomas.petazzoni@free-electrons.com>
2013-12-27 17:58   ` [PATCH RFCv1 3/6] bus: mvebu: pass the coherency availability information at init time Jason Cooper
     [not found] ` <1388067146-18111-6-git-send-email-thomas.petazzoni@free-electrons.com>
2013-12-27 17:59   ` [PATCH RFCv1 5/6] ARM: mvebu: update Armada 370/XP DT to use new coherency compatible string Jason Cooper
2013-12-26 14:12 [PATCH RFCv1 0/6] ARM: mvebu: coherency support improvements Thomas Petazzoni
2013-12-27 17:32 ` Jason Cooper
2013-12-27 17:46   ` Jason Cooper
2013-12-27 17:55 ` Jason Cooper

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=20131227175510.GW19878@titan.lakedaemon.net \
    --to=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.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