All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
@ 2021-01-24  2:46 Thomas Hebb
  2021-01-24 16:46 ` Guenter Roeck
  2021-01-25 10:05 ` Pali Rohár
  0 siblings, 2 replies; 14+ messages in thread
From: Thomas Hebb @ 2021-01-24  2:46 UTC (permalink / raw)
  To: linux-kernel
  Cc: Thomas Hebb, stable, Bob Hepple, Guenter Roeck, Jean Delvare,
	Pali Rohár, linux-hwmon

It has been reported[0] that the Dell XPS 15 L502X exhibits similar
freezing behavior to the other systems[1] on this blacklist. The issue
was exposed by a prior change of mine to automatically load
dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
this model to the blacklist.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
[1] https://bugzilla.kernel.org/show_bug.cgi?id=195751

Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
Cc: stable@vger.kernel.org
Reported-by: Bob Hepple <bob.hepple@gmail.com>
Tested-by: Bob Hepple <bob.hepple@gmail.com>
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
---

 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index ec448f5f2dc3..73b9db9e3aab 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
 		},
 	},
+	{
+		.ident = "Dell XPS 15 L502X",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
+		},
+	},
 	{ }
 };
 
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-24  2:46 [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist Thomas Hebb
@ 2021-01-24 16:46 ` Guenter Roeck
  2021-01-25 10:05 ` Pali Rohár
  1 sibling, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2021-01-24 16:46 UTC (permalink / raw)
  To: Thomas Hebb
  Cc: linux-kernel, stable, Bob Hepple, Jean Delvare, Pali Rohár,
	linux-hwmon

On Sat, Jan 23, 2021 at 06:46:08PM -0800, Thomas Hebb wrote:
> It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> freezing behavior to the other systems[1] on this blacklist. The issue
> was exposed by a prior change of mine to automatically load
> dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> this model to the blacklist.
> 
> [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> 
> Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> Cc: stable@vger.kernel.org
> Reported-by: Bob Hepple <bob.hepple@gmail.com>
> Tested-by: Bob Hepple <bob.hepple@gmail.com>
> Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>

Applied.

Thanks,
Guenter

> ---
> 
>  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index ec448f5f2dc3..73b9db9e3aab 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
>  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
>  		},
>  	},
> +	{
> +		.ident = "Dell XPS 15 L502X",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> +		},
> +	},
>  	{ }
>  };
>  

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-24  2:46 [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist Thomas Hebb
  2021-01-24 16:46 ` Guenter Roeck
@ 2021-01-25 10:05 ` Pali Rohár
  2021-01-25 18:05   ` Tom Hebb
  2021-01-25 20:19   ` Guenter Roeck
  1 sibling, 2 replies; 14+ messages in thread
From: Pali Rohár @ 2021-01-25 10:05 UTC (permalink / raw)
  To: Thomas Hebb
  Cc: linux-kernel, stable, Bob Hepple, Guenter Roeck, Jean Delvare,
	linux-hwmon

On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> freezing behavior to the other systems[1] on this blacklist. The issue
> was exposed by a prior change of mine to automatically load
> dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> this model to the blacklist.
> 
> [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> 
> Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> Cc: stable@vger.kernel.org
> Reported-by: Bob Hepple <bob.hepple@gmail.com>
> Tested-by: Bob Hepple <bob.hepple@gmail.com>
> Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> ---
> 
>  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index ec448f5f2dc3..73b9db9e3aab 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
>  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
>  		},
>  	},
> +	{
> +		.ident = "Dell XPS 15 L502X",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),

Hello! Are you sure that it is required to completely disable fan
support? And not only access to fan type label for which is different
blaclist i8k_blacklist_fan_type_dmi_table?

And have you reported this issue to Dell support?

> +		},
> +	},
>  	{ }
>  };
>  
> -- 
> 2.30.0
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-25 10:05 ` Pali Rohár
@ 2021-01-25 18:05   ` Tom Hebb
       [not found]     ` <CAHzpm2hk4+0FyFrcGYN-JJfx5Ka8yoM8mTsYZA_4WHfWYGa4yQ@mail.gmail.com>
  2021-01-25 20:19   ` Guenter Roeck
  1 sibling, 1 reply; 14+ messages in thread
From: Tom Hebb @ 2021-01-25 18:05 UTC (permalink / raw)
  To: Pali Rohár
  Cc: linux-kernel, stable, Bob Hepple, Guenter Roeck, Jean Delvare,
	linux-hwmon

