linux-stable/arch/s390/pci
Jason Gunthorpe f114521988 s390: use the correct count for __iowrite64_copy()
[ Upstream commit 723a2cc8d6 ]

The signature for __iowrite64_copy() requires the number of 64 bit
quantities, not bytes. Multiple by 8 to get to a byte length before
invoking zpci_memcpy_toio()

Fixes: 87bc359b98 ("s390/pci: speed up __iowrite64_copy by using pci store block insn")
Acked-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/0-v1-9223d11a7662+1d7785-s390_iowrite64_jgg@nvidia.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:41:57 +01:00
..
Makefile s390/pci: Use dma-iommu layer 2023-10-02 08:43:00 +02:00
pci.c s390: use the correct count for __iowrite64_copy() 2024-03-01 13:41:57 +01:00
pci_bus.c s390/pci: Use dma-iommu layer 2023-10-02 08:43:00 +02:00
pci_bus.h PCI: s390: Fix use-after-free of PCI resources with per-function hotplug 2023-03-13 09:15:11 +01:00
pci_clp.c s390/pci: use builtin_misc_device macro to simplify the code 2023-08-23 14:37:42 +02:00
pci_debug.c s390/pci: Use dma-iommu layer 2023-10-02 08:43:00 +02:00
pci_event.c s390/pci: Use dma-iommu layer 2023-10-02 08:43:00 +02:00
pci_insn.c KVM: s390: pci: provide routines for enabling/disabling interrupt forwarding 2022-07-11 09:54:32 +02:00
pci_iov.c s390/pci: add missing pci_iov.h include 2020-09-16 14:08:47 +02:00
pci_iov.h s390/pci: consolidate SR-IOV specific code 2020-09-14 11:38:34 +02:00
pci_irq.c s390: fix various typos 2023-07-03 11:19:42 +02:00
pci_kvm_hook.c KVM: s390: pci: Hook to access KVM lowlevel from VFIO 2022-08-29 13:29:28 +02:00
pci_mmio.c s390/pci: fix max size calculation in zpci_memcpy_toio() 2024-01-25 15:45:26 -08:00
pci_sysfs.c s390/pci: Use dma-iommu layer 2023-10-02 08:43:00 +02:00