* any place to mark various compatible strings as deprecated?
@ 2009-04-08 14:23 Kumar Gala
2009-04-08 14:48 ` Olof Johansson
0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2009-04-08 14:23 UTC (permalink / raw)
To: Linux/PPC Development
Do we have anywhere to list out compatible strings that are deprecated
and warn if the kernel sees one?
- k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: any place to mark various compatible strings as deprecated?
2009-04-08 14:23 any place to mark various compatible strings as deprecated? Kumar Gala
@ 2009-04-08 14:48 ` Olof Johansson
2009-04-08 15:21 ` Kumar Gala
2009-04-08 15:47 ` David Gibson
0 siblings, 2 replies; 5+ messages in thread
From: Olof Johansson @ 2009-04-08 14:48 UTC (permalink / raw)
To: Kumar Gala; +Cc: Linux/PPC Development
On Wed, Apr 08, 2009 at 09:23:22AM -0500, Kumar Gala wrote:
> Do we have anywhere to list out compatible strings that are deprecated
> and warn if the kernel sees one?
Wouldn't dtc be a better location for that? The kernel has to be backwards
compatible anyway, I don't really see a reason to warn there.
-Olof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: any place to mark various compatible strings as deprecated?
2009-04-08 14:48 ` Olof Johansson
@ 2009-04-08 15:21 ` Kumar Gala
2009-04-08 16:01 ` Olof Johansson
2009-04-08 15:47 ` David Gibson
1 sibling, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2009-04-08 15:21 UTC (permalink / raw)
To: Olof Johansson; +Cc: Linux/PPC Development
On Apr 8, 2009, at 9:48 AM, Olof Johansson wrote:
> On Wed, Apr 08, 2009 at 09:23:22AM -0500, Kumar Gala wrote:
>> Do we have anywhere to list out compatible strings that are
>> deprecated
>> and warn if the kernel sees one?
>
> Wouldn't dtc be a better location for that? The kernel has to be
> backwards
> compatible anyway, I don't really see a reason to warn there.
The reason is I want to eventually drop support in the kernel for some
of the old compatibles.
- k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: any place to mark various compatible strings as deprecated?
2009-04-08 14:48 ` Olof Johansson
2009-04-08 15:21 ` Kumar Gala
@ 2009-04-08 15:47 ` David Gibson
1 sibling, 0 replies; 5+ messages in thread
From: David Gibson @ 2009-04-08 15:47 UTC (permalink / raw)
To: Olof Johansson; +Cc: Linux/PPC Development
On Wed, Apr 08, 2009 at 09:48:45AM -0500, Olof Johansson wrote:
> On Wed, Apr 08, 2009 at 09:23:22AM -0500, Kumar Gala wrote:
> > Do we have anywhere to list out compatible strings that are deprecated
> > and warn if the kernel sees one?
>
> Wouldn't dtc be a better location for that? The kernel has to be backwards
> compatible anyway, I don't really see a reason to warn there.
It should certainly be in dtc. Whether it should also be in the
kernel is debatable. It's also really easy to add this to dtc. Kumar
can you point me at the ones you're thinking of, and I'll add
appropriate checks to dtc (although probably not for a couple of weeks
when I return from vacation).
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: any place to mark various compatible strings as deprecated?
2009-04-08 15:21 ` Kumar Gala
@ 2009-04-08 16:01 ` Olof Johansson
0 siblings, 0 replies; 5+ messages in thread
From: Olof Johansson @ 2009-04-08 16:01 UTC (permalink / raw)
To: Kumar Gala; +Cc: Linux/PPC Development
On Wed, Apr 08, 2009 at 10:21:54AM -0500, Kumar Gala wrote:
>
> On Apr 8, 2009, at 9:48 AM, Olof Johansson wrote:
>
>> On Wed, Apr 08, 2009 at 09:23:22AM -0500, Kumar Gala wrote:
>>> Do we have anywhere to list out compatible strings that are
>>> deprecated
>>> and warn if the kernel sees one?
>>
>> Wouldn't dtc be a better location for that? The kernel has to be
>> backwards
>> compatible anyway, I don't really see a reason to warn there.
>
> The reason is I want to eventually drop support in the kernel for some
> of the old compatibles.
If it's something that shipped then I don't see how you can ever
do that. Best thing you can do is do fixups like prom_init does and
translate them to the preferred compatible string of the week.
-Olof
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-08 16:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 14:23 any place to mark various compatible strings as deprecated? Kumar Gala
2009-04-08 14:48 ` Olof Johansson
2009-04-08 15:21 ` Kumar Gala
2009-04-08 16:01 ` Olof Johansson
2009-04-08 15:47 ` David Gibson
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).