[PATCH v2 0/3] NVMe PCI endpoint target fixes
Damien Le Moal
dlemoal at kernel.org
Thu Apr 10 18:42:08 PDT 2025
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.
Changes from v1:
- Patch 1: Add comments explaining iwhy the cqe needs to be initialized
and also add setting the cqe sq_head field.
- Fixed typos in patch 2 commit message
- Added review tags to patch 3
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 | 88 +++++++++++++++++++++++------------
1 file changed, 58 insertions(+), 30 deletions(-)
--
2.49.0
More information about the Linux-nvme
mailing list