[lm-sensors] [PATCH] sensors-detect: Skip "random" I/O port probing on PPC

Jean Delvare khali at linux-fr.org
Fri Feb 22 08:44:04 CET 2008


On Fri, 22 Feb 2008 18:21:23 +1100, Benjamin Herrenschmidt wrote:
> 
> On Fri, 2008-02-22 at 08:19 +0100, Jean Delvare wrote:
> > 
> > I was referring to the kernel patch Christian submitted earlier this
> > week which prevents oopses or machine checks when older versions of
> > sensors-detect access /dev/port in unexpected ways. My update to
> > sensors-detect was meant as a complement of his patch, not a
> > replacement.
> 
> But his patch can't recognize a potentially valid use of /proc/port
> right ?

I don't know much about PPC so I can't comment on the implementation.
All I'm saying is that, if it is possible at all, I believe that
preventing invalid accesses from oopsing the machine is a good idea.

> Christian, can you re-send me that patch ?

-- 
Jean Delvare



More information about the lm-sensors mailing list