qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 05/11] pxa2xx_pic: update to use qdev and arm-pi


From: andrzej zaborowski
Subject: Re: [Qemu-devel] [PATCH 05/11] pxa2xx_pic: update to use qdev and arm-pic
Date: Fri, 11 Feb 2011 02:20:26 +0100

On 31 January 2011 16:20, Dmitry Eremin-Solenikov <address@hidden> wrote:
> pxa2xx_pic duplicated some code from arm-pic. Drop it, replacing with
> references to arm-pic. Also use qdev/sysbus framework to handle
> pxa2xx-pic.

The duplication involves about 4 lines of code, at this level I
strongly prefer to not add a level of calls that can't be inlined in a
fast path.  I guess the choice not to involve arm_pic was conscious.

Otherwise this patch and all the remaining patches look good to me,
except some minor remarks:

In patch 6 I'd prefer not to call qdev_get_gpio_in in
pxa2xx_rtc_int_update and similarly in patch 10 in
mst_fpga_update_gpio, let's store the irq's in the state struct.

I also prefer not to make lines shorter than 80 chars longer, they
wrap on my netbook.

I pushed patches 1-3.

Cheers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]