From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [RFC PATCH 12/45] KVM: arm/arm64: vgic-new: Add MMIO handling framework Date: Thu, 31 Mar 2016 16:31:54 +0200 Message-ID: <20160331143154.GB20251@cbox> References: <1458871508-17279-1-git-send-email-andre.przywara@arm.com> <1458871508-17279-13-git-send-email-andre.przywara@arm.com> <20160331090824.GR4126@cbox> <56FD171E.1040401@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andre Przywara , Marc Zyngier , Eric Auger , "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" To: Paolo Bonzini Return-path: Received: from mail-wm0-f41.google.com ([74.125.82.41]:35169 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753785AbcCaOby (ORCPT ); Thu, 31 Mar 2016 10:31:54 -0400 Received: by mail-wm0-f41.google.com with SMTP id 191so128654548wmq.0 for ; Thu, 31 Mar 2016 07:31:54 -0700 (PDT) Content-Disposition: inline In-Reply-To: <56FD171E.1040401@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Mar 31, 2016 at 02:25:02PM +0200, Paolo Bonzini wrote: > > > On 31/03/2016 11:09, Christoffer Dall wrote: > >> My comments to Vladimir's bug report notwithstanding, there's still a > >> choice here to: > >> > >> 1) Expand/modify the KVM IO bus framework to take an arbitrary number of devices > >> > >> 2) Build a KVM architectureal generic framework on top of the IO bus > >> framework to handle individual register regions. > >> > >> 3) Stick with what we had before, do not modify the KVM IO bus stuff, > >> and handle the individual register region business locally within the > >> arm/vgic code. > > I prefer 3, or alternatively just add the framework in virt/kvm/arm so > that it can be migrated to virt/kvm if someone else needs it. > Sounds like a plan. Thanks Paolo. -Christoffer From mboxrd@z Thu Jan 1 00:00:00 1970 From: christoffer.dall@linaro.org (Christoffer Dall) Date: Thu, 31 Mar 2016 16:31:54 +0200 Subject: [RFC PATCH 12/45] KVM: arm/arm64: vgic-new: Add MMIO handling framework In-Reply-To: <56FD171E.1040401@redhat.com> References: <1458871508-17279-1-git-send-email-andre.przywara@arm.com> <1458871508-17279-13-git-send-email-andre.przywara@arm.com> <20160331090824.GR4126@cbox> <56FD171E.1040401@redhat.com> Message-ID: <20160331143154.GB20251@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Mar 31, 2016 at 02:25:02PM +0200, Paolo Bonzini wrote: > > > On 31/03/2016 11:09, Christoffer Dall wrote: > >> My comments to Vladimir's bug report notwithstanding, there's still a > >> choice here to: > >> > >> 1) Expand/modify the KVM IO bus framework to take an arbitrary number of devices > >> > >> 2) Build a KVM architectureal generic framework on top of the IO bus > >> framework to handle individual register regions. > >> > >> 3) Stick with what we had before, do not modify the KVM IO bus stuff, > >> and handle the individual register region business locally within the > >> arm/vgic code. > > I prefer 3, or alternatively just add the framework in virt/kvm/arm so > that it can be migrated to virt/kvm if someone else needs it. > Sounds like a plan. Thanks Paolo. -Christoffer