Regarding consistent_alloc

acurtis at directvinternet.com acurtis at directvinternet.com
Wed Dec 11 14:52:40 EST 2002


> > 2. I have a requirement to have my drivers loaded as modules.
> > m8xx_cpm_hostalloc has a very simplistic implementation, which
> > makes it unsuitable for something like that. I have some patches
> > that fix both m8xx_cpm_hostalloc and 8xx_cpm_dpalloc by implementing
> > a proper heap, with free space management and coalescing.
> > What is the proper way to push them, and to whom?
>
> <buck passing mode=on>Dan Malek still knows the most about the
> 8xx-specific portions of the kernel, so he should really speak up here
> when he gets a moment</buck passing>

m8xx_cpm_hostalloc(), if it is anything like the 8260 version, enables you
to allocation memory from dual-port RAM. (which could be handy and/or
required for certain CPM related operations) _va() and _pa() only work for
main memory addresses. For all other address ranges the iopa() function must
be used. (I hope this is helpful)

With that said, I would be interested in your modifications if you are
willing to share.

THX


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list