linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Jonas Bonn <jonas@southpole.se>
Cc: linux-arch@vger.kernel.org
Subject: Re: [PATCH 1/1] Add new syscall sys_sendmmsg to generic unistd
Date: Sun, 29 May 2011 20:27:10 +0200	[thread overview]
Message-ID: <201105292027.10350.arnd@arndb.de> (raw)
In-Reply-To: <1306619746.3001.977.camel@localhost>

On Saturday 28 May 2011 23:55:46 Jonas Bonn wrote:
> On Sat, 2011-05-28 at 23:24 +0200, Arnd Bergmann wrote:
> > I just saw your git tree for the OpenRISC architecture port and it
> > looks really really nice, mostly by virtue of being very small, but
> > also by not copying all the things that new architecture ports normally
> > get wrong at the time when they show up on my radar.
> 
> > Do you plan to submit it upstream any time soon?
> 
> Yes, it's pretty much ready for submission.  There are a couple of areas
> that I'm aware of that still need some work and there are some cleanups
> to do, but everything that faces userspace (ABI) has settled so it's
> stuff that could be done even after merging upstream.

Ok, great! Please submit them as soon as possible, while there is time
before the next merge window.

> What would be the best approach to request review?  I saw that the
> unicore32 architecture was posted in 'functional/subsystem' chunks... is
> that the best way to do it?  Shall I do the same, or do you have a
> suggestion for a better way to do it?

Yes, that is the best way. At first, leave out any device driver changes,
and submit only the code you need to have something that boots. Split
that up into around 15 patches, e.g.

* boot code
* memory management
* user interface
* platform support
* ptrace
* signal handling
* ...

It's ok if these are of very different size, the most important point
in the split is to do it in a way that most reviewers only need to
look at the few patches that they are interested in.

You can simultaneously start submitting device driver changes to the
respective subsystem mailing lists (netdev, spi, ...), those do not
need to be posted to linux-arch.

When you submit the patches, use git-send-email --no-chain-reply --thread
and put a good summary in the introductory mail, describing any changes
you still plan to do, and changes you have done since the previous
submission.

A few minor things that you might still want to do (or list them as TODO)
are:

* fold the board/config.c file into kernel/setup.c.

* replace trivial files in openrisc/include/asm/ with "generic-y += foo.h"
  entries in asm/Kbuild

* use CONFIG_GENERIC_CSUM instead of providing your own implementation

* remove all __ARCH_WANT_* from asm/unistd.h and use the generic glibc
  implementation.

* Figure out what the dma-mapping implementation should look like.
  It seems to me that you just copied from microblaze but didn't
  completely understand what you need. We can definitely help you here
  if you can explain how DMA works on openrisc. In doubt, don't
  set CONFIG_HAS_DMA and use asm-generic/dma-mapping-broken.h.

	Arnd

  reply	other threads:[~2011-05-29 18:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 20:19 [PATCH 1/1] Add new syscall sys_sendmmsg to generic unistd Jonas Bonn
2011-05-28 21:24 ` Arnd Bergmann
2011-05-28 21:55   ` Jonas Bonn
2011-05-29 18:27     ` Arnd Bergmann [this message]
2011-05-29 21:30       ` Jonas Bonn
2011-05-29 21:57         ` Arnd Bergmann
     [not found]         ` <tOr60tkHMHA.716@exchange1.tad.internal.tilera.com>
2011-06-01 20:15           ` Chris Metcalf

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=201105292027.10350.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=jonas@southpole.se \
    --cc=linux-arch@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;
as well as URLs for NNTP newsgroup(s).