Skip to content

NVMe PCI endpoint target fixes

Damien Le Moal linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvmet: pci-epf: Always fully initialize completion entriesdrivers/nvme/target/pci-epf.c+2 -04 replies
2/3nvmet: pci-epf: Clear CC and CSTS when disabling the controllerdrivers/nvme/target/pci-epf.c+32 -176 replies
3/3nvmet: pci-epf: Cleanup link state managementdrivers/nvme/target/pci-epf.c+8 -63 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKeith BuschNiklas CasselSagi Grimberg
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] NVMe PCI endpoint target fixes

Two bug fix patch and one cleanup patch in this series.

The first patch fixes an issue with completion queue entries initialization in the case of failed commands.

The second patch fixes
the initialization of the CC register to ensure that we can always detect that the host is attempting to enable the controller (with CC.EN).

The last patch cleans up/simplifies the management of the PCI link state.

Damien Le Moal (3):
nvmet: pci-epf: Always fully initialize completion entries
nvmet: pci-epf: Clear CC and CSTS when disabling the controller
nvmet: pci-epf: Cleanup link state management

 drivers/nvme/target/pci-epf.c | 65 ++++++++++++++++++++++-------------
 1 file changed, 42 insertions(+), 23 deletions(-)
Signature · 1 line
2.49.0