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 New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
Makefile New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
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/msi: remove incorrect MODULE defines 2019-08-05 15:42:27 -04:00
ntb_transport.c NTB: ntb_transport: remove redundant assignment to rc 2019-09-23 17:20:40 -04:00