DMA on stack?

Pete Zaitcev zaitcev at redhat.com
Tue Nov 13 14:14:54 EST 2007


On Tue, 13 Nov 2007 10:09:58 -0500, Dan Williams <dcbw at redhat.com> wrote:
> On Tue, 2007-11-13 at 16:10 +0100, Oliver Neukum wrote:

> > has anybody verified that this code: (if_usb.c::if_usb_suspend)

> > 		libertas_prepare_and_send_command(priv,
> > 				CMD_MESH_ACCESS,
> > 				CMD_ACT_MESH_SET_AUTOSTART_ENABLED,
> > 				CMD_OPTION_WAITFORRSP, 0, (void *)&mesh_access);
> > 
> > does not do DMA on the stack?
> 
> I don't think so, no.

XO uses an x86 compatible non-SMP AMD CPU, so there's no problem with
DMA to stack. If they had an SMP x86_64 or ARM, they'd find this
in 5 minutes. BTW, where did you find that? I'd like to have a look
too due to issues with the disconnect dwmw2 mentioned the other day.
Marcelo only showed me fragments.

-- Pete



More information about the libertas-dev mailing list