[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 3 Mar 2014 12:20:29 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: "Li, Aubrey" <aubrey.li@...ux.intel.com>
Cc: "David E. Box" <david.e.box@...ux.intel.com>, tglx@...utronix.de,
mingo@...hat.com, hpa@...or.com, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V5 1/2] x86: IOSF: add dummy functions for loadable
modules
On Mon, 03 Mar 2014 15:21:40 +0800
"Li, Aubrey" <aubrey.li@...ux.intel.com> wrote:
> On 2014/3/1 10:40, David E. Box wrote:
> > From: "David E. Box" <david.e.box@...ux.intel.com>
> >
> > Some loadable modules only need IOSF access on the platforms where it exists.
> > Provide dummy functions to allow these modules to compile and load on the
> > platforms where it doesn't exist.
>
> This is not the right way, I think.
Disagree. There are various drivers that can use the IOSF interface but
do not need it, and need to also build and run on platforms without it.
The current code IMHO is correct. We want to make sure it builds without
IOSF, but that any attempt to use IOSF in such a runtime errors - that's
what this code does.
Alan
--
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