1
0
Fork 0
alistair23-linux/drivers/ntb
Kaige Li 13153509d8 NTB: hw: amd: fix an issue about leak system resources
[ Upstream commit 44a0a3c179 ]

The related system resources were not released when pci_set_dma_mask(),
pci_set_consistent_dma_mask(), or pci_iomap() return error in the
amd_ntb_init_pci() function. Add pci_release_regions() to fix it.

Fixes: a1b3695820 ("NTB: Add support for AMD PCI-Express Non-Transparent Bridge")
Signed-off-by: Kaige Li <likaige@loongson.cn>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:58:00 +01:00
..
hw NTB: hw: amd: fix an issue about leak system resources 2020-10-29 09:58:00 +01:00
test NTB: perf: Fix race condition when run with ntb_test 2020-06-24 17:50:41 +02:00
Kconfig
Makefile
core.c NTB: Revert the change to use the NTB device dev for DMA allocations 2020-06-24 17:50:40 +02:00
msi.c
ntb_transport.c