File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -3701,20 +3701,11 @@ static struct irq_chip amd_ir_chip = {
3701
3701
};
3702
3702
3703
3703
static const struct msi_parent_ops amdvi_msi_parent_ops = {
3704
- .supported_flags = X86_VECTOR_MSI_FLAGS_SUPPORTED |
3705
- MSI_FLAG_MULTI_PCI_MSI |
3706
- MSI_FLAG_PCI_IMS ,
3704
+ .supported_flags = X86_VECTOR_MSI_FLAGS_SUPPORTED | MSI_FLAG_MULTI_PCI_MSI ,
3707
3705
.prefix = "IR-" ,
3708
3706
.init_dev_msi_info = msi_parent_init_dev_msi_info ,
3709
3707
};
3710
3708
3711
- static const struct msi_parent_ops virt_amdvi_msi_parent_ops = {
3712
- .supported_flags = X86_VECTOR_MSI_FLAGS_SUPPORTED |
3713
- MSI_FLAG_MULTI_PCI_MSI ,
3714
- .prefix = "vIR-" ,
3715
- .init_dev_msi_info = msi_parent_init_dev_msi_info ,
3716
- };
3717
-
3718
3709
int amd_iommu_create_irq_domain (struct amd_iommu * iommu )
3719
3710
{
3720
3711
struct fwnode_handle * fn ;
@@ -3732,11 +3723,7 @@ int amd_iommu_create_irq_domain(struct amd_iommu *iommu)
3732
3723
irq_domain_update_bus_token (iommu -> ir_domain , DOMAIN_BUS_AMDVI );
3733
3724
iommu -> ir_domain -> flags |= IRQ_DOMAIN_FLAG_MSI_PARENT |
3734
3725
IRQ_DOMAIN_FLAG_ISOLATED_MSI ;
3735
-
3736
- if (amd_iommu_np_cache )
3737
- iommu -> ir_domain -> msi_parent_ops = & virt_amdvi_msi_parent_ops ;
3738
- else
3739
- iommu -> ir_domain -> msi_parent_ops = & amdvi_msi_parent_ops ;
3726
+ iommu -> ir_domain -> msi_parent_ops = & amdvi_msi_parent_ops ;
3740
3727
3741
3728
return 0 ;
3742
3729
}
You can’t perform that action at this time.
0 commit comments