Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD and Linux KVM



|> In <20130220005659.GA17813%britannica.bec.de@localhost>
|> Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> PCI interrupts require active low, level triggering. ACPI SCI is
> somewhat special and can also be active high. ISA is active hi and edge
> triggered (IIRC). Point is that different polarities cannot coexist, so
> whatever this ACPI table is doing is wrong. Either the override in the
> MADT or the PCI routing entry.

I know PCI interrupts are active low, but couldn't they be
inverted before putting to the IOAPIC?

In MPBIOS mode also NetBSD configures it as active-high:

# dmesg | grep 'ioapic0.*pci'
ioapic0: int11 attached to pci0 device 1 INT_D (type 0x0<type=0x0> flags 
0x1<pol=0x1=Act Hi,trig=0x0>)
ioapic0: int9 attached to pci0 device 1 INT_A (type 0x0<type=0x0> flags 
0x1<pol=0x1=Act Hi,trig=0x0>)
ioapic0: int11 attached to pci0 device 3 INT_A (type 0x0<type=0x0> flags 
0x1<pol=0x1=Act Hi,trig=0x0>)
ioapic0: int11 attached to pci0 device 4 INT_A (type 0x0<type=0x0> flags 
0x1<pol=0x1=Act Hi,trig=0x0>)
ioapic0: int10 attached to pci0 device 5 INT_A (type 0x0<type=0x0> flags 
0x1<pol=0x1=Act Hi,trig=0x0>)
ioapic0: int10 attached to pci0 device 6 INT_A (type 0x0<type=0x0> flags 
0x1<pol=0x1=Act Hi,trig=0x0>)

-- 
Minoura Makoto <makoto%hauN.org@localhost>


Home | Main Index | Thread Index | Old Index