From: "David E. Box" <david.e.box@linux.intel.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: "Fejes József" <jozsef.fejes@gmail.com>,
linux-kernel@vger.kernel.org, linux-stable@vger.kernel.org
Subject: Re: Problem with commit: x86, iosf: Make IOSF driver modular and usable by more drivers
Date: Sun, 24 Aug 2014 16:57:42 -0700 [thread overview]
Message-ID: <20140824235742.GA2711@pathfinder> (raw)
In-Reply-To: <53F8D1FE.5050205@infradead.org>
On Sat, Aug 23, 2014 at 10:40:14AM -0700, Randy Dunlap wrote:
> On 08/23/14 02:31, Fejes József wrote:
> > Hi,
> >
> > I think there's a problem with commit
> > 6b8f0c8780c71d78624f736d7849645b64cc88b7: config IOSF_MBI is
> > automatically a module and I cannot change that.
> >
> > I've been using 3.15.* stable kernels. I have module support enabled,
> > but I build everything into the kernel, so I don't actually have any
> > modules built. I just upgraded to 3.16.1, and found out that I now
> > have this one module. I cannot find it in the menu, so I edited the
> > .config file by hand, but it changes back from =y to =m. Could you
> > please look into fixing it, and push it to 3.16.* stable branch?
>
> [adding David E. Box to email]
>
> This is a mainline issue, not just a -stable issue.
> Once fixed in mainline (if ever), then that fix can be added to -stable.
>
> Fejes, you could just disable module support and then iosf_mbi would be built
> into the kernel. But as a loadable module, it won't waste memory if it's
> not needed.
>
> David, any other suggestions?
> Why can't the users of IOSF_MBI just select it? That's what many other
> drivers do when they need to be sure that some functionality is present.
They could, but it's only required on SoC's. Some registers, while available
through an MSR on x86 core systems, are only available through the sideband on
x86 SoC's. So these drivers would waste space on core platforms. There is no
Kconfig option that builds exclusively for x86 SoC's.
> I'm surprised that someone else (e.g. Linus) has not complained about the
> 'default m' for this driver.
I'll just move to prompt for selection. I was advised against this early on
since the driver doesn't have a hook to userspace. Unfortunantely I didn't
question this and locked myself into pursuing the 'default m' option as a way to
make sure the IOSF_MBI was available for the drivers that will use it. That was
obviosuly a mistake.
Dave
next prev parent reply other threads:[~2014-08-25 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-23 9:31 Problem with commit: x86, iosf: Make IOSF driver modular and usable by more drivers Fejes József
2014-08-23 17:40 ` Randy Dunlap
2014-08-24 23:57 ` David E. Box [this message]
2014-08-25 19:02 ` One Thousand Gnomes
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=20140824235742.GA2711@pathfinder \
--to=david.e.box@linux.intel.com \
--cc=jozsef.fejes@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stable@vger.kernel.org \
--cc=rdunlap@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