Received: from eggs.gnu.org ([2001:4830:134:3::10]:54970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHUr0-0008Dc-8O for qemu-devel@nongnu.org; Fri, 08 Jan 2016 06:05:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHUqw-0007xn-5x for qemu-devel@nongnu.org; Fri, 08 Jan 2016 06:05:10 -0500 Received: from mail-pa0-x242.google.com ([2607:f8b0:400e:c03::242]:36517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHUqw-0007xh-0H for qemu-devel@nongnu.org; Fri, 08 Jan 2016 06:05:06 -0500 Received: by mail-pa0-x242.google.com with SMTP id a20so16336123pag.3 for ; Fri, 08 Jan 2016 03:05:05 -0800 (PST) Date: Fri, 8 Jan 2016 12:05:01 +0100 From: "Edgar E. Iglesias" Message-ID: <20160108110500.GB29396@toto> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v1 00/15] data-driven device registers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Edgar Iglesias , Peter Crosthwaite , "qemu-devel@nongnu.org Developers" , Andreas =?iso-8859-1?Q?F=E4rber?= , Alistair Francis On Fri, Jan 08, 2016 at 10:40:28AM +0000, Peter Maydell wrote: > On 8 January 2016 at 00:39, Alistair Francis > wrote: > > On Wed, Dec 16, 2015 at 8:33 AM, Alistair Francis > > wrote: > >> On Tue, Dec 15, 2015 at 1:56 PM, Peter Maydell wrote: > >>> On 15 December 2015 at 20:52, Peter Crosthwaite > >>> wrote: > >>>> It needs to exist before it can be used so there is a bit of a chicken > >>>> and egg problem there. > > > > No one seems to be jumping at reviewing this. Can we just send a pull request? > > I don't necessarily require review [*]. I would like *somebody* other > than you Xilinx folk to say "yes, I think I would use this for > modelling devices". Otherwise all we have is "weird thing used > only in two or three Xilinx devices and nowhere else", which I'm > a bit reluctant to let into the tree. We already have a pretty > wide divergence in how devices look just based on the various > transitions from older to newer qdev/QOM/etc that are not complete. > > [*] by which I mean, I will review this series if you can find > somebody else who's going to say they'd use it. > Hi, I have two general comments to the series. 1. I think we need to do something to allow mem-attributes to be passed to the reg-access callbacks and possibly also to add a way to filter on attrs in the data structure. 2. We had trouble in the Xilinx tree with the number of memory regions created when using the style were each reg becomes an MR. I think that style should either be disallowed or we need to fix the low limit (IIRC it was at around 1K MRs/Regs). I'm part of the Xilinx team so I this outside of Peters review request but anyawy.... Cheers, Edgar