Re: [PATCH] x86: Get irq for hpet timer

From: Maciej W. Rozycki
Date: Thu May 22 2008 - 11:27:19 EST


On Thu, 22 May 2008, Kevin Hao wrote:

> But if we avoid all the legacy range, the hpet timer will have no chance
> to work on a host using legacy PIC.

It's not meant to be wired to the legacy PIC anyway (except from the
timers #0 and #1 in some configurations, meant to emulate timer interrupts
of the 8254 and the RTC), though I can imagine such a non-standard
extension.

> Yes, we should setup routing in the I/O APIC and use level-triggered
> mode. I think it's better to use acpi_register_gsi than mp_register_gsi.
> Is that right?

It sounds right to me.

Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/