android_kernel_xiaomi_sm7250/drivers/ntb
Kaige Li 2d1fba2112 NTB: hw: amd: fix an issue about leak system resources
[ Upstream commit 44a0a3c17919db1498cebb02ecf3cf4abc1ade7b ]

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-30 10:38:25 +01:00
..
hw NTB: hw: amd: fix an issue about leak system resources 2020-10-30 10:38:25 +01:00
test NTB: perf: Fix race condition when run with ntb_test 2020-06-25 15:33:03 +02:00
Kconfig
Makefile
ntb_transport.c
ntb.c NTB: Revert the change to use the NTB device dev for DMA allocations 2020-06-25 15:33:03 +02:00