WSL2-Linux-Kernel/drivers/nvme
Ming Lei 04d2c9a6cb nvme-pci: fix DMA direction of unmapping integrity data
[ Upstream commit b8f6446b68 ]

DMA direction should be taken in dma_unmap_page() for unmapping integrity
data.

Fix this DMA direction, and reported in Guangwu's test.

Reported-by: Guangwu Zhang <guazhang@redhat.com>
Fixes: 4aedb70543 ("nvme-pci: split metadata handling from nvme_map_data / nvme_unmap_data")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:47:46 +02:00
..
host nvme-pci: fix DMA direction of unmapping integrity data 2023-07-23 13:47:46 +02:00
target nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage" 2023-05-11 23:00:28 +09:00
Kconfig
Makefile