Re: [PATCH 2/6] s390: enable ARCH_HAS_PHYS_TO_DMA
From: Christoph Hellwig
Date: Mon Dec 09 2024 - 23:33:30 EST
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.