Home
last modified time | relevance | path

Searched hist:df057c914a9c219ac8b8ed22caf7da2f80c1fe26 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/s390/pci/
H A Dpci.cdiff df057c914a9c219ac8b8ed22caf7da2f80c1fe26 Thu Feb 27 12:17:18 CET 2020 Niklas Schnelle <schnelle@linux.ibm.com> s390/pci: Fix unexpected write combine on resource

In the initial MIO support introduced in

commit 71ba41c9b1d9 ("s390/pci: provide support for MIO instructions")

zpci_map_resource() and zpci_setup_resources() default to using the
mio_wb address as the resource's start address. This means users of the
mapping, which includes most drivers, will get write combining on PCI
Stores. This may lead to problems when drivers expect write through
behavior when not using an explicit ioremap_wc().

Cc: stable@vger.kernel.org
Fixes: 71ba41c9b1d9 ("s390/pci: provide support for MIO instructions")
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>