From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3A6CCF31.C44706E2@mvista.com> Date: Mon, 22 Jan 2001 19:24:17 -0500 From: Dan Malek MIME-Version: 1.0 To: Roman Zippel CC: Jeff Hartmann , michdaen@iiic.ethz.ch, Benjamin Herrenschmidt , Gareth Hughes , linuxppc-dev@lists.linuxppc.org, dri-devel@lists.sourceforge.net, Paul Mackerras Subject: Re: [Dri-devel] PPC Lockup (ati-pcigart-branch) References: Content-Type: text/plain; charset=us-ascii Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Roman Zippel wrote: > 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? The PowerPC port, except for a couple of processors (4xx and 8xx again) could never use virt_to_phys on any dynamically allocated (vmalloc()'ed) space. All of the drivers/devices that used these macros were using ioremapped() or static buffers. Perhaps the PCI mapping functions are implementing some of this, and I need to take a look. -- Dan ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/