public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* Trying to understand ppc4xx_configure_pciex_PIMs mapping to physical address 0
@ 2008-12-12 16:49 Ayman El-Khashab
  2008-12-12 21:50 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Ayman El-Khashab @ 2008-12-12 16:49 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

I am using the ppc460ex as an endpoint and I see that the mentioned
function setups a 32Mb
window at address 0 in sdram.  what i want is some memory that the host
can read/write to.
But the 32Mb that are already mapped at the bottom of ram, so it would
not be good do writes
to those addresses.  Am I missing something?  My driver right now is not
touching the PIM 
registers.
 
So is the right way to do this to change the PIM registers after I get a
buffer in the kernel -- or
something else?
 
How would I make sure that it was aligned on a 32Mb boundry per the 44x
requirements?  
 
thanks
ayman

[-- Attachment #2: Type: text/html, Size: 2106 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-12 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-12 16:49 Trying to understand ppc4xx_configure_pciex_PIMs mapping to physical address 0 Ayman El-Khashab
2008-12-12 21:50 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox