linux/Documentation/features
Niklas Schnelle b02002cc4c s390/pci: Implement ioremap_wc/prot() with MIO
With our current support for the new MIO PCI instructions, write
combining/write back MMIO memory can be obtained via the pci_iomap_wc()
and pci_iomap_wc_range() functions.
This is achieved by using the write back address for a specific bar
as provided in clp_store_query_pci_fn()

These functions are however not widely used and instead drivers often
rely on ioremap_wc() and ioremap_prot(), which on other platforms enable
write combining using a PTE flag set through the pgrprot value.

While we do not have a write combining flag in the low order flag bits
of the PTE like x86_64 does, with MIO support, there is a write back bit
in the physical address (bit 1 on z15) and thus also the PTE.
Which bit is used to toggle write back and whether it is available at
all, is however not fixed in the architecture. Instead we get this
information from the CLP Store Logical Processor Characteristics for PCI
command. When the write back bit is not provided we fall back to the
existing behavior.

Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-09-14 10:30:07 +02:00
..
core RISC-V Patches for the 5.9 Merge Window, Part 1 2020-08-07 10:11:12 -07:00
debug A handful of obvious fixes that wandered in during the merge window. 2020-08-13 13:57:45 -07:00
io/dma-contiguous arch: remove unicore32 port 2020-07-01 12:09:13 +03:00
locking A handful of obvious fixes that wandered in during the merge window. 2020-08-13 13:57:45 -07:00
perf arch: remove unicore32 port 2020-07-01 12:09:13 +03:00
sched powerpc updates for 5.9 2020-08-07 10:33:50 -07:00
scripts Documentation/features: Add script that refreshes the arch support status files in place 2018-05-08 09:27:12 -06:00
seccomp/seccomp-filter Xtensa updates for v5.9: 2020-08-06 10:07:40 -07:00
time A handful of obvious fixes that wandered in during the merge window. 2020-08-13 13:57:45 -07:00
vm s390/pci: Implement ioremap_wc/prot() with MIO 2020-09-14 10:30:07 +02:00
arch-support.txt Documentation/features: Explain kernel feature descriptions and add visualization script 2015-06-03 12:59:38 +02:00
list-arch.sh Documentation/features: Allow comments in arch features files 2018-02-11 12:18:50 +01:00