On Tue, Aug 18, 2020 at 12:44:03PM -0700, David Awogbemila wrote: > From: Catherine Sullivan <csu...@google.com> > > Add the dma_mask register and read it to set the dma_masks. > gve_alloc_page will alloc_page with: > GFP_DMA if priv->dma_mask is 24, > GFP_DMA32 if priv->dma_mask is 32.
This needs reviewing by somebody who knows this stuff. My limited understanding is the core should take care of most of this, so long as you tell it of any device restrictions. Andrew