Re: New linux arch

From: Bryan Wu
Date: Tue Jan 08 2008 - 03:28:30 EST


On Jan 7, 2008 7:29 PM, Michal Simek <simekm2@xxxxxxxxxxx> wrote:
> Hi all,
>
> I redesigned all files for microblaze cpu (xilinx fpga).
> All code is FDT compatible.
>
> I would like to ask you what is the best way to push these changes to
> kernel.org.
>

Welcome to the home of kernel.
I remember Blackfin maybe is the most recently new arch accept by
kernel mainline. So maybe some information can be shared with you
guys.


> I would like to know step by step how to do.
>

1. Push patches to LKML when merge window open (2 weeks after a stable
kernel version release, for example 2 weeks after 2.6.24 released)

2. Patches will be reviewed by kernel gurus and please update your
patches according to their comments. (It will take some time to get
ack from them -:)) ).

3. Reviewed patches will be accept to -mm tree by Andrew. (And please
do development and updates based on -mm tree)

4. After one or more development cycle, the patches will be sent to
Linus to merge into mainline kernel at another merge window.

5. Use GIT to maintain the Microblaze subsystem development and you
can apply an account on kernel.org. Then setup a public GIT tree for
Linus pull and development.

> I have some question about.
>
> I have changes in my internal git repository. I don't have public git
> repository.
> Is it possible to create git repository in git.kernel.org for Microblaze
> cpu?
>

Currently no need public git tree, after it is merged into mainline,
you can apply one for maintaining and development.

> What are maintainers responsibilities? Do you have any page about?
> I am U-BOOT maintainer at denx.de and I hope that the responsibilities
> will be similar.
>

IMO, maintainer of one subsystem should review all the patches related
your subsystem,
test the patches at real hardware, fix bugs and send them to upstream
mainline at the right time.

> How many maintainers are acceptable? (one or more)
>

It depends on your internal development style. There is a team in
Analog Devices for Blackfin Linux development.
But I am responsible for kernel maintaining currently.

> I checked whole code with checkpatch.pl script to avoid code violations.
> I hope I resolve the most of coding style problems.
>

Yes, passing checkpatch.pl is required by LKML.

> I see the right way to push all changes to public git repository and
> then send patches in small logical group to LKML with CC to people from
> microblaze community.
>

No, please send out all your patches to LKML and CC to Microblaze world.
People from LKML will review your patches.

> And then wait for comments from you, solve problems, update git
> repository and send changes again.
>
No. update your patches and send the patches to LKML again.
GIT pull is only validated after your patches are in mainline.

Thanks
Regards,
-Bryan Wu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/