On 12/9/24 11:33 PM, Christoph Hellwig wrote: > On Mon, Dec 09, 2024 at 02:23:59PM -0500, Matthew Rosato wrote: >> PCI devices on s390 have a DMA offset that is reported via CLP. In >> preparation for allowing identity domains, enable ARCH_HAS_PHYS_TO_DMA >> for s390 and get the dma offset for all PCI devices from the reported >> CLP value. > > Nothing new should select ARCH_HAS_PHYS_TO_DMA, please fill out the > bus_dma_region attached to the device instead. > OK, thanks for the pointer. I think I've got it converted, will test some more and include this change in next version.