login
Header Space

 
 

Re: [RFC][PATCH] HPET: register additional counter-only char device

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dimitri Gorokhovik <dimitri.gorokhovik@...>
Cc: <tglx@...>, linux-kernel <linux-kernel@...>
Date: Friday, April 11, 2008 - 11:57 am

Dimitri Gorokhovik wrote:

Reading HPET registers should not be dangerous in any way, but it might
be possible to read other devices' registers that happen to lie inside
the same memory page (HPET registers are only 1024 bytes).


Yes, definitely.  I've wanted to do this patch for some time but haven't
found the time.


There are at least as many available timers as before the change -- a
program that tries to use a timer will still get a timer, and now this
will succeed even if there are other programs that use only the counter.

Even now, for most programs using /dev/hpet, it actually is just a
counter.


Regards,
Clemens
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] HPET: register additional counter-only char dev..., Dimitri Gorokhovik, (Fri Apr 11, 4:58 am)
Re: [RFC][PATCH] HPET: register additional counter-only char..., Dimitri Gorokhovik, (Fri Apr 11, 10:06 am)
Re: [RFC][PATCH] HPET: register additional counter-only char..., Clemens Ladisch, (Fri Apr 11, 11:57 am)
Re: [RFC][PATCH] HPET: register additional counter-only char..., Dimitri Gorokhovik, (Sun Apr 13, 10:40 am)
speck-geostationary