On Mon, Jan 25, 2021 at 2:05 AM Pali Rohár <pali@kernel.org> wrote:
>
> On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > freezing behavior to the other systems[1] on this blacklist. The issue
> > was exposed by a prior change of mine to automatically load
> > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > this model to the blacklist.
> >
> > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> >
> > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > Cc: stable@vger.kernel.org
> > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > ---
> >
> >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > index ec448f5f2dc3..73b9db9e3aab 100644
> > --- a/drivers/hwmon/dell-smm-hwmon.c
> > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> >                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> >               },
> >       },
> > +     {
> > +             .ident = "Dell XPS 15 L502X",
> > +             .matches = {
> > +                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > +                     DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
>
> Hello! Are you sure that it is required to completely disable fan
> support? And not only access to fan type label for which is different
> blaclist i8k_blacklist_fan_type_dmi_table?

This is a good question. We didn't try the other list. Bob is the one with the
affected system. Could you try moving the added block of code from
i8k_blacklist_fan_support_dmi_table a few lines up to
i8k_blacklist_fan_type_dmi_table, Bob, to see if the issue reappears or if it
remains fixed?

>
> And have you reported this issue to Dell support?
>
> > +             },
> > +     },
> >       { }
> >  };
> >
> > --
> > 2.30.0
> >

(Apologies for the previous HTML copy of this reply, to those directly CCed.)

-Tom

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-25 10:05 ` Pali Rohár
  2021-01-25 18:05   ` Tom Hebb
@ 2021-01-25 20:19   ` Guenter Roeck
  2021-01-25 20:21     ` Pali Rohár
  1 sibling, 1 reply; 14+ messages in thread
From: Guenter Roeck @ 2021-01-25 20:19 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Thomas Hebb, linux-kernel, stable, Bob Hepple, Jean Delvare, linux-hwmon

