Re: [Dri-devel] PPC Lockup (ati-pcigart-branch)

From
Roman Zippel <hidden>
Date
2001-01-22 22:31:11
Reply to
Dan Malek, 2001-01-22
Hi,

On Mon, 22 Jan 2001, Dan Malek wrote:
quoted
......  Currently there is no kernel function to do
this explicitly
I'm working on that.  The PowerPC port cheated by using BATs and
trivial macros, but this doesn't work on some of the newer processors
and more complex applications.  Other architectures did the same, and
I am surprised there aren't generic kernel functions to track down this
information.  In fact, these functions are already present for 4xx and
8xx processors, so don't write anything new.
AFAIK such tricks are used for mapping normal (low) memory and ioremapped
areas. For normal memory you can use phys_to_virt()/virt_to_phys() and for
ioremapped memory, you have to store the physical and virtual address
yourself. What am I missing?

bye, Roman


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Thread (54 messages) 54 messages, 14 authors, last reply 2001-01-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help