]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/pci: store DMA offset in bus_dma_region
authorMatthew Rosato <mjrosato@linux.ibm.com>
Wed, 12 Feb 2025 21:34:16 +0000 (16:34 -0500)
committerJoerg Roedel <jroedel@suse.de>
Fri, 21 Feb 2025 11:01:58 +0000 (12:01 +0100)
commitd236843a6964dc5a55dbafa5cfae63bc99cf10f8
treebe286b34289dc2cc2b720b4fbff0b6654f087688
parent6d52cb738a98df6d5a91d96ce5bc557d24343964
s390/pci: store DMA offset in bus_dma_region

PCI devices on s390 have a DMA offset that is reported via CLP.  In
preparation for allowing identity domains, setup the bus_dma_region
for all PCI devices using the reported CLP value.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20250212213418.182902-3-mjrosato@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/s390/pci/pci_bus.c