Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Friday, March 2, 2007 - 7:03 am

Hi Pavel,

On Fri, 2 Mar 2007 12:40:23 +0100, Pavel Machek wrote:

That's a secondary problem. The primary issue is the concurrent access
to resources, which cause lots of trouble which are hard to investigate.
If ACPI reserves the ports, then the SMBus or hardware monitoring
drivers (or any other conflicting driver) will cleanly fail to load,
which would be a move in the right direction. Ideally we would be able
to synchronize the accesses between ACPI and the other drivers, but if
we can't, I'd already be _very happy_ to just prevent conflicting
drivers from being loaded at the same time.

So, can ACPI actually reserve the ports it accesses?


Correct, and on most notebooks, traditional hardware monitoring
drivers do not work anyway. Or I should say, used to not work. The
recent CPUs have embedded sensors which can be read using Rudolf
Marek's k8temp and coretemp drivers, this works on laptops as well.
Chances are good that future laptops will not include a separate
temperature sensor but will read the temperature from the CPU directly,
which will cause conflicts with our drivers.

Now the problem is that we can't blacklist SMBus and hardware
monitoring drivers on all laptops by default. There may be other
devices on the SMBus which the user can legitimately want to access,
such as EEPROMs or RTCs.


What kind of whitelist do you have in mind? We can't realistically
maintain an ever-growing whitelist of hundreds of entries in the
kernel. We could block all laptops by default and maintain a white list
only for them, and a black list for other systems, the would probably
limit the maintenance work, maybe not to an acceptable level though.

Anyway I would definitely prefer the resource conflicts approach, as it
wouldn't need maintenance at all.


Agreed.


Great, looking forward.

-- 
Jean Delvare
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Could the k8temp driver be interfering with ACPI?, Chuck Ebbert, (Fri Feb 16, 10:31 am)
Re: Could the k8temp driver be interfering with ACPI?, Chuck Ebbert, (Fri Feb 16, 11:14 am)
Re: Could the k8temp driver be interfering with ACPI?, Chuck Ebbert, (Fri Feb 16, 12:31 pm)
Re: Could the k8temp driver be interfering with ACPI?, Andi Kleen, (Fri Feb 16, 12:59 pm)
Re: [lm-sensors] Could the k8temp driver be interfering wi ..., Henrique de Moraes H ..., (Fri Mar 2, 6:47 am)
Re: [lm-sensors] Could the k8temp driver be interfering wi ..., Jean Delvare, (Fri Mar 2, 7:03 am)
Re: [lm-sensors] Could the k8temp driver be interfering wi ..., Henrique de Moraes H ..., (Fri Mar 2, 2:22 pm)
Re: [lm-sensors] Could the k8temp driver be interfering wi ..., Alexey Starikovskiy, (Fri Mar 9, 3:39 am)
Re: [lm-sensors] Could the k8temp driver be interfering wi ..., Alexey Starikovskiy, (Fri Mar 9, 10:35 am)
Re: [lm-sensors] Could the k8temp driver be interfering wi ..., richardvoigt@gmail.com, (Sun Mar 18, 12:36 pm)
Re: Could the k8temp driver be interfering with ACPI?, Jean Delvare, (Mon Apr 2, 8:48 am)
RE: Could the k8temp driver be interfering with ACPI?, Moore, Robert, (Mon Apr 2, 1:55 pm)
Re: Could the k8temp driver be interfering with ACPI?, Jean Delvare, (Mon Apr 2, 10:49 pm)
Re: Could the k8temp driver be interfering with ACPI?, Jean Delvare, (Tue Apr 3, 12:21 am)
RE: Could the k8temp driver be interfering with ACPI?, Moore, Robert, (Wed Apr 4, 2:35 pm)