On Mon, Jan 25, 2021 at 11:05:40AM +0100, Pali Rohár wrote:
> On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > freezing behavior to the other systems[1] on this blacklist. The issue
> > was exposed by a prior change of mine to automatically load
> > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > this model to the blacklist.
> > 
> > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > 
> > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > Cc: stable@vger.kernel.org
> > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > ---
> > 
> >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > index ec448f5f2dc3..73b9db9e3aab 100644
> > --- a/drivers/hwmon/dell-smm-hwmon.c
> > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> >  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> >  		},
> >  	},
> > +	{
> > +		.ident = "Dell XPS 15 L502X",
> > +		.matches = {
> > +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> 
> Hello! Are you sure that it is required to completely disable fan
> support? And not only access to fan type label for which is different
> blaclist i8k_blacklist_fan_type_dmi_table?
> 

I'll drop this patch from my branch. Please send a Reviewed-by: or Acked-by: tag
if/when I should apply it.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-25 20:19   ` Guenter Roeck
@ 2021-01-25 20:21     ` Pali Rohár
  2021-01-27 23:00       ` Pali Rohár
  0 siblings, 1 reply; 14+ messages in thread
From: Pali Rohár @ 2021-01-25 20:21 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Thomas Hebb, linux-kernel, stable, Bob Hepple, Jean Delvare, linux-hwmon

On Monday 25 January 2021 12:19:38 Guenter Roeck wrote:
> On Mon, Jan 25, 2021 at 11:05:40AM +0100, Pali Rohár wrote:
> > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > was exposed by a prior change of mine to automatically load
> > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > this model to the blacklist.
> > > 
> > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > 
> > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > Cc: stable@vger.kernel.org
> > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > ---
> > > 
> > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > >  1 file changed, 7 insertions(+)
> > > 
> > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > >  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > >  		},
> > >  	},
> > > +	{
> > > +		.ident = "Dell XPS 15 L502X",
> > > +		.matches = {
> > > +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > 
> > Hello! Are you sure that it is required to completely disable fan
> > support? And not only access to fan type label for which is different
> > blaclist i8k_blacklist_fan_type_dmi_table?
> > 
> 
> I'll drop this patch from my branch. Please send a Reviewed-by: or Acked-by: tag
> if/when I should apply it.

Of course! We will just wait for Bob test results.

> Thanks,
> Guenter

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
       [not found]       ` <CAHzpm2h2X8ZKEtRxnD-mwyEv=B8J+tH_spFGD2VzfwGdRAaHMw@mail.gmail.com>
@ 2021-01-26  8:15         ` Tom Hebb
  2021-01-27  9:19           ` Pali Rohár
  0 siblings, 1 reply; 14+ messages in thread
From: Tom Hebb @ 2021-01-26  8:15 UTC (permalink / raw)
  To: Pali Rohár, Guenter Roeck
  Cc: Thomas Hebb, linux-kernel, stable, Bob Hepple, Jean Delvare, linux-hwmon

Bob reports that blacklisting the fan type label is not sufficient.
See his message to me below.

On Mon, Jan 25, 2021 at 3:38 PM Bob Hepple <bob.hepple@gmail.com> wrote:
>
> Hi Tom,
>
> Big nope this end with L502x in i8k_blacklist_fan_type_dmi_table:
>
> Jan 26 09:35:47 achar kernel: psmouse serio1: TouchPad at
> isa0060/serio1/input0 lost synchronization, throwing 1 bytes>
>
> ... and lots of trackpad stall/stutters.
>
> Cheers
>
>
> Bob
>
>
>
> On Tue, 26 Jan 2021 at 08:09, Bob Hepple <bob.hepple@gmail.com> wrote:
> >
> > ... compiling now ... results in a coupla hours
> >
> > Cheers
> >
> >
> > Bob
> >
> > On Tue, 26 Jan 2021 at 04:05, Tom Hebb <tommyhebb@gmail.com> wrote:
> > >
> > > On Mon, Jan 25, 2021 at 2:05 AM Pali Rohár <pali@kernel.org> wrote:
> > > >
> > > > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > > > was exposed by a prior change of mine to automatically load
> > > > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > > > this model to the blacklist.
> > > > >
> > > > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > > >
> > > > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > > > Cc: stable@vger.kernel.org
> > > > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > > > ---
> > > > >
> > > > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > > > >  1 file changed, 7 insertions(+)
> > > > >
> > > > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > > > >                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > > > >               },
> > > > >       },
> > > > > +     {
> > > > > +             .ident = "Dell XPS 15 L502X",
> > > > > +             .matches = {
> > > > > +                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > > > +                     DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > > >
> > > > Hello! Are you sure that it is required to completely disable fan
> > > > support? And not only access to fan type label for which is different
> > > > blaclist i8k_blacklist_fan_type_dmi_table?
> > >
> > > This is a good question. We didn't try the other list. Bob is the one with the
> > > affected system. Could you try moving the added block of code from
> > > i8k_blacklist_fan_support_dmi_table a few lines up to
> > > i8k_blacklist_fan_type_dmi_table, Bob, to see if the issue reappears or if it
> > > remains fixed?
> > >
> > > >
> > > > And have you reported this issue to Dell support?
> > > >
> > > > > +             },
> > > > > +     },
> > > > >       { }
> > > > >  };
> > > > >
> > > > > --
> > > > > 2.30.0
> > > > >
> > >
> > > (Apologies for the previous HTML copy of this reply, to those directly CCed.)
> > >
> > > -Tom

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-26  8:15         ` Tom Hebb
@ 2021-01-27  9:19           ` Pali Rohár
  2021-01-27 22:40             ` Bob Hepple
  0 siblings, 1 reply; 14+ messages in thread
From: Pali Rohár @ 2021-01-27  9:19 UTC (permalink / raw)
  To: Tom Hebb
  Cc: Guenter Roeck, linux-kernel, stable, Bob Hepple, Jean Delvare,
	linux-hwmon

On Tuesday 26 January 2021 00:15:13 Tom Hebb wrote:
> Bob reports that blacklisting the fan type label is not sufficient.
> See his message to me below.

Ok! Thank you for confirmation.

And my second question which I have asked:
And have you reported this issue to Dell support?

> On Mon, Jan 25, 2021 at 3:38 PM Bob Hepple <bob.hepple@gmail.com> wrote:
> >
> > Hi Tom,
> >
> > Big nope this end with L502x in i8k_blacklist_fan_type_dmi_table:
> >
> > Jan 26 09:35:47 achar kernel: psmouse serio1: TouchPad at
> > isa0060/serio1/input0 lost synchronization, throwing 1 bytes>
> >
> > ... and lots of trackpad stall/stutters.
> >
> > Cheers
> >
> >
> > Bob
> >
> >
> >
> > On Tue, 26 Jan 2021 at 08:09, Bob Hepple <bob.hepple@gmail.com> wrote:
> > >
> > > ... compiling now ... results in a coupla hours
> > >
> > > Cheers
> > >
> > >
> > > Bob
> > >
> > > On Tue, 26 Jan 2021 at 04:05, Tom Hebb <tommyhebb@gmail.com> wrote:
> > > >
> > > > On Mon, Jan 25, 2021 at 2:05 AM Pali Rohár <pali@kernel.org> wrote:
> > > > >
> > > > > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > > > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > > > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > > > > was exposed by a prior change of mine to automatically load
> > > > > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > > > > this model to the blacklist.
> > > > > >
> > > > > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > > > >
> > > > > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > > > > Cc: stable@vger.kernel.org
> > > > > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > > > > ---
> > > > > >
> > > > > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > > > > >  1 file changed, 7 insertions(+)
> > > > > >
> > > > > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > > > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > > > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > > > > >                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > > > > >               },
> > > > > >       },
> > > > > > +     {
> > > > > > +             .ident = "Dell XPS 15 L502X",
> > > > > > +             .matches = {
> > > > > > +                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > > > > +                     DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > > > >
> > > > > Hello! Are you sure that it is required to completely disable fan
> > > > > support? And not only access to fan type label for which is different
> > > > > blaclist i8k_blacklist_fan_type_dmi_table?
> > > >
> > > > This is a good question. We didn't try the other list. Bob is the one with the
> > > > affected system. Could you try moving the added block of code from
> > > > i8k_blacklist_fan_support_dmi_table a few lines up to
> > > > i8k_blacklist_fan_type_dmi_table, Bob, to see if the issue reappears or if it
> > > > remains fixed?
> > > >
> > > > >
> > > > > And have you reported this issue to Dell support?
> > > > >
> > > > > > +             },
> > > > > > +     },
> > > > > >       { }
> > > > > >  };
> > > > > >
> > > > > > --
> > > > > > 2.30.0
> > > > > >
> > > >
> > > > (Apologies for the previous HTML copy of this reply, to those directly CCed.)
> > > >
> > > > -Tom

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-27  9:19           ` Pali Rohár
@ 2021-01-27 22:40             ` Bob Hepple
  2021-01-27 22:58               ` Pali Rohár
  0 siblings, 1 reply; 14+ messages in thread
