File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1895,19 +1895,6 @@ void dmar_msi_write(int irq, struct msi_msg *msg)
1895
1895
raw_spin_unlock_irqrestore (& iommu -> register_lock , flag );
1896
1896
}
1897
1897
1898
- void dmar_msi_read (int irq , struct msi_msg * msg )
1899
- {
1900
- struct intel_iommu * iommu = irq_get_handler_data (irq );
1901
- int reg = dmar_msi_reg (iommu , irq );
1902
- unsigned long flag ;
1903
-
1904
- raw_spin_lock_irqsave (& iommu -> register_lock , flag );
1905
- msg -> data = readl (iommu -> reg + reg + 4 );
1906
- msg -> address_lo = readl (iommu -> reg + reg + 8 );
1907
- msg -> address_hi = readl (iommu -> reg + reg + 12 );
1908
- raw_spin_unlock_irqrestore (& iommu -> register_lock , flag );
1909
- }
1910
-
1911
1898
static int dmar_fault_do_one (struct intel_iommu * iommu , int type ,
1912
1899
u8 fault_reason , u32 pasid , u16 source_id ,
1913
1900
unsigned long long addr )
Original file line number Diff line number Diff line change @@ -292,7 +292,6 @@ static inline void dmar_copy_shared_irte(struct irte *dst, struct irte *src)
292
292
struct irq_data ;
293
293
extern void dmar_msi_unmask (struct irq_data * data );
294
294
extern void dmar_msi_mask (struct irq_data * data );
295
- extern void dmar_msi_read (int irq , struct msi_msg * msg );
296
295
extern void dmar_msi_write (int irq , struct msi_msg * msg );
297
296
extern int dmar_set_interrupt (struct intel_iommu * iommu );
298
297
extern irqreturn_t dmar_fault (int irq , void * dev_id );
You can’t perform that action at this time.
0 commit comments