From: Jonas Bonn <jonas@southpole.se>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arch@vger.kernel.org
Subject: Re: [PATCH 1/1] Add new syscall sys_sendmmsg to generic unistd
Date: Sun, 29 May 2011 23:30:24 +0200 [thread overview]
Message-ID: <1306704624.3001.1206.camel@localhost> (raw)
In-Reply-To: <201105292027.10350.arnd@arndb.de>
[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]
On Sun, 2011-05-29 at 20:27 +0200, Arnd Bergmann wrote:
> 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.
>
> <snip>
Thanks for the thorough instructions... much appreciated.
I'll see if I can get this sorted out during this week.
>
> * remove all __ARCH_WANT_* from asm/unistd.h and use the generic glibc
> implementation.
I tried this earlier but ran into issues with uClibc, which is the only
libc port that we currently have. Is uClibc known to be compatible with
the reduced set of syscalls?
A good compromise here may be to submit the patch upstream with the
reduced set of syscalls but to maintain a separate tree locally that
reenables these for use with our current uClibc port until we can get it
straightened out. It would be good to know, however, what's known to be
working for others in this area...
>
> * 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.
>
Yes, exactly... this was on the TODO list of cleanups. I'll admit that
I was confused by this code so I may be asking for some help in this
area.
/Jonas
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-05-29 21:30 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
2011-05-29 21:30 ` Jonas Bonn [this message]
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=1306704624.3001.1206.camel@localhost \
--to=jonas@southpole.se \
--cc=arnd@arndb.de \
--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).