From: Paul Mackerras <paulus@samba.org>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: linux-arch@vger.kernel.org
Subject: Re: Accessing memory remote across the bus in the same way as local memory
Date: Sat, 19 Jun 2004 14:05:48 +1000 [thread overview]
Message-ID: <16595.48028.925656.212915@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1087601198.2134.206.camel@mulgrave>
James Bottomley writes:
> The question has come up [in the DMA API issues thread on lkml] of
> whether we can access on chip memory areas as though they were normal
> memory (i.e. use normal reads and writes to access it).
>
> The memory regions in question would have to be accessible via MMIO
> cycles on the bus and be aligned and sized as multiples of PAGE_SIZE.
>
> The question is given the constraints, can we pull page table tricks on
> every platform to make this bus remote memory look like real memory?
Not on iSeries machines (ppc64 machines running OS/400). There we
have to do a hypervisor call for every access to PCI memory or I/O
space, unfortunately. Fortunately people don't tend to put arbitrary
PCI adaptors in iSeries boxes, and they don't run X servers. Linux
partitions on iSeries machines are mostly used for things like
firewalls and web servers.
What did you want to be able to do this for? It probably isn't the
end of the world if whatever you want to do with this doesn't work on
iSeries.
Paul.
next prev parent reply other threads:[~2004-06-19 4:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-18 23:26 Accessing memory remote across the bus in the same way as local memory James Bottomley
2004-06-18 23:32 ` David S. Miller
2004-06-18 23:43 ` James Bottomley
2004-06-19 4:05 ` Paul Mackerras [this message]
2004-06-19 14:02 ` James Bottomley
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=16595.48028.925656.212915@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=James.Bottomley@steeleye.com \
--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