From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Wed, 17 Oct 2012 20:38:05 +0000 Subject: Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses Message-Id: <507F172D.2030802@suse.de> List-Id: References: <1350173065-35350-1-git-send-email-c.dall@virtualopensystems.com> In-Reply-To: <1350173065-35350-1-git-send-email-c.dall@virtualopensystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoffer Dall Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Benjamin Herrenschmidt , kvm-ppc On 10/14/2012 02:04 AM, Christoffer Dall wrote: > *** warning: this RFC patch series is only compile-tested *** > > We need a way to specify the address at which we expect VMs to access > the interrupt controller (both the emulated distributor and the hardware > interface supporting virtualization). User space should decide on this > address as user space decides on an emulated board and loads a device > tree describing these details directly to the guest. > > Instead of modifying the copying KVM_CREATE_IRQCHIP to an ARM specific > ioctl with a a highly device specific set of parameters, we try > something slightly more generic, that should fit well with how user > space (read QEMU) first builds the individual devices and later sets up > the emulated platform. Have you talked to Ben about this one? He wanted to design a new, more flexible irqchip API that would work for XICS & MPIC. Maybe there's some room for cooperation here? Alex From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [kvmarm] [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses Date: Wed, 17 Oct 2012 22:38:05 +0200 Message-ID: <507F172D.2030802@suse.de> References: <1350173065-35350-1-git-send-email-c.dall@virtualopensystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Benjamin Herrenschmidt , kvm-ppc To: Christoffer Dall Return-path: Received: from cantor2.suse.de ([195.135.220.15]:33891 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755459Ab2JQUiO (ORCPT ); Wed, 17 Oct 2012 16:38:14 -0400 In-Reply-To: <1350173065-35350-1-git-send-email-c.dall@virtualopensystems.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/14/2012 02:04 AM, Christoffer Dall wrote: > *** warning: this RFC patch series is only compile-tested *** > > We need a way to specify the address at which we expect VMs to access > the interrupt controller (both the emulated distributor and the hardware > interface supporting virtualization). User space should decide on this > address as user space decides on an emulated board and loads a device > tree describing these details directly to the guest. > > Instead of modifying the copying KVM_CREATE_IRQCHIP to an ARM specific > ioctl with a a highly device specific set of parameters, we try > something slightly more generic, that should fit well with how user > space (read QEMU) first builds the individual devices and later sets up > the emulated platform. Have you talked to Ben about this one? He wanted to design a new, more flexible irqchip API that would work for XICS & MPIC. Maybe there's some room for cooperation here? Alex