From: Bob Hepple @ 2021-01-27 22:40 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Tom Hebb, Guenter Roeck, linux-kernel, stable, Jean Delvare, linux-hwmon

Hi Pali,

No, I have not contacted Dell about this and I'm not sure that they
would be terribly interested given that my machine is 12 years old -
but I'll have a go if I can find the right place to do it.

Do you have a good email or other Dell target to report it? I don't
have access to official Dell support as my warranty ran out about 10
years ago. Perhaps there's an existing Dell bug report that references
the original https://bugzilla.kernel.org/show_bug.cgi?id=195751 ??? I
could add my report there if someone has already informed Dell about
the other instances of the bug.

Thanks



Bob

On Wed, 27 Jan 2021 at 19:19, Pali Rohár <pali@kernel.org> wrote:
>
> On Tuesday 26 January 2021 00:15:13 Tom Hebb wrote:
> > Bob reports that blacklisting the fan type label is not sufficient.
> > See his message to me below.
>
> Ok! Thank you for confirmation.
>
> And my second question which I have asked:
> And have you reported this issue to Dell support?
>
> > On Mon, Jan 25, 2021 at 3:38 PM Bob Hepple <bob.hepple@gmail.com> wrote:
> > >
> > > Hi Tom,
> > >
> > > Big nope this end with L502x in i8k_blacklist_fan_type_dmi_table:
> > >
> > > Jan 26 09:35:47 achar kernel: psmouse serio1: TouchPad at
> > > isa0060/serio1/input0 lost synchronization, throwing 1 bytes>
> > >
> > > ... and lots of trackpad stall/stutters.
> > >
> > > Cheers
> > >
> > >
> > > Bob
> > >
> > >
> > >
> > > On Tue, 26 Jan 2021 at 08:09, Bob Hepple <bob.hepple@gmail.com> wrote:
> > > >
> > > > ... compiling now ... results in a coupla hours
> > > >
> > > > Cheers
> > > >
> > > >
> > > > Bob
> > > >
> > > > On Tue, 26 Jan 2021 at 04:05, Tom Hebb <tommyhebb@gmail.com> wrote:
> > > > >
> > > > > On Mon, Jan 25, 2021 at 2:05 AM Pali Rohár <pali@kernel.org> wrote:
> > > > > >
> > > > > > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > > > > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > > > > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > > > > > was exposed by a prior change of mine to automatically load
> > > > > > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > > > > > this model to the blacklist.
> > > > > > >
> > > > > > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > > > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > > > > >
> > > > > > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > > > > > Cc: stable@vger.kernel.org
> > > > > > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > > > > > ---
> > > > > > >
> > > > > > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > > > > > >  1 file changed, 7 insertions(+)
> > > > > > >
> > > > > > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > > > > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > > > > > >                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > > > > > >               },
> > > > > > >       },
> > > > > > > +     {
> > > > > > > +             .ident = "Dell XPS 15 L502X",
> > > > > > > +             .matches = {
> > > > > > > +                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > > > > > +                     DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > > > > >
> > > > > > Hello! Are you sure that it is required to completely disable fan
> > > > > > support? And not only access to fan type label for which is different
> > > > > > blaclist i8k_blacklist_fan_type_dmi_table?
> > > > >
> > > > > This is a good question. We didn't try the other list. Bob is the one with the
> > > > > affected system. Could you try moving the added block of code from
> > > > > i8k_blacklist_fan_support_dmi_table a few lines up to
> > > > > i8k_blacklist_fan_type_dmi_table, Bob, to see if the issue reappears or if it
> > > > > remains fixed?
> > > > >
> > > > > >
> > > > > > And have you reported this issue to Dell support?
> > > > > >
> > > > > > > +             },
> > > > > > > +     },
> > > > > > >       { }
> > > > > > >  };
> > > > > > >
> > > > > > > --
> > > > > > > 2.30.0
> > > > > > >
> > > > >
> > > > > (Apologies for the previous HTML copy of this reply, to those directly CCed.)
> > > > >
> > > > > -Tom

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-27 22:40             ` Bob Hepple
@ 2021-01-27 22:58               ` Pali Rohár
  2021-01-28  0:35                 ` Tom Hebb
  0 siblings, 1 reply; 14+ messages in thread
From: Pali Rohár @ 2021-01-27 22:58 UTC (permalink / raw)
  To: Bob Hepple
  Cc: Tom Hebb, Guenter Roeck, linux-kernel, stable, Jean Delvare, linux-hwmon

Hello Bob!

On Thursday 28 January 2021 08:40:36 Bob Hepple wrote:
> Hi Pali,
> 
> No, I have not contacted Dell about this and I'm not sure that they
> would be terribly interested given that my machine is 12 years old -
> but I'll have a go if I can find the right place to do it.

If it is 12 years old machine then I doubt that anybody would do any
support for it...

> Do you have a good email or other Dell target to report it?

In this post is information how to contact Dell Linux support team which
can open (internal) BIOS issue:

https://github.com/dell/libsmbios/issues/48#issuecomment-391328501

But it is possible that still only available for USA.

Mario (superm1 on github) is active also in kernel and can help with
firmware issues on new machines.

But for this your 12 years old machine is proposed blacklist quirk the
only option.

I just do not know if this issue was already fixed in new BIOS which is
available on new machines. And therefore I'm worried if these issues
would continue to appear also on other machines, or we are just
collecting list of old machines.

Just I do not want to see situation when manufacture says "it is
working, nothing needed to fix" and it would work just because of
blacklist... As such scenario would lead only to increasing blacklist
without ability to start fixing issues.

> I don't
> have access to official Dell support as my warranty ran out about 10
> years ago. Perhaps there's an existing Dell bug report that references
> the original https://bugzilla.kernel.org/show_bug.cgi?id=195751 ??? I
> could add my report there if someone has already informed Dell about
> the other instances of the bug.
> 
> Thanks
> 
> 
> 
> Bob
> 
> On Wed, 27 Jan 2021 at 19:19, Pali Rohár <pali@kernel.org> wrote:
> >
> > On Tuesday 26 January 2021 00:15:13 Tom Hebb wrote:
> > > Bob reports that blacklisting the fan type label is not sufficient.
> > > See his message to me below.
> >
> > Ok! Thank you for confirmation.
> >
> > And my second question which I have asked:
> > And have you reported this issue to Dell support?
> >
> > > On Mon, Jan 25, 2021 at 3:38 PM Bob Hepple <bob.hepple@gmail.com> wrote:
> > > >
> > > > Hi Tom,
> > > >
> > > > Big nope this end with L502x in i8k_blacklist_fan_type_dmi_table:
> > > >
> > > > Jan 26 09:35:47 achar kernel: psmouse serio1: TouchPad at
> > > > isa0060/serio1/input0 lost synchronization, throwing 1 bytes>
> > > >
> > > > ... and lots of trackpad stall/stutters.
> > > >
> > > > Cheers
> > > >
> > > >
> > > > Bob
> > > >
> > > >
> > > >
> > > > On Tue, 26 Jan 2021 at 08:09, Bob Hepple <bob.hepple@gmail.com> wrote:
> > > > >
> > > > > ... compiling now ... results in a coupla hours
> > > > >
> > > > > Cheers
> > > > >
> > > > >
> > > > > Bob
> > > > >
> > > > > On Tue, 26 Jan 2021 at 04:05, Tom Hebb <tommyhebb@gmail.com> wrote:
> > > > > >
> > > > > > On Mon, Jan 25, 2021 at 2:05 AM Pali Rohár <pali@kernel.org> wrote:
> > > > > > >
> > > > > > > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > > > > > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > > > > > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > > > > > > was exposed by a prior change of mine to automatically load
> > > > > > > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > > > > > > this model to the blacklist.
> > > > > > > >
> > > > > > > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > > > > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > > > > > >
> > > > > > > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > > > > > > Cc: stable@vger.kernel.org
> > > > > > > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > > > > > > ---
> > > > > > > >
> > > > > > > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > > > > > > >  1 file changed, 7 insertions(+)
> > > > > > > >
> > > > > > > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > > > > > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > > > > > > >                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > > > > > > >               },
> > > > > > > >       },
> > > > > > > > +     {
> > > > > > > > +             .ident = "Dell XPS 15 L502X",
> > > > > > > > +             .matches = {
> > > > > > > > +                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > > > > > > +                     DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > > > > > >
> > > > > > > Hello! Are you sure that it is required to completely disable fan
> > > > > > > support? And not only access to fan type label for which is different
> > > > > > > blaclist i8k_blacklist_fan_type_dmi_table?
> > > > > >
> > > > > > This is a good question. We didn't try the other list. Bob is the one with the
> > > > > > affected system. Could you try moving the added block of code from
> > > > > > i8k_blacklist_fan_support_dmi_table a few lines up to
> > > > > > i8k_blacklist_fan_type_dmi_table, Bob, to see if the issue reappears or if it
> > > > > > remains fixed?
> > > > > >
> > > > > > >
> > > > > > > And have you reported this issue to Dell support?
> > > > > > >
> > > > > > > > +             },
> > > > > > > > +     },
> > > > > > > >       { }
> > > > > > > >  };
> > > > > > > >
> > > > > > > > --
> > > > > > > > 2.30.0
> > > > > > > >
> > > > > >
> > > > > > (Apologies for the previous HTML copy of this reply, to those directly CCed.)
> > > > > >
> > > > > > -Tom

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-25 20:21     ` Pali Rohár
@ 2021-01-27 23:00       ` Pali Rohár
  2021-01-28  1:46         ` Guenter Roeck
  0 siblings, 1 reply; 14+ messages in thread
