Switchtec MRPC DMA mode support
Status from this message: I applied all these on pci/switchtec for v4.21, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changed since v1 from the cover letter
- It's a resend of v1
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | switchtec: Remove immediate status check after submit a MRPC commanddrivers/ | +0 | 0 replies | |
| 2/5 | switchtec: Set DMA coherent mask in Switchtec driverdrivers/ | +4 | 0 replies | |
| 3/5 | switchtec: A temporary variable should be used for the flags of switchtec_ioctl_event_ctldrivers/ | +3 | 2 replies | |
| 4/5 | switchtec: Improve MRPC efficiency by leveraging write combiningdrivers/ | +35 | 0 replies | |
| 5/5 | switchtec: MRPC DMA mode implementationdrivers/ include/ | +114 | 5 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Logan Gunthorpe |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Switchtec MRPC DMA mode support
Hi, Everyone,
This patch series adds support for the Switchtec MRPC DMA mode.
Switchtec switches supports 2 MRPC interaction modes: MRPC normal mode and MRPC DMA mode, a new feature in the latest firmware versions. MRPC normal mode requires the host to read the MRPC command status and output data. In MRPC DMA mode the command status and output data are pushed directly to host memory and issues an interrupt upon completion. The advantage of MRPC DMA mode is avoiding potential high latency response from the Memory Read TLP.
Additionally, we've made the following changes:
* Improve the efficiency of filling MRPC Input buffer by enabling write combining on MRPC region of BAR
* Software workaround for delay responded Memory READ TLPs that access the BAR
* And several bug fixes
Regards,
Wesley
--
Changed since v1:
- It's a resend of v1
--
Boris Glimcher (1):
switchtec: Set DMA coherent mask in Switchtec driver
Joey Zhang (1):
switchtec: A temporary variable should be used for the flags of
switchtec_ioctl_event_ctl
Kelvin Cao (2):
switchtec: Remove immediate status check after submit a MRPC command
switchtec: Improve MRPC efficiency by leveraging write combining
Wesley Sheng (1):
switchtec: MRPC DMA mode implementation
drivers/pci/switch/switchtec.c | 154 ++++++++++++++++++++++++++++++++++++----- include/linux/switchtec.h | 16 +++++ 2 files changed, 153 insertions(+), 17 deletions(-)
Signature · 1 line
2.7.4