Avoid beyond bounds copy while caching ACL
[zen-stable.git] / drivers / iommu / intr_remapping.h
blob5662fecfee60644b1177c827d99243b6e661533e
1 #include <linux/intel-iommu.h>
3 struct ioapic_scope {
4 struct intel_iommu *iommu;
5 unsigned int id;
6 unsigned int bus; /* PCI bus number */
7 unsigned int devfn; /* PCI devfn number */
8 };
10 struct hpet_scope {
11 struct intel_iommu *iommu;
12 u8 id;
13 unsigned int bus;
14 unsigned int devfn;
17 #define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)