On Thu, Feb 04, 2021 at 08:30:28PM +0100, Christoph Hellwig wrote: > From: Jianxiong Gao <jx...@google.com> > > Some devices rely on the address offset in a page to function > correctly (NVMe driver as an example). These devices may use > a different page size than the Linux kernel. The address offset > has to be preserved upon mapping, and in order to do so, we > need to record the page_offset_mask first. > > Signed-off-by: Jianxiong Gao <jx...@google.com> > Signed-off-by: Christoph Hellwig <h...@lst.de> > --- > include/linux/device.h | 1 + > include/linux/dma-mapping.h | 16 ++++++++++++++++ > 2 files changed, 17 insertions(+)
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu