From: "Ashish Bijlani" Subject: GSI affinity and redirection Date: Tue, 30 Oct 2007 09:48:13 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1131038879==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1131038879== Content-Type: multipart/alternative; boundary="----=_Part_1059_3135665.1193752093368" ------=_Part_1059_3135665.1193752093368 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline folks...i've been trying to set affinity of PCI NIC GSI (irq=16) for core 1 (dual-core machine) and then upon receiving this interrupt on core 1, redirect it to core 0 (through IPI) to handle it. i'm able to set the affinity by invoking "set_affinity" operation on irq 16 but when I try to redirect it to core 0 through IPI, upon receiving this interrupt, the interrupt is somehow not handled and i'm not able to ping to this machine. i think i'm not doing something that needs to be done after sending IPI to core 0 to handle this interrupt, which is done from core 1 upon receiving this interrupt on it. as far as my understanding goes, when IPI is sent, the interrupt is delivered to a processor through local PIC, right? so does that mean that the processor that originally received the interrupt by IOAPIC should send EOI to IOAPIC and the processor that received the redirected interrupt by local PIC should send EOI to the local PIC and not IOAPIC. if that is the case, then in what order or sequence he two EOIs are sent? considering xen waits for virtual EOIs from guests before it can send actual EOI to the IOAPIC, which core should wait for EOIs from the guests in my case? thanks. ------=_Part_1059_3135665.1193752093368 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline folks...i've been trying to set affinity of PCI NIC GSI (irq=3D16) for = core 1 (dual-core machine) and then upon receiving this interrupt on core 1= , redirect it to core 0 (through IPI) to handle it. i'm able to set the= affinity by invoking "set_affinity" operation on irq 16 but when= I try to redirect it to core 0 through IPI, upon receiving this interrupt,= the interrupt is somehow not handled and i'm not able to ping to this = machine. i think i'm not doing something that needs to be done after se= nding IPI to core 0 to handle this interrupt, which is done from core 1 upo= n receiving this interrupt on it. as far as my understanding goes, when IPI= is sent, the interrupt is delivered to a processor through local PIC, righ= t? so does that mean that the processor that originally received the interr= upt by IOAPIC should send EOI to IOAPIC and the processor that received the= redirected interrupt by local PIC should send EOI to the local PIC and not= IOAPIC. if that is the case, then in what order or sequence he two EOIs ar= e sent? considering xen waits for virtual EOIs from guests before it can se= nd actual EOI to the IOAPIC, which core should wait for EOIs from the guest= s in my case? thanks.
------=_Part_1059_3135665.1193752093368-- --===============1131038879== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1131038879==--