Messages in this thread | | | Date | Tue, 14 Apr 2020 14:47:12 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 3/4] dma-mapping: add a dma_ops_bypass flag to struct device |
| |
On Tue, Apr 14, 2020 at 02:25:05PM +0200, Christoph Hellwig wrote: > Several IOMMU drivers have a bypass mode where they can use a direct > mapping if the devices DMA mask is large enough. Add generic support > to the core dma-mapping code to do that to switch those drivers to > a common solution. > > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > include/linux/device.h | 6 ++++ > kernel/dma/mapping.c | 70 +++++++++++++++++++++++++++++------------- > 2 files changed, 55 insertions(+), 21 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |