aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-03 19:54:04 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-02-02 20:04:08 -0500
commitcdc2466df40f26af60f6b18123069bd52336a80c (patch)
tree03e0d37af07fc8d71837bf1aa0091595173c4bff /tools/perf/scripts/python/export-to-postgresql.py
parent29aa619408adc1f88745feed02265acfbc0b8fea (diff)
Input: synaptics - handle errors from input_mt_init_slots()
input_mt_init_slots() may fail, we need to handle this condition. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
26:35 -0400 intel-iommu: Enable super page (2MiB, 1GiB, etc.) support' href='/cgit/cgit.cgi/litmus-rt-budgetable-locks.git/.git/commit/include/linux/dma_remapping.h?h=update_litmus_2019&id=6dd9a7c73761a8a5f5475d5cfdc15368a0f4c06d'>6dd9a7c73761
9cf0669746be
e61d98d8dad0
4ed0d3e6c64c
93a23a7271df
4ed0d3e6c64c

e61d98d8dad0
99126f7ce14a

e61d98d8dad0
c66b9906f863
d3f138106b4b
318fe7df9d84
1b5736839ae1
4ed0d3e6c64c
f5d1b97bcdd8
8bc1f85c02a2
c66b9906f863




4ed0d3e6c64c



318fe7df9d84


f5d1b97bcdd8
8bc1f85c02a2
c66b9906f863
e61d98d8dad0
2ae21010694e
e61d98d8dad0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52



                        
                                                                  
   



                                                                              
 


                                                               

                         
                                   
                             
 
                                 
                                 

                                 
                   

                   
 
 
                         
                                                       
                                                           
                                                                
                         
                               




                                                                 



                                                                      


                                                             
                           
                               
      
 
 
      
#ifndef _DMA_REMAPPING_H
#define _DMA_REMAPPING_H

/*
 * VT-d hardware uses 4KiB page size regardless of host page size.
 */
#define VTD_PAGE_SHIFT		(12)
#define VTD_PAGE_SIZE		(1UL << VTD_PAGE_SHIFT)
#define VTD_PAGE_MASK		(((u64)-1) << VTD_PAGE_SHIFT)
#define VTD_PAGE_ALIGN(addr)	(((addr) + VTD_PAGE_SIZE - 1) & VTD_PAGE_MASK)

#define VTD_STRIDE_SHIFT        (9)
#define VTD_STRIDE_MASK         (((u64)-1) << VTD_STRIDE_SHIFT)

#define DMA_PTE_READ (1)
#define DMA_PTE_WRITE (2)
#define DMA_PTE_LARGE_PAGE (1 << 7)
#define DMA_PTE_SNP (1 << 11)

#define CONTEXT_TT_MULTI_LEVEL	0
#define CONTEXT_TT_DEV_IOTLB	1
#define CONTEXT_TT_PASS_THROUGH 2

struct intel_iommu;
struct dmar_domain;
struct root_entry;


#ifdef CONFIG_INTEL_IOMMU
extern void free_dmar_iommu(struct intel_iommu *iommu);
extern int iommu_calculate_agaw(struct intel_iommu *iommu);
extern int iommu_calculate_max_sagaw(struct intel_iommu *iommu);
extern int dmar_disabled;
extern int intel_iommu_enabled;
#else
static inline int iommu_calculate_agaw(struct intel_iommu *iommu)
{
	return 0;
}
static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu)
{
	return 0;
}
static inline void free_dmar_iommu(struct intel_iommu *iommu)
{
}
#define dmar_disabled	(1)
#define intel_iommu_enabled (0)
#endif


#endif