mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Guan Xuetao" <guanxuetao@mprc.pku.edu.cn>
To: "'Arnd Bergmann'" <arnd@arndb.de>
Cc: <linux-arch@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] Unicore architecture patch review, part 2
Date: Mon, 13 Dec 2010 15:14:50 +0800	[thread overview]
Message-ID: <005f01cb9a95$74e30230$5ea90690$@mprc.pku.edu.cn> (raw)
In-Reply-To: <201012101410.37537.arnd@arndb.de>



> -----Original Message-----
> From: linux-arch-owner@vger.kernel.org [mailto:linux-arch-owner@vger.kernel.org] On Behalf Of Arnd Bergmann
> Sent: Friday, December 10, 2010 9:11 PM
> To: Guan Xuetao
> Cc: linux-arch@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] Unicore architecture patch review, part 2
> 
> On Thursday 09 December 2010, Guan Xuetao wrote:
> > > Did I misunderstand you or did you make up your mind since then?
> > >
> > We do define new 32-bit ABI work at present, and I will use generic unistd
> > in new ABI.
> > But existing machines must be maintained, so many codes need remain
> > compatibility.
> 
> Ok, I see.
> 
> I would suggest a slightly different approach here as a compromise:
> 
> Make a patch that contains the difference between the backwards-compatible
> and the new ABI. With this, you can run the backwards-compatible
> ABI internally, but send our the new ABI for inclusion in the mainline
> kernel. Send out the patch between the two along with the other
> patches and make it clear that you still depend on this patch but that
> it is not meant to be included.
Ok, it's nice. I will build new glibc and busybox to test new ABI.

> 
> Nothing stops you from using the old ABI as long as you want to, since
> you can always put the patch on top of any upstream kernel when you
> make a system image. It is quite normal to have a few patches required
> to get a working kernel, although of course everyone tries to keep these
> to a minimum.
> 
> It is probably also a good time for you to start learning about managing
> patches for a submission. Everyone does this a bit differently, but
> there two basic tools that most people use:
> 
> * Quilt is a simple tool that manages plain files with patches that
>   apply on top of each other. You can easily modify patches in the middle,
>   keep a patch description for each one and reorder the patches. It
>   is mostly compatible with git-send-email for submitting the patches
>   to the mailing list. Typically, you will want to use the quilt series
>   in combination with a sourcecode management tool like git, in order to
>   keep a history of what you have done.
> 
> * Git can do everything that quilt does, besides doing many other things
>   as well. The most important sub-command to learn here is 'git rebase -i',
>   which lets you reorder changeset and insert or delete changesets in the
>   middle of a branch. It takes somewhat longer to be productive with git
>   rebase than with quilt, but I personally find it much more reliable.
> 
> stgit is a tool that tries to combine the features of quilt and git, but
> as far as I can tell, most users have moved on to just using git by itself.
> 
Thanks.

Guan Xuetao


      reply	other threads:[~2010-12-13  7:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30 16:54 Arnd Bergmann
2010-12-08 10:14 ` Guan Xuetao
2010-12-08 12:53   ` Arnd Bergmann
2010-12-09  3:37     ` Guan Xuetao
2010-12-10 13:10       ` Arnd Bergmann
2010-12-13  7:14         ` Guan Xuetao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005f01cb9a95$74e30230$5ea90690$@mprc.pku.edu.cn' \
    --to=guanxuetao@mprc.pku.edu.cn \
    --cc=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®