Comment 6 for bug 525273

Revision history for this message
In , Phelps (phelps) wrote :

Brian: Yes, I am using a 64-bit system.

TTM_PAGE_FLAG_DMA32 is used only by ttm_tt_alloc_page(), where it causes alloc_page() to be called with the __GFP_DMA32 flag set. This is supposed to cause it to return only pages in the first 4GB of RAM, so I'm baffled as to why it's breaking anything.

FWIW, I only have 4GB of RAM in the machine, so in theory all of it could be safe for 32-bit DMA.

I note that you're also using an x86-64 CPU, and I'd be curious to know if the patch in comment #4 helps you. If not, I should open a new bug report.

Thanks,
-Ted