linux/drivers/nvme/host
Minwoo Im fd1c1de8c4 nvme: free sq/cq dbbuf pointers when dbbuf set fails
[ Upstream commit 0f0d2c876c ]

If Doorbell Buffer Config command fails even 'dev->dbbuf_dbs != NULL'
which means OACS indicates that NVME_CTRL_OACS_DBBUF_SUPP is set,
nvme_dbbuf_update_and_check_event() will check event even it's not been
successfully set.

This patch fixes mismatch among dbbuf for sq/cqs in case that dbbuf
command fails.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-02 08:48:09 +01:00
..
core.c nvme-core: put ctrl ref when module ref get fail 2020-10-14 10:31:22 +02:00
fabrics.c nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance 2020-09-17 13:45:25 +02:00
fabrics.h
fault_inject.c
fc.c nvme-fc: fail new connections to a deleted host or remote port 2020-10-07 08:00:07 +02:00
Kconfig
lightnvm.c lightnvm: do no update csecs and sos on 1.2 2019-11-24 08:20:51 +01:00
Makefile
multipath.c nvme-multipath: do not reset on unknown status 2020-10-01 13:14:40 +02:00
nvme.h nvme: explicitly update mpath disk capacity on revalidation 2020-10-01 13:14:49 +02:00
pci.c nvme: free sq/cq dbbuf pointers when dbbuf set fails 2020-12-02 08:48:09 +01:00
rdma.c nvme-rdma: fix crash when connect rejected 2020-11-05 11:08:45 +01:00
trace.c
trace.h