Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan Becker <Stefan.Becker@...>
Cc: ext David Brownell <david-b@...>, <linux-kernel@...>, <linux-usb@...>, ext Alan Stern <stern@...>
Date: Monday, June 30, 2008 - 10:28 am

On Mon, 30 Jun 2008, Stefan Becker wrote:

It becomes unusable.  In fact, I find it likely that shared IRQs are not
safe for random data gathering at all in general. IRQs are not in fact
completely random, they just (sometimes) have a very small ammount of
randomness in them.  And the combined result you see in a shared IRQ line
could be correlated or "get somewhat more correlated" because of the sharing
(they go over the same BUS -> one can delay the other, etc)... and that
correlation might be dangerous.

IMO, the safe thing to do is to block shared IRQs from being used as random
sources.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
BUG in 2.6.26-rc8 interrupt handling, Becker Stefan (Nokia-D/Salo)..., (Sat Jun 28, 3:34 pm)
Re: BUG in 2.6.26-rc8 interrupt handling, David Brownell, (Sat Jun 28, 3:51 pm)
PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts, Stefan Becker, (Sun Jun 29, 10:57 am)
Re: [PATCH] USB: fix interrupt disabling for HCDs with share..., Leonardo Chiquitto, (Tue Jul 1, 10:19 am)
Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts, Henrique de Moraes Holschuh..., (Mon Jun 30, 10:28 am)