Re: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Andy Shevchenko
On Tue, Feb 27, 2018 at 6:13 PM, wrote: >> > --- a/drivers/platform/x86/dell-smbios.h >> > +++ b/drivers/platform/x86/dell-smbios.h >> > @@ -75,4 +75,10 @@ int dell_laptop_register_notifier(struct notifier_block >> *nb); >> > int

Re: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Andy Shevchenko
On Tue, Feb 27, 2018 at 6:13 PM, wrote: >> > --- a/drivers/platform/x86/dell-smbios.h >> > +++ b/drivers/platform/x86/dell-smbios.h >> > @@ -75,4 +75,10 @@ int dell_laptop_register_notifier(struct notifier_block >> *nb); >> > int dell_laptop_unregister_notifier(struct notifier_block *nb); >> >

RE: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Mario.Limonciello
ail.com>; > LKML <linux-kernel@vger.kernel.org>; Platform Driver x...@vger.kernel.org> > Subject: Re: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* > modules > together > > On Tue, Feb 27, 2018 at 5:56 PM, Mario Limonciello > <mario.limoncie...@dell.com> w

RE: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Mario.Limonciello
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Tuesday, February 27, 2018 10:09 AM > To: Limonciello, Mario > Cc: Darren Hart ; Pali Rohár ; > LKML ; Platform Driver x...@vger.kernel.org> > Subject: Re: [PATCH 3/3] platfor

Re: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Andy Shevchenko
On Tue, Feb 27, 2018 at 5:56 PM, Mario Limonciello wrote: > Some race conditions were raised due to dell-smbios and its backends > not being ready by the time that a consumer would call one of the > exported methods. > > To avoid this problem, guarantee that all

Re: [PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Andy Shevchenko
On Tue, Feb 27, 2018 at 5:56 PM, Mario Limonciello wrote: > Some race conditions were raised due to dell-smbios and its backends > not being ready by the time that a consumer would call one of the > exported methods. > > To avoid this problem, guarantee that all initialization has been > done by

[PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Mario Limonciello
Some race conditions were raised due to dell-smbios and its backends not being ready by the time that a consumer would call one of the exported methods. To avoid this problem, guarantee that all initialization has been done by linking them all together and running init for them all. As part of

[PATCH 3/3] platform/x86: dell-smbios: Link all dell-smbios-* modules together

2018-02-27 Thread Mario Limonciello
Some race conditions were raised due to dell-smbios and its backends not being ready by the time that a consumer would call one of the exported methods. To avoid this problem, guarantee that all initialization has been done by linking them all together and running init for them all. As part of