Received: from eggs.gnu.org ([2001:4830:134:3::10]:41930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urjpa-0007DI-N0 for qemu-devel@nongnu.org; Wed, 26 Jun 2013 03:07:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrjpZ-0001aB-Hd for qemu-devel@nongnu.org; Wed, 26 Jun 2013 03:07:54 -0400 Received: from zose-mta15.web4all.fr ([178.33.204.94]:46563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrjpZ-0001a3-7r for qemu-devel@nongnu.org; Wed, 26 Jun 2013 03:07:53 -0400 Date: Wed, 26 Jun 2013 09:08:05 +0200 (CEST) From: jcd@tribudubois.net Message-ID: <458051555.267249.1372230485548.JavaMail.root@tribudubois.net> In-Reply-To: <51CA9086.80802@redhat.com> References: <1372184516-32397-1-git-send-email-peter.maydell@linaro.org> <1372184516-32397-3-git-send-email-peter.maydell@linaro.org> <51C9E490.7090304@redhat.com> <51CA9086.80802@redhat.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_267248_1544293771.1372230485547" Subject: Re: [Qemu-devel] [PULL 2/8] i.MX: Implement a more complete version of the GPT timer. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Peter Crosthwaite , Anthony Liguori , qemu-devel@nongnu.org, Paul Brook , Andreas =?utf-8?Q?F=C3=A4rber?= ------=_Part_267248_1544293771.1372230485547 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit For my own education, could you elaborate on the reason this is not a good change? Thanks. JC ----- Mail original ----- > Il 25/06/2013 22:53, Peter Maydell ha scritto: > > On 25 June 2013 19:42, Paolo Bonzini wrote: > >> Il 25/06/2013 20:21, Peter Maydell ha scritto: > >>> @@ -416,7 +513,7 @@ static int imx_timerg_init(SysBusDevice *dev) > >>> > >>> sysbus_init_irq(dev, &s->irq); > >>> memory_region_init_io(&s->iomem, &imx_timerg_ops, > >>> - s, "imxg-timer", > >>> + s, TYPE_IMX_GPT, > >>> 0x00001000); > >>> sysbus_init_mmio(dev, &s->iomem); > >>> > >> > >> There was some agreement that this is not a good change. > > > > I agree (and more so regarding the use of the macro in the > > vmstate name), but nobody actually posted any comment to > > that effect against any of the versions of this patch that > > got sent out for review... > Yeah, the timing was bad... Can you post a revert, though? > Paolo ------=_Part_267248_1544293771.1372230485547 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
For my own education, could you = elaborate on the reason this is not a good change?

=
Thanks.

JC


Il 25= /06/2013 22:53, Peter Maydell ha scritto:
> On 25 June 2013 19:42, Pa= olo Bonzini <pbonzini@redhat.com> wrote:
>> Il 25/06/2013 20= :21, Peter Maydell ha scritto:
>>> @@ -416,7 +513,7 @@ static i= nt imx_timerg_init(SysBusDevice *dev)
>>>
>>>  = ;    sysbus_init_irq(dev, &s->irq);
>>>  =    memory_region_init_io(&s->iomem, &imx_timerg_ops,<= br>>>> -                 &= nbsp;        s, "imxg-timer",
>>> +   =                      = ;  s, TYPE_IMX_GPT,
>>>          =                  0x00001000);=
>>>      sysbus_init_mmio(dev, &s->iomem= );
>>>
>>
>> There was some agreement that th= is is not a good change.
>
> I agree (and more so regarding th= e use of the macro in the
> vmstate name), but nobody actually posted= any comment to
> that effect against any of the versions of this pat= ch that
> got sent out for review...

Yeah, the timi= ng was bad... Can you post a revert, though?

Paolo


------=_Part_267248_1544293771.1372230485547--