Page 1 of 1

Local APIC and MSI

Posted: Sun Sep 21, 2014 8:15 pm
by watermirror
Hi, can I disable ALL MSI through Local APIC?How?

Re: Local APIC and MSI

Posted: Sun Sep 21, 2014 11:01 pm
by Brendan
Hi,
watermirror wrote:Hi, can I disable ALL MSI through Local APIC?How?
No; the only interrupts you can disable in the local APIC are those that you enable in the local APIC (local APIC timer, performance monitoring, thermal monitoring).

If you've enabled MSI for a device (via. the device's PCI configuration space), then you'd need to disable MSI for the device using its PCI configuration space. If you've enabled an IO APIC input's IRQ (in the IO APIC), then you'd need to disable the IRQ in the IO APIC.


Cheers,

Brendan

Re: Local APIC and MSI

Posted: Mon Sep 22, 2014 12:10 am
by watermirror
If you've enabled MSI for a device (via. the device's PCI configuration space), then you'd need to disable MSI for the device using its PCI configuration space. If you've enabled an IO APIC input's IRQ (in the IO APIC), then you'd need to disable the IRQ in the IO APIC.
Hi, is it possiable to set the local APIC not accept any MSI? such as mask some vector or something?

Re: Local APIC and MSI

Posted: Mon Sep 22, 2014 2:43 am
by thepowersgang
As Brendan said, no, you can't. The LAPIC doesn't support masking off MSIs. If you don't want any interrupts, you can use 'CLI' to mask any interrupt generation.