]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/amd: Move Stoney Ridge check to detect_ivrs()
authorJoerg Roedel <jroedel@suse.de>
Wed, 17 Mar 2021 09:10:35 +0000 (10:10 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 18 Mar 2021 09:46:30 +0000 (10:46 +0100)
commit072a03e0a0b1bc22eb5970727877264657c61fd3
tree44ad742ef357029bb4c35a55b5866d030b1879d4
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
iommu/amd: Move Stoney Ridge check to detect_ivrs()

The AMD IOMMU will not be enabled on AMD Stoney Ridge systems. Bail
out even earlier and refuse to even detect the IOMMU there.

References: https://bugzilla.kernel.org/show_bug.cgi?id=212133
References: https://bugzilla.suse.com/show_bug.cgi?id=1183132
Cc: stable@vger.kernel.org # v5.11
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20210317091037.31374-2-joro@8bytes.org
Acked-by: Huang Rui <ray.huang@amd.com>
drivers/iommu/amd/init.c