summaryrefslogtreecommitdiff
path: root/include/linux/switchtec.h
diff options
context:
space:
mode:
authorKelvin Cao <kelvin.cao@microchip.com>2018-12-10 17:12:23 +0800
committerBjorn Helgaas <bhelgaas@google.com>2018-12-13 09:03:24 -0600
commit52d8db8e0cd7c28316514568fe5df0cfd4fa2075 (patch)
tree0c7880212afffe3b71def5162ad3804c608ed3b0 /include/linux/switchtec.h
parente4a7dca5de625018b29417ecc39dc5037d9a5a36 (diff)
switchtec: Improve MRPC efficiency by enabling write combining
The MRPC Input buffer is mostly memory without any side effects, so we can improve the access time by enabling write combining on this region of the BAR. In a few places, we still need to flush the WC buffer. To do this, we simply read from the Outbound Doorbell register because reads to this register are processed by low latency hardware. Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com> Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'include/linux/switchtec.h')
0 files changed, 0 insertions, 0 deletions