ioremap on powerpc question
Cameron, Steve
Steve.Cameron at hp.com
Thu Jul 18 08:39:24 EST 2002
I wrote:
> Hmm, I continue to have difficulties...
>
> Matt Porter wrote:
> > On Mon, Jul 15, 2002 at 01:58:21PM -0500, Cameron, Steve wrote:
> > > It blows up with a machine check.
[...]
> > Try this patch:
[...]
> when I attempt to DMA into the physical address with my PCI device,
> it is as if the DMA never occurs. Prior to the DMA, I fill the
> buffer with 0x55's, and after the DMA, the 0x55's are still there.
[...].
>
> BTW, my device seems happy with the physical addresses I pass it,
[...]
And now I see, I have (at least) two errors, one hiding the other. In fact
my PCI device was _not_ happy with those addresses at all, (because they
were wrong, I botched the swapping) and also my code to check for this device's
unhappiness happened to be broken...
So, now I think ioremap is likely now working with this patch.
Thanks, and sorry for all the noise.
(still not sure about my problems with alloc_bootmem_pages, but
not too worried about it now.)
-- steve
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list