s390: use the correct count for __iowrite64_copy()
authorJason Gunthorpe <jgg@nvidia.com>
Sat, 17 Feb 2024 00:48:14 +0000 (20:48 -0400)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 21 Feb 2024 14:07:46 +0000 (15:07 +0100)
commit723a2cc8d69d4342b47dfddbfe6c19f1b135f09b
tree491c908b186057e03ae0ad087a42c1faab6407ff
parent124468af7e769a52d27c3290007ac6e2ba346ccd
s390: use the correct count for __iowrite64_copy()

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: 87bc359b9822 ("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>
arch/s390/pci/pci.c