[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/6 v7] target-tilegx: Firstly add TILE-Gx with
From: |
Chen Gang |
Subject: |
Re: [Qemu-devel] [PATCH 1/6 v7] target-tilegx: Firstly add TILE-Gx with minimized features |
Date: |
Sat, 21 Mar 2015 07:57:15 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 3/21/15 07:30, Peter Maydell wrote:
> On 20 March 2015 at 22:52, Chen Gang <address@hidden> wrote:
>> On 3/21/15 01:48, Peter Maydell wrote:
>>> On 20 March 2015 at 15:25, Chen Gang <address@hidden> wrote:
>>>> 10 files changed, 3523 insertions(+)
>>>
>>> If you have any patch which has a diffstat like this then
>>> you *must* split it up into separate patches. Even
>>> 1000 lines is really too long to be easily
>>> reviewable, and this patch is now over three times
>>> that size! Most patches should be 250 lines or
>>> less, really, unless they're very mechanical.
>>>
>>
>> OK, thanks. I shall try to split it into 3 patches in patch v8.
>
> Even 3 would still leave at least one of them more than 1000
> lines. I would suggest that you should be thinking more like
> turning this one into 7 or 8 patches.
>
For 'opcode_tilegx.h', it comes from Linux kernel which is already more
than 1000 lines. For me, I still suggest to let it within one patch.
For 'translate.c', I try to split it into 3 patches:
- parsing bundle and decode to the first level of pipe,
- parsing 2nd level of pipe.
- generate tcg code.
For the left files:
- 'configure', 'Makefile.obj', 'tilegx-linux-user.mak' are in a patch.
- 'cpu*' are in a patch
- 'help.*' are in a patch.
Welcome any additional ideas, and I shall try to send it within 2 days
(2015-03-22).
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed