From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses Date: Fri, 26 Oct 2012 12:40:14 +0200 Message-ID: <508A688E.6090508@redhat.com> References: <1350173065-35350-1-git-send-email-c.dall@virtualopensystems.com> <507F172D.2030802@suse.de> <20121017221022.GA4333@bloggs.ozlabs.ibm.com> <1350518331.4678.114.camel@pasglop> <508675FC.7090901@siemens.com> <20121024005017.GA17834@bloggs.ozlabs.ibm.com> <5089656A.9010704@redhat.com> <5089699D.3050004@siemens.com> <50898479.8060402@redhat.com> <1351194021.2728.170.camel@pasglop> <508A5EE3.6070709@redhat.com> <1351247838.12271.10.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Jan Kiszka , Paul Mackerras , Christoffer Dall , Alexander Graf , "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" , kvm-ppc , Peter Maydell To: Benjamin Herrenschmidt Return-path: In-Reply-To: <1351247838.12271.10.camel@pasglop> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 26/10/2012 12:37, Benjamin Herrenschmidt ha scritto: >> > Wiring which MSI-X interrupts go to which source controllers. If you >> > have one source controller per PCI bridge, you need to tell the kernel >> > the mapping between MSI messages interrupts and PCI bridges, and update >> > it whenever the MSI masking changes. > Not sure I get it. Are you talking in the context of PCI pass-through ? Not just that, it's also for emulated devices that do MSI-X (virtio-pci does). > > The other problem is configuring the redirection table. If you need >64 > > sources you need ioctls like KVM_GET/SET_IRQCHIP_ONE_REG. > Well, all of that is totally specific to the IO-APIC design & > limitations as far as I can tell. What is the "redirection table" ? The wiring between source and presentation controllers, roughly. I suppose that's what Paul referred to when he said there's 64 bits of config info per source in the source controllers. Paolo