[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] hpet: inverse polarity when pin above ISA_N
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] hpet: inverse polarity when pin above ISA_NUM_IRQS |
Date: |
Sun, 25 Aug 2013 08:44:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 25/08/2013 04:16, Liu Ping Fan ha scritto:
> According to hpet spec, hpet irq is high active. But according to
> ICH spec, there is inversion before the input of ioapic. So the OS
> will expect low active on this IRQ line.(And this is observed on
> bare metal).
>
> We fold the emulation of this inversion inside the hpet logic.
>
> Signed-off-by: Liu Ping Fan <address@hidden>
> ---
> kernel has a bug with ioapic, refer to
> https://lkml.org/lkml/2013/8/23/98
> With all these patch, linux-2.6/Documentation/timers/hpet_example.c can work
> on qemu
Can you explain "in qemu q35 machine ioapic's ioredtbl[x] can never be
set as low-active, even if the hpet driver registered it"?
Paolo