diff options
author | Kevin Mitchell <kevmitch@arista.com> | 2019-06-13 00:52:04 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-07-01 15:03:07 +0300 |
commit | bf4bff46eac151c3fd299741d71c4216e45b5d8b (patch) | |
tree | 4aeea2759525b1a62a868e4f46c7f964df00da53 /drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c | |
parent | 3ddbe913e55516d3e2165d43d4d5570761769878 (diff) | |
download | linux-bf4bff46eac151c3fd299741d71c4216e45b5d8b.tar.xz |
iommu/amd: Move gart fallback to amd_iommu_init
The fallback to the GART driver in the case amd_iommu doesn't work was
executed in a function called free_iommu_resources, which didn't really
make sense. This was even being called twice if amd_iommu=off was
specified on the command line.
The only complication is that it needs to be verified that amd_iommu has
fully relinquished control by calling free_iommu_resources and emptying
the amd_iommu_list.
Signed-off-by: Kevin Mitchell <kevmitch@arista.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c')
0 files changed, 0 insertions, 0 deletions