From: Pali Rohár @ 2021-01-27 23:00 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Thomas Hebb, linux-kernel, stable, Bob Hepple, Jean Delvare, linux-hwmon

On Monday 25 January 2021 21:21:30 Pali Rohár wrote:
> On Monday 25 January 2021 12:19:38 Guenter Roeck wrote:
> > On Mon, Jan 25, 2021 at 11:05:40AM +0100, Pali Rohár wrote:
> > > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > > was exposed by a prior change of mine to automatically load
> > > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > > this model to the blacklist.
> > > > 
> > > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > > 
> > > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > > Cc: stable@vger.kernel.org
> > > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > > ---
> > > > 
> > > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > > >  1 file changed, 7 insertions(+)
> > > > 
> > > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > > >  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > > >  		},
> > > >  	},
> > > > +	{
> > > > +		.ident = "Dell XPS 15 L502X",
> > > > +		.matches = {
> > > > +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > > +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > > 
> > > Hello! Are you sure that it is required to completely disable fan
> > > support? And not only access to fan type label for which is different
> > > blaclist i8k_blacklist_fan_type_dmi_table?
> > > 
> > 
> > I'll drop this patch from my branch. Please send a Reviewed-by: or Acked-by: tag
> > if/when I should apply it.
> 
> Of course! We will just wait for Bob test results.

Guenter, now we have all needed information, fix is really needed in
this form. So you can add my:

Reviewed-by: Pali Rohár <pali@kernel.org>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-27 22:58               ` Pali Rohár
@ 2021-01-28  0:35                 ` Tom Hebb
  0 siblings, 0 replies; 14+ messages in thread
From: Tom Hebb @ 2021-01-28  0:35 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Bob Hepple, Guenter Roeck, linux-kernel, stable, Jean Delvare,
	linux-hwmon

On Wed, Jan 27, 2021 at 2:58 PM Pali Rohár <pali@kernel.org> wrote:
>
> Hello Bob!
>
> On Thursday 28 January 2021 08:40:36 Bob Hepple wrote:
> > Hi Pali,
> >
> > No, I have not contacted Dell about this and I'm not sure that they
> > would be terribly interested given that my machine is 12 years old -
> > but I'll have a go if I can find the right place to do it.
>
> If it is 12 years old machine then I doubt that anybody would do any
> support for it...
>
> > Do you have a good email or other Dell target to report it?
>
> In this post is information how to contact Dell Linux support team which
> can open (internal) BIOS issue:
>
> https://github.com/dell/libsmbios/issues/48#issuecomment-391328501
>
> But it is possible that still only available for USA.
>
> Mario (superm1 on github) is active also in kernel and can help with
> firmware issues on new machines.
>
> But for this your 12 years old machine is proposed blacklist quirk the
> only option.
>
> I just do not know if this issue was already fixed in new BIOS which is
> available on new machines. And therefore I'm worried if these issues
> would continue to appear also on other machines, or we are just
> collecting list of old machines.

My XPS 13 9350 from 2015 does not exhibit this issue, FWIW. I think we
would be seeing a lot more reports like this if new BIOSes were also
affected.


> Just I do not want to see situation when manufacture says "it is
> working, nothing needed to fix" and it would work just because of
> blacklist... As such scenario would lead only to increasing blacklist
> without ability to start fixing issues.
>
> > I don't
> > have access to official Dell support as my warranty ran out about 10
> > years ago. Perhaps there's an existing Dell bug report that references
> > the original https://bugzilla.kernel.org/show_bug.cgi?id=195751 ??? I
> > could add my report there if someone has already informed Dell about
> > the other instances of the bug.
> >
> > Thanks
> >
> >
> >
> > Bob
> >
> > On Wed, 27 Jan 2021 at 19:19, Pali Rohár <pali@kernel.org> wrote:
> > >
> > > On Tuesday 26 January 2021 00:15:13 Tom Hebb wrote:
> > > > Bob reports that blacklisting the fan type label is not sufficient.
> > > > See his message to me below.
> > >
> > > Ok! Thank you for confirmation.
> > >
> > > And my second question which I have asked:
> > > And have you reported this issue to Dell support?
> > >
> > > > On Mon, Jan 25, 2021 at 3:38 PM Bob Hepple <bob.hepple@gmail.com> wrote:
> > > > >
> > > > > Hi Tom,
> > > > >
> > > > > Big nope this end with L502x in i8k_blacklist_fan_type_dmi_table:
> > > > >
> > > > > Jan 26 09:35:47 achar kernel: psmouse serio1: TouchPad at
> > > > > isa0060/serio1/input0 lost synchronization, throwing 1 bytes>
> > > > >
> > > > > ... and lots of trackpad stall/stutters.
> > > > >
> > > > > Cheers
> > > > >
> > > > >
> > > > > Bob
> > > > >
> > > > >
> > > > >
> > > > > On Tue, 26 Jan 2021 at 08:09, Bob Hepple <bob.hepple@gmail.com> wrote:
> > > > > >
> > > > > > ... compiling now ... results in a coupla hours
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > >
> > > > > > Bob
> > > > > >
> > > > > > On Tue, 26 Jan 2021 at 04:05, Tom Hebb <tommyhebb@gmail.com> wrote:
> > > > > > >
> > > > > > > On Mon, Jan 25, 2021 at 2:05 AM Pali Rohár <pali@kernel.org> wrote:
> > > > > > > >
> > > > > > > > On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> > > > > > > > > It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> > > > > > > > > freezing behavior to the other systems[1] on this blacklist. The issue
> > > > > > > > > was exposed by a prior change of mine to automatically load
> > > > > > > > > dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> > > > > > > > > this model to the blacklist.
> > > > > > > > >
> > > > > > > > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> > > > > > > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> > > > > > > > >
> > > > > > > > > Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> > > > > > > > > Cc: stable@vger.kernel.org
> > > > > > > > > Reported-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > > > > Tested-by: Bob Hepple <bob.hepple@gmail.com>
> > > > > > > > > Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> > > > > > > > > ---
> > > > > > > > >
> > > > > > > > >  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> > > > > > > > >  1 file changed, 7 insertions(+)
> > > > > > > > >
> > > > > > > > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > > > index ec448f5f2dc3..73b9db9e3aab 100644
> > > > > > > > > --- a/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > > > +++ b/drivers/hwmon/dell-smm-hwmon.c
> > > > > > > > > @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> > > > > > > > >                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> > > > > > > > >               },
> > > > > > > > >       },
> > > > > > > > > +     {
> > > > > > > > > +             .ident = "Dell XPS 15 L502X",
> > > > > > > > > +             .matches = {
> > > > > > > > > +                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> > > > > > > > > +                     DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> > > > > > > >
> > > > > > > > Hello! Are you sure that it is required to completely disable fan
> > > > > > > > support? And not only access to fan type label for which is different
> > > > > > > > blaclist i8k_blacklist_fan_type_dmi_table?
> > > > > > >
> > > > > > > This is a good question. We didn't try the other list. Bob is the one with the
> > > > > > > affected system. Could you try moving the added block of code from
> > > > > > > i8k_blacklist_fan_support_dmi_table a few lines up to
> > > > > > > i8k_blacklist_fan_type_dmi_table, Bob, to see if the issue reappears or if it
> > > > > > > remains fixed?
> > > > > > >
> > > > > > > >
> > > > > > > > And have you reported this issue to Dell support?
> > > > > > > >
> > > > > > > > > +             },
> > > > > > > > > +     },
> > > > > > > > >       { }
> > > > > > > > >  };
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > 2.30.0
> > > > > > > > >
> > > > > > >
> > > > > > > (Apologies for the previous HTML copy of this reply, to those directly CCed.)
> > > > > > >
> > > > > > > -Tom

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-27 23:00       ` Pali Rohár
@ 2021-01-28  1:46         ` Guenter Roeck
  2021-01-28  5:08           ` Bob Hepple
  0 siblings, 1 reply; 14+ messages in thread
From: Guenter Roeck @ 2021-01-28  1:46 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Thomas Hebb, linux-kernel, stable, Bob Hepple, Jean Delvare, linux-hwmon

On 1/27/21 3:00 PM, Pali Rohár wrote:
> On Monday 25 January 2021 21:21:30 Pali Rohár wrote:
>> On Monday 25 January 2021 12:19:38 Guenter Roeck wrote:
>>> On Mon, Jan 25, 2021 at 11:05:40AM +0100, Pali Rohár wrote:
>>>> On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
>>>>> It has been reported[0] that the Dell XPS 15 L502X exhibits similar
>>>>> freezing behavior to the other systems[1] on this blacklist. The issue
>>>>> was exposed by a prior change of mine to automatically load
>>>>> dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
>>>>> this model to the blacklist.
>>>>>
>>>>> [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
>>>>> [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
>>>>>
>>>>> Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
>>>>> Cc: stable@vger.kernel.org
>>>>> Reported-by: Bob Hepple <bob.hepple@gmail.com>
>>>>> Tested-by: Bob Hepple <bob.hepple@gmail.com>
>>>>> Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
>>>>> ---
>>>>>
>>>>>  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
>>>>>  1 file changed, 7 insertions(+)
>>>>>
>>>>> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
>>>>> index ec448f5f2dc3..73b9db9e3aab 100644
>>>>> --- a/drivers/hwmon/dell-smm-hwmon.c
>>>>> +++ b/drivers/hwmon/dell-smm-hwmon.c
>>>>> @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
>>>>>  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
>>>>>  		},
>>>>>  	},
>>>>> +	{
>>>>> +		.ident = "Dell XPS 15 L502X",
>>>>> +		.matches = {
>>>>> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
>>>>> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
>>>>
>>>> Hello! Are you sure that it is required to completely disable fan
>>>> support? And not only access to fan type label for which is different
>>>> blaclist i8k_blacklist_fan_type_dmi_table?
>>>>
>>>
>>> I'll drop this patch from my branch. Please send a Reviewed-by: or Acked-by: tag
>>> if/when I should apply it.
>>
>> Of course! We will just wait for Bob test results.
> 
> Guenter, now we have all needed information, fix is really needed in
> this form. So you can add my:
> 
> Reviewed-by: Pali Rohár <pali@kernel.org>
> 

Applied (again)

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
  2021-01-28  1:46         ` Guenter Roeck
@ 2021-01-28  5:08           ` Bob Hepple
  0 siblings, 0 replies; 14+ messages in thread
From: Bob Hepple @ 2021-01-28  5:08 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Pali Rohár, Thomas Hebb, linux-kernel, stable, Jean Delvare,
	linux-hwmon

I've posted something on the Dell Community site as I can't get to the
proper support pages (expired warranty).

https://www.dell.com/community/XPS/Linux-kernel-regression-in-fan-control-dell-smm-hwmon-c-on-XPS/m-p/7794672#M77826

I have read that the Dell Social Networks people forward this sort of
stuff to the Dell Developers ...

Cheers

Bob

On Thu, 28 Jan 2021 at 11:46, Guenter Roeck <linux@roeck-us.net> wrote:
>
> On 1/27/21 3:00 PM, Pali Rohár wrote:
> > On Monday 25 January 2021 21:21:30 Pali Rohár wrote:
> >> On Monday 25 January 2021 12:19:38 Guenter Roeck wrote:
> >>> On Mon, Jan 25, 2021 at 11:05:40AM +0100, Pali Rohár wrote:
> >>>> On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote:
> >>>>> It has been reported[0] that the Dell XPS 15 L502X exhibits similar
> >>>>> freezing behavior to the other systems[1] on this blacklist. The issue
> >>>>> was exposed by a prior change of mine to automatically load
> >>>>> dell_smm_hwmon on a wider set of XPS models. To fix the regression, add
> >>>>> this model to the blacklist.
> >>>>>
> >>>>> [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081
> >>>>> [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751
> >>>>>
> >>>>> Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models")
> >>>>> Cc: stable@vger.kernel.org
> >>>>> Reported-by: Bob Hepple <bob.hepple@gmail.com>
> >>>>> Tested-by: Bob Hepple <bob.hepple@gmail.com>
> >>>>> Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
> >>>>> ---
> >>>>>
> >>>>>  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
> >>>>>  1 file changed, 7 insertions(+)
> >>>>>
> >>>>> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> >>>>> index ec448f5f2dc3..73b9db9e3aab 100644
> >>>>> --- a/drivers/hwmon/dell-smm-hwmon.c
> >>>>> +++ b/drivers/hwmon/dell-smm-hwmon.c
> >>>>> @@ -1159,6 +1159,13 @@ static struct dmi_system_id i8k_blacklist_fan_support_dmi_table[] __initdata = {
> >>>>>                   DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS13 9333"),
> >>>>>           },
> >>>>>   },
> >>>>> + {
> >>>>> +         .ident = "Dell XPS 15 L502X",
> >>>>> +         .matches = {
> >>>>> +                 DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> >>>>> +                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L502X"),
> >>>>
> >>>> Hello! Are you sure that it is required to completely disable fan
> >>>> support? And not only access to fan type label for which is different
> >>>> blaclist i8k_blacklist_fan_type_dmi_table?
> >>>>
> >>>
> >>> I'll drop this patch from my branch. Please send a Reviewed-by: or Acked-by: tag
> >>> if/when I should apply it.
> >>
> >> Of course! We will just wait for Bob test results.
> >
> > Guenter, now we have all needed information, fix is really needed in
> > this form. So you can add my:
> >
> > Reviewed-by: Pali Rohár <pali@kernel.org>
> >
>
> Applied (again)
>
> Thanks,
> Guenter

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-01-28  5:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24  2:46 [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist Thomas Hebb
2021-01-24 16:46 ` Guenter Roeck
2021-01-25 10:05 ` Pali Rohár
2021-01-25 18:05   ` Tom Hebb
     [not found]     ` <CAHzpm2hk4+0FyFrcGYN-JJfx5Ka8yoM8mTsYZA_4WHfWYGa4yQ@mail.gmail.com>
     [not found]       ` <CAHzpm2h2X8ZKEtRxnD-mwyEv=B8J+tH_spFGD2VzfwGdRAaHMw@mail.gmail.com>
2021-01-26  8:15         ` Tom Hebb
2021-01-27  9:19           ` Pali Rohár
2021-01-27 22:40             ` Bob Hepple
2021-01-27 22:58               ` Pali Rohár
2021-01-28  0:35                 ` Tom Hebb
2021-01-25 20:19   ` Guenter Roeck
2021-01-25 20:21     ` Pali Rohár
2021-01-27 23:00       ` Pali Rohár
2021-01-28  1:46         ` Guenter Roeck
2021-01-28  5:08           ` Bob Hepple

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.