[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <536A69E8.6070707@zytor.com>
Date: Wed, 07 May 2014 10:14:16 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
CC: "David E. Box" <david.e.box@...ux.intel.com>, tglx@...utronix.de,
mingo@...hat.com, x86@...nel.org, rafael.j.wysocki@...el.com,
linux-kernel@...r.kernel.org, kristen.c.accardi@...el.com,
jacob.jun.pan@...ux.intel.com
Subject: Re: [PATCH v3] x86/iosf: Make IOSF driver modular and usable by more
drivers
On 05/07/2014 10:10 AM, One Thousand Gnomes wrote:
> On Wed, 07 May 2014 10:04:56 -0700
> "H. Peter Anvin" <hpa@...or.com> wrote:
>
>> On 05/07/2014 09:48 AM, One Thousand Gnomes wrote:
>>> On Fri, 2 May 2014 10:36:39 -0700
>>>> +bool iosf_mbi_available(void)
>>>> +{
>>>> + return mbi_pdev;
>>>> +}
>>>> +EXPORT_SYMBOL(iosf_mbi_available);
>>>
>>> Probably worth a follow up patch that comments this so the assumption
>>> that iosf can never be unloaded or hot-unplugged is clear.
>>>
>>
>> When you say unloaded you mean the module or the hardware?
>
> Both. Currently the hardware isn't removable (but could be virtually
> removed by playing with unplugging) and the module can't be unloaded so
> the assumption is fine.
>
I guess I don't see why the module isn't removable. Of course, any
driver which calls iosf_mbi_available() will depend on it, preventing
removal until *those* modules have been removed...
-hpa
--
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