From: Grant Grundler <grundler@parisc-linux.org>
To: Joel Soete <soete.joel@scarlet.be>
Cc: Grant Grundler <grundler@parisc-linux.org>,
linux-parisc <linux-parisc@vger.kernel.org>,
Helge Deller <deller@gmx.de>, kyle <kyle@mcmartin.ca>
Subject: Re: Yet another inline asm worry: mtsp() macro (and may be other)?
Date: Sun, 22 Jun 2008 11:15:42 -0600 [thread overview]
Message-ID: <20080622171542.GA31925@colo.lackof.org> (raw)
In-Reply-To: <485ABAFE.2010504@scarlet.be>
On Thu, Jun 19, 2008 at 08:01:02PM +0000, Joel Soete wrote:
...
>> We could. But I thought there are cases were we might want to DMA to/from
>> user space directly and that's why Space ID is a parameter.
>
> Ok but it was a BUG if temporary space reg is not 0, so???
It was a BUG in 2.4 kernels since 2.4 didn't have the VM support
to do DMA to/from user space.
I thought 2.6 kernels could DMA to/from user space (related to Direct IO).
> btw system seems to boot too with asm volatile("mtsp
> %%r0,%%sr1":::"memory")
> may be the cpp can catch in the mtsp(gr, cr) macro if gr==0 then I can use
> this insn if not the original macro???
Yes. I like willy's proposed patch for this.
thanks,
grant
next prev parent reply other threads:[~2008-06-22 17:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 11:40 Yet another inline asm worry: mtsp() macro (and may be other)? Joel Soete
2008-06-19 16:11 ` Grant Grundler
2008-06-19 20:01 ` Joel Soete
2008-06-22 17:15 ` Grant Grundler [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-20 14:01 Joel Soete
2008-06-20 17:11 ` Matthew Wilcox
2008-06-21 19:17 ` rubisher
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=20080622171542.GA31925@colo.lackof.org \
--to=grundler@parisc-linux.org \
--cc=deller@gmx.de \
--cc=kyle@mcmartin.ca \
--cc=linux-parisc@vger.kernel.org \
--cc=soete.joel@scarlet.be \
/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