xref: /dflybsd-src/sys/dev/drm/include/linux/intel-iommu.h (revision 4757df22f3cbaa8f71c1fd0e0b47d2830d6e6071)
1*4757df22SFrançois Tigeot /*
2*4757df22SFrançois Tigeot  * Copyright (c) 2020 François Tigeot <ftigeot@wolfpond.org>
3*4757df22SFrançois Tigeot  * All rights reserved.
4*4757df22SFrançois Tigeot  *
5*4757df22SFrançois Tigeot  * Redistribution and use in source and binary forms, with or without
6*4757df22SFrançois Tigeot  * modification, are permitted provided that the following conditions
7*4757df22SFrançois Tigeot  * are met:
8*4757df22SFrançois Tigeot  * 1. Redistributions of source code must retain the above copyright
9*4757df22SFrançois Tigeot  *    notice unmodified, this list of conditions, and the following
10*4757df22SFrançois Tigeot  *    disclaimer.
11*4757df22SFrançois Tigeot  * 2. Redistributions in binary form must reproduce the above copyright
12*4757df22SFrançois Tigeot  *    notice, this list of conditions and the following disclaimer in the
13*4757df22SFrançois Tigeot  *    documentation and/or other materials provided with the distribution.
14*4757df22SFrançois Tigeot  *
15*4757df22SFrançois Tigeot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16*4757df22SFrançois Tigeot  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17*4757df22SFrançois Tigeot  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18*4757df22SFrançois Tigeot  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19*4757df22SFrançois Tigeot  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20*4757df22SFrançois Tigeot  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21*4757df22SFrançois Tigeot  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22*4757df22SFrançois Tigeot  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23*4757df22SFrançois Tigeot  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24*4757df22SFrançois Tigeot  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*4757df22SFrançois Tigeot  */
26*4757df22SFrançois Tigeot 
27*4757df22SFrançois Tigeot #ifndef _LINUX_INTEL_IOMMU_H_
28*4757df22SFrançois Tigeot #define _LINUX_INTEL_IOMMU_H_
29*4757df22SFrançois Tigeot 
30*4757df22SFrançois Tigeot #include <linux/types.h>
31*4757df22SFrançois Tigeot #include <linux/io.h>
32*4757df22SFrançois Tigeot #include <linux/idr.h>
33*4757df22SFrançois Tigeot #include <linux/dma_remapping.h>
34*4757df22SFrançois Tigeot #include <linux/mmu_notifier.h>
35*4757df22SFrançois Tigeot #include <linux/list.h>
36*4757df22SFrançois Tigeot #include <asm/cacheflush.h>
37*4757df22SFrançois Tigeot 
38*4757df22SFrançois Tigeot #endif	/* _LINUX_INTEL_IOMMU_H_ */
39