Skip to content

AMD ntb driver fixes and improvements

Arindam Nath lkml ntb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15NTB: Fix access to link status and control registerdrivers/ntb/hw/amd/ntb_hw_amd.c drivers/ntb/hw/amd/ntb_hw_amd.h+37 -40 replies
2/15NTB: clear interrupt status registerdrivers/ntb/hw/amd/ntb_hw_amd.c+3 -00 replies
3/15NTB: Enable link up and down event notificationdrivers/ntb/hw/amd/ntb_hw_amd.c+5 -00 replies
4/15NTB: define a new function to get link statusdrivers/ntb/hw/amd/ntb_hw_amd.c+50 -430 replies
5/15NTB: return the side info status from amd_poll_linkdrivers/ntb/hw/amd/ntb_hw_amd.c drivers/ntb/hw/amd/ntb_hw_amd.h+5 -80 replies
6/15NTB: set peer_sta within event handler itselfdrivers/ntb/hw/amd/ntb_hw_amd.c+4 -20 replies
7/15NTB: remove handling of peer_sta from amd_link_is_updrivers/ntb/hw/amd/ntb_hw_amd.c+0 -110 replies
8/15NTB: handle link down event correctlydrivers/ntb/hw/amd/ntb_hw_amd.c+6 -30 replies
9/15NTB: handle link up, D0 and D3 events correctlydrivers/ntb/hw/amd/ntb_hw_amd.c+6 -00 replies
10/15NTB: move ntb_ctrl handling to init and deinitdrivers/ntb/hw/amd/ntb_hw_amd.c+10 -100 replies
11/15NTB: add helper functions to set and clear sideinfodrivers/ntb/hw/amd/ntb_hw_amd.c drivers/ntb/hw/amd/ntb_hw_amd.h+37 -100 replies
12/15NTB: return link up status correctly for PRI and SECdrivers/ntb/hw/amd/ntb_hw_amd.c drivers/ntb/hw/amd/ntb_hw_amd.h+60 -50 replies
13/15NTB: remove redundant setting of DB valid maskdrivers/ntb/hw/amd/ntb_hw_amd.c+0 -20 replies
14/15NTB: send DB event when driver is loaded or un-loadeddrivers/ntb/hw/amd/ntb_hw_amd.c drivers/ntb/hw/amd/ntb_hw_amd.h+56 -20 replies
15/15NTB: add pci shutdown handler for AMD NTBdrivers/ntb/hw/amd/ntb_hw_amd.c+17 -00 replies

Reviews trailers per patch

None of the 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSanjay R Mehta
SeriesR-b
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] AMD ntb driver fixes and improvements

This patch series fixes some bugs in the existing AMD NTB driver, cleans-up code, and modifies the code to handle NTB link-up/down events. The series is based on Linus' tree,

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Arindam Nath (15):
NTB: Fix access to link status and control register
NTB: clear interrupt status register
NTB: Enable link up and down event notification
NTB: define a new function to get link status
NTB: return the side info status from amd_poll_link
NTB: set peer_sta within event handler itself
NTB: remove handling of peer_sta from amd_link_is_up
NTB: handle link down event correctly
NTB: handle link up, D0 and D3 events correctly
NTB: move ntb_ctrl handling to init and deinit
NTB: add helper functions to set and clear sideinfo
NTB: return link up status correctly for PRI and SEC
NTB: remove redundant setting of DB valid mask
NTB: send DB event when driver is loaded or un-loaded
NTB: add pci shutdown handler for AMD NTB

 drivers/ntb/hw/amd/ntb_hw_amd.c | 290 ++++++++++++++++++++++++++------
 drivers/ntb/hw/amd/ntb_hw_amd.h |   8 +-
 2 files changed, 247 insertions(+), 51 deletions(-)
Signature · 1 line
2.17.1