Thread (1 message) 1 message, 1 author, 2001-03-22

Re: Proposed new kernel noncaching memory allocator for the 405gp

From: <hidden>
Date: 2001-03-22 22:06:00

On Thu, Mar 22, 2001 at 04:23:44PM -0500, Dan Malek wrote:
Ralph Blach wrote:
quoted
Yes, but these allocate on a page boundry and I was thinking of something a
little more granular.
You can only control cache behavior on page boundaries at best, and
from the few drivers I have looked at, this is exactly what they
expect.
In the ppc405_enet driver both the Tx & Rx Desc Tables need to be
4kb aligned but only 130 bytes of the 2 pages are used. The max
the chip will even try to use is around 1k of the 8k.

If other chips don't need the 4k alignment requirement for their
data it would be a win to provide uncached mem from the same 2
pages needed for the enet chip.

--
Andrew May

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help