hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/iommu/amd/iommu.c
....@@ -3914,8 +3914,7 @@
39143914 struct irte_ga *entry = (struct irte_ga *) ir_data->entry;
39153915 u64 valid;
39163916
3917
- if (!AMD_IOMMU_GUEST_IR_VAPIC(amd_iommu_guest_ir) ||
3918
- !entry || entry->lo.fields_vapic.guest_mode)
3917
+ if (!AMD_IOMMU_GUEST_IR_VAPIC(amd_iommu_guest_ir) || !entry)
39193918 return 0;
39203919
39213920 valid = entry->lo.fields_vapic.valid;