Message ID | 20220630033302.3183-1-schmitzmic@gmail.com |
---|---|
Headers | show |
Series | Converting m68k WD33C93 drivers to DMA API | expand |
Michael, > This series was precipitated by Arnd removing CONFIG_VIRT_TO_BUS. The > m68k WD33C93 still used virt_to_bus to convert virtual addresses to > physical addresses suitable for the DMA engines (note m68k does not > have an IOMMU and uses a direct mapping for DMA addresses). Applied to 5.20/scsi-staging, thanks!
On Thu, 30 Jun 2022 15:32:59 +1200, Michael Schmitz wrote: > This series was precipitated by Arnd removing CONFIG_VIRT_TO_BUS. The > m68k WD33C93 still used virt_to_bus to convert virtual addresses to > physical addresses suitable for the DMA engines (note m68k does not > have an IOMMU and uses a direct mapping for DMA addresses). > > Arnd suggested to use dma_map_single() to set up dma mappings instead > of open-coding much the same in every driver dma_setup() function. > > [...] Applied to 5.20/scsi-queue, thanks! [1/3] scsi - a3000.c: convert m68k WD33C93 drivers to DMA API https://git.kernel.org/mkp/scsi/c/e214806d52b8 [2/3] scsi - a2091.c: convert m68k WD33C93 drivers to DMA API https://git.kernel.org/mkp/scsi/c/479accbbb839 [3/3] scsi - gvp11.c: convert m68k WD33C93 drivers to DMA API https://git.kernel.org/mkp/scsi/c/158da6bcae7a