[PATCH] qe_lib: Remove immrbar_virt_to_phys() function

Kumar Gala galak at kernel.crashing.org
Tue Oct 31 16:05:42 EST 2006


On Oct 30, 2006, at 8:56 PM, Li Yang-r58472 wrote:

>>>> I'm confused, if there are other users of immrbar_virt_to_phy() how
>>>> can you get ride of it completely?
>>>
>>> Other users will change to use iopa() instead.  There was some bug
> to
>>> use iopa() with io_block_mapping area, but it is ok to use it now.
>>
>> Hmm, what are the other users doing?  I think we should avoid using
>> iopa.
>
> Get physical address from virtual address.  I have considered to use
> virt_to_phys(), but it is not consistent between ppc and powerpc arch.

Why does that matter, qe support only exists in powerpc.

- k




More information about the Linuxppc-dev mailing list