From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDkNe-0001OJ-DJ for qemu-devel@nongnu.org; Thu, 07 Mar 2013 18:37:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDkNd-0003w3-8x for qemu-devel@nongnu.org; Thu, 07 Mar 2013 18:37:46 -0500 Received: from mail-bk0-x236.google.com ([2a00:1450:4008:c01::236]:32938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDkNd-0003vZ-2H for qemu-devel@nongnu.org; Thu, 07 Mar 2013 18:37:45 -0500 Received: by mail-bk0-f54.google.com with SMTP id w5so484571bku.27 for ; Thu, 07 Mar 2013 15:37:44 -0800 (PST) MIME-Version: 1.0 Sender: peter.crosthwaite@petalogix.com In-Reply-To: References: <1362418348-27398-1-git-send-email-pbonzini@redhat.com> <51350131.1070703@redhat.com> <874ngnsiig.fsf@blackfin.pond.sub.org> Date: Fri, 8 Mar 2013 09:37:43 +1000 Message-ID: From: Peter Crosthwaite Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [PATCH] sysbus: add no_user for devices using mmio or IRQ or GPIO List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , Anthony Liguori , Markus Armbruster , qemu-devel@nongnu.org On Fri, Mar 8, 2013 at 1:41 AM, Peter Maydell wrote: > On 7 March 2013 20:45, Peter Crosthwaite wrote: >>> Case four: "we really don't expect anybody to be trying to wire this >>> up dynamically", which would apply to things like the on-cpu peripherals >>> for some ARM cores. >> >> What ARM cores were you thinking here exactly? We are already doing >> dynamic machine creation of ARM systems including instantiation of >> individual MPCore components. > > I was handwaving a bit, but for instance arm_mptimer is marked as > no_user. How are you doing dynamic machine creation when neither -device > nor device_add support mapping sysbus mmio or wiring up gpio and irq > lines? > Its all out of tree using out device tree driven machine instantiation but we are toying with the idea of moving away from that in favour of -device and friends (2100 less lines out of tree code for me), once the aforementioned fixes to sysbus/gpio go through. ARM MPTimer will still be one of the IPs we will want to dynamically create however. Regards, Peter > -- PMM >