[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1y7nmol7t.fsf@ebiederm.dsl.xmission.com>
Date: Sun, 28 Jan 2007 15:11:34 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Jeff Garzik <jeff@...zik.org>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Greg Kroah-Hartman <greg@...ah.com>,
Tony Luck <tony.luck@...el.com>,
Grant Grundler <grundler@...isc-linux.org>,
Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
Kyle McMartin <kyle@...isc-linux.org>, linuxppc-dev@...abs.org,
Brice Goglin <brice@...i.com>, shaohua.li@...el.com,
linux-pci@...ey.karlin.mff.cuni.cz,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 0/6] MSI portability cleanups
Jeff Garzik <jeff@...zik.org> writes:
> I think the high-level ops approach makes more sense. It's more future proof,
> in addition to covering all existing implementations.
To be precise in Michaels implementation one of the parameters passed is
a type parameter so that the architecture has to know about each different
type of msi implementation. In my implementation that field does not exist,
because it is unnecessary. So as long as the message on the bus is a msi
message my implementation can be adapted to support it without any architecture
changes.
Being future proof is about getting the abstraction correct, and exposing
those details that matter, and removing those detail that don't.
It is a minor nit, not a fundamental flaw in the operations concept. But
one of the reasons I am opposed to throwing out the current working code.
Evolutionary change ensures that things only the code remembers don't get
left behind.
I guess that is the other part of the discussion that shows up here
is, as long as the change is an evolutionary change from what is
working today. I don't have any fundamental problems with it, but I
am completely against a revolutionary change.
Meanwhile because Michael has proposed operations my position has been
perceived as against operations. While I have a lot of technical nits
to pick with the Michaels operations approach, I'm not fundamentally
against it. I just don't want to loose the information that only
the code remembers.
Most of my technical objections have been formed by looking at what
the code does today, looking at what Michaels code is doing and seeing
details he missed. If we just start with the current code base and
fix it the whole approach is much easier.
Anyway last I heard Michael was working on starting with the current
msi.c and making his patch set work, and I am hoping that my work
will make that patchset cleaner, and easier to do. Even if we do
conflict at the moment :)
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists