[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150617224312.3bfc80d9@free-electrons.com>
Date: Wed, 17 Jun 2015 22:43:12 +0200
From: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
To: Jason Cooper <jason@...edaemon.net>
Cc: Gregory CLEMENT <gregory.clement@...e-electrons.com>,
Simon Guinot <simon.guinot@...uanux.org>,
Andrew Lunn <andrew@...n.ch>, netdev@...r.kernel.org,
Vincent Donnefort <vdonnefort@...il.com>,
stable@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
Subject: Re: [PATCH v2 1/3] net: mvneta: introduce compatible string
"marvell, armada-xp-neta"
Jason,
On Wed, 17 Jun 2015 17:01:12 +0000, Jason Cooper wrote:
> I disagree with this. We can't predict what incosistencies we'll discover in
> the future. We should only assign new compatible strings based on known IP
> variations when we discover them. This seems fraught with demons since we
> can't predict the scope of affected IP blocks (some steppings of one SoC, three
> SoCs plus two steppings of a fourth, etc)
>
> imho, the 'future-proofing' lies in being specific as to the naming of the
> compatible strings against known hardware variations at the time.
Except that this clearly doesn't work, and the case raised by Simon is
a perfect illustration of why planning ahead is beneficial. We already
had the issue several times on mvebu platforms, so it should really
become the rule to have one compatible string specific to the actual
SoC in the list of compatible strings.
Not doing so requires breaking DT backward compatibility more often, so
wanting DT backward compatibility and not wanting to plan ahead is a
bit antagonist. But I personally don't care much about DT backward
compatibility, and I've explained numerous times why, so in the end I
don't really care much.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists