* [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI matching,
@ 2009-01-13 16:56 Alistair John Strachan
2009-01-15 15:22 ` [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI Jean Delvare
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alistair John Strachan @ 2009-01-13 16:56 UTC (permalink / raw)
To: lm-sensors
These patches have been compile and runtime tested.
The first patch implements the partial DMI matching we discussed, hopefully
this method will prevent any further false negatives (thanks to Jean for
his input on the method chosen).
The second patch adds a partial DMI board string for the IN9 32X MAX,
enabling DMI board string matching. It depends on the first patch.
Both of these could go upstream; the first can definitely be considered a
bugfix, the second is more dubious, but since I've rebased it on the first
it could be applied later if required.
(One remaining question would be whether patch 1 should be CCed to -stable,
since there has been a regression introduced into 2.6.27 and present in
2.6.28 for some BIOS revisions of the IP35 Pro.)
--
Cheers,
Alistair.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI
2009-01-13 16:56 [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI matching, Alistair John Strachan
@ 2009-01-15 15:22 ` Jean Delvare
2009-01-15 16:48 ` Alistair John Strachan
2009-01-15 18:03 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-01-15 15:22 UTC (permalink / raw)
To: lm-sensors
Hi Alistair,
On Tue, 13 Jan 2009 16:56:36 +0000, Alistair John Strachan wrote:
> These patches have been compile and runtime tested.
>
> The first patch implements the partial DMI matching we discussed, hopefully
> this method will prevent any further false negatives (thanks to Jean for
> his input on the method chosen).
>
> The second patch adds a partial DMI board string for the IN9 32X MAX,
> enabling DMI board string matching. It depends on the first patch.
>
> Both of these could go upstream; the first can definitely be considered a
> bugfix, the second is more dubious, but since I've rebased it on the first
> it could be applied later if required.
Yes, I will push these patches upstream later today.
> (One remaining question would be whether patch 1 should be CCed to -stable,
> since there has been a regression introduced into 2.6.27 and present in
> 2.6.28 for some BIOS revisions of the IP35 Pro.)
Is there really a regression? If the DMI matching doesn't work, we fall
back to the old detection method, so I can't see how there would be a
regression. Care to explain?
(Which doesn't mean we can't push the patches to stable, as stable
isn't limited to regressions. Just trying to understand.)
Speaking of DMI matching... If DMI is disabled, we do:
static inline int abituguru3_dmi_detect(void)
{
return -ENODEV;
}
And this error value causes abituguru3_init() to bail out. Unless I'm
missing something, the abituguru3 driver is simply useless without DMI
support at the moment. We should either make that official and make the
driver depend on DMI at Kconfig level, or change
abituguru3_dmi_detect() to return 1, so that we fallback to the old
detection method. Opinions?
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI
2009-01-13 16:56 [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI matching, Alistair John Strachan
2009-01-15 15:22 ` [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI Jean Delvare
@ 2009-01-15 16:48 ` Alistair John Strachan
2009-01-15 18:03 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Alistair John Strachan @ 2009-01-15 16:48 UTC (permalink / raw)
To: lm-sensors
On Thursday 15 January 2009 15:22:45 Jean Delvare wrote:
> > (One remaining question would be whether patch 1 should be CCed to
> > -stable, since there has been a regression introduced into 2.6.27 and
> > present in 2.6.28 for some BIOS revisions of the IP35 Pro.)
>
> Is there really a regression? If the DMI matching doesn't work, we fall
> back to the old detection method, so I can't see how there would be a
> regression. Care to explain?
Having looked at this properly I agree. It's clear that in this bug report
what actually happened was the DMI match failed, AND the probe routine failed.
This definitely puts the final nail in the coffin of manual probing,
especially on the IP35 Pro (which was where all these changes originated
from).
Sorry for the confusion, you are correct, and there is no way this could be
considered a regression. I had just extrapolated that from the original
poster, but it must be the case that it has never worked, or worked
unreliably.
> Speaking of DMI matching... If DMI is disabled, we do:
>
> static inline int abituguru3_dmi_detect(void)
> {
> return -ENODEV;
> }
>
> And this error value causes abituguru3_init() to bail out. Unless I'm
> missing something, the abituguru3 driver is simply useless without DMI
> support at the moment. We should either make that official and make the
> driver depend on DMI at Kconfig level, or change
> abituguru3_dmi_detect() to return 1, so that we fallback to the old
> detection method. Opinions?
It should return 1. This is simply a blunder. Fortunately CONFIG_DMI is quite
difficult to turn off, and no distribution would. I'll follow up to this email
with a proper patch.
Apologies for the mistakes..
--
Cheers,
Alistair.
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI
2009-01-13 16:56 [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI matching, Alistair John Strachan
2009-01-15 15:22 ` [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI Jean Delvare
2009-01-15 16:48 ` Alistair John Strachan
@ 2009-01-15 18:03 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-01-15 18:03 UTC (permalink / raw)
To: lm-sensors
On Thu, 15 Jan 2009 16:48:57 +0000, Alistair John Strachan wrote:
> On Thursday 15 January 2009 15:22:45 Jean Delvare wrote:
> > > (One remaining question would be whether patch 1 should be CCed to
> > > -stable, since there has been a regression introduced into 2.6.27 and
> > > present in 2.6.28 for some BIOS revisions of the IP35 Pro.)
> >
> > Is there really a regression? If the DMI matching doesn't work, we fall
> > back to the old detection method, so I can't see how there would be a
> > regression. Care to explain?
>
> Having looked at this properly I agree. It's clear that in this bug report
> what actually happened was the DMI match failed, AND the probe routine failed.
>
> This definitely puts the final nail in the coffin of manual probing,
> especially on the IP35 Pro (which was where all these changes originated
> from).
>
> Sorry for the confusion, you are correct, and there is no way this could be
> considered a regression. I had just extrapolated that from the original
> poster, but it must be the case that it has never worked, or worked
> unreliably.
Or the regression was cause by a BUIS update. In which case we are not
responsible for it.
> > Speaking of DMI matching... If DMI is disabled, we do:
> >
> > static inline int abituguru3_dmi_detect(void)
> > {
> > return -ENODEV;
> > }
> >
> > And this error value causes abituguru3_init() to bail out. Unless I'm
> > missing something, the abituguru3 driver is simply useless without DMI
> > support at the moment. We should either make that official and make the
> > driver depend on DMI at Kconfig level, or change
> > abituguru3_dmi_detect() to return 1, so that we fallback to the old
> > detection method. Opinions?
>
> It should return 1. This is simply a blunder. Fortunately CONFIG_DMI is quite
> difficult to turn off, and no distribution would. I'll follow up to this email
> with a proper patch.
Great, thanks.
> Apologies for the mistakes..
Heh, no problem.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-15 18:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 16:56 [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI matching, Alistair John Strachan
2009-01-15 15:22 ` [lm-sensors] [PATCH 0/2] hwmon: (abituguru3) Partial DMI Jean Delvare
2009-01-15 16:48 ` Alistair John Strachan
2009-01-15 18:03 ` Jean Delvare
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.