|
@@ -2230,7 +2230,7 @@ static int __init early_amd_iommu_init(void)
|
|
|
*/
|
|
*/
|
|
|
ret = check_ivrs_checksum(ivrs_base);
|
|
ret = check_ivrs_checksum(ivrs_base);
|
|
|
if (ret)
|
|
if (ret)
|
|
|
- return ret;
|
|
|
|
|
|
|
+ goto out;
|
|
|
|
|
|
|
|
amd_iommu_target_ivhd_type = get_highest_supported_ivhd_type(ivrs_base);
|
|
amd_iommu_target_ivhd_type = get_highest_supported_ivhd_type(ivrs_base);
|
|
|
DUMP_printk("Using IVHD type %#x\n", amd_iommu_target_ivhd_type);
|
|
DUMP_printk("Using IVHD type %#x\n", amd_iommu_target_ivhd_type);
|