On Thursday 29 March 2007 4:29 pm, Maxim Levitsky wrote:
also: http://marc.info/?l=linux-kernel&m=117219531526317&w=2
Right, that's the entire point of legacy replacement mode.
But so what? In standard mode, HPET just uses other IRQs.
Nothing would care about irq0, and irq8 would be used by
the RTC as necessary.
Why? It's not like the clockevent logic cares what IRQ a given
programmable timer uses. So long as the HPET driver can receive
its IRQ, it'll make a fine clockevent. There's no reason to have
HPET prevent other drivers from working, by insisting it use that
nasty "prevent other hardware from issuing IRQs" mode.
The patches from Venkatesh sure seem to have behaved for him.
And while he might have complained about difficulty, I think
that'd be more likely due to the SMP issues he also addressed
than because of some (historical?) attachment to irq0.
Getting IRQ routing sorted out is a problem that's been solved
numerous times before. And again, the patches referenced above
seem to have resolved any such issues.
For starters, it's not an RTC. Why in the world would you want to
make the OS think it's an RTC ... unless you're Microsoft, and are
desperate to get another periodic timer (and don't much care about
the other RTC functionality?
... that's all off-topic for 2.6.21 regressions though; it's too
late to merge x86_64 clockevent support, or fix HPET issues like
not using "standard mode".
- Dave
-