On 30/12/2016 09:55, Peter Xu wrote: > The previous vt-d unittest series only contains the very basic tests. > Let's enlarge it step by step. > > This series expanded it with IOAPIC irq test. > > Peter Xu (8): > pci: introduce pci_intx_line() > pci: introduce pci_msi_set_enable() > lib/asm-generic: add atomic.h > x86: ioapic: generalize trigger mode > intel-iommu: add report prefixes > intel-iommu: use atomic ops for irte index alloc > intel-iommu: allow setup trigger mode for irte > intel-iommu: add ioapic irq test > > lib/asm-generic/atomic.h | 21 ++++++++++++++++++ > lib/pci.c | 24 ++++++++++++++++++-- > lib/pci.h | 2 ++ > lib/x86/apic.h | 6 +++++ > lib/x86/atomic.h | 2 ++ > lib/x86/intel-iommu.c | 58 > +++++++++++++++++++++++++++++++++++++++++++----- > lib/x86/intel-iommu.h | 3 +++ > x86/intel-iommu.c | 50 ++++++++++++++++++++++++++++++++++++----- > x86/ioapic.c | 34 +++++++++++++--------------- > 9 files changed, 169 insertions(+), 31 deletions(-) > create mode 100644 lib/asm-generic/atomic.h >
Queued, thanks. Paolo