Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
67ccac41
Commit
67ccac41
authored
Mar 09, 2014
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iommu/vt-d: Store PCI segment number in struct intel_iommu
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
7c7faa11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
drivers/iommu/dmar.c
drivers/iommu/dmar.c
+1
-0
include/linux/intel-iommu.h
include/linux/intel-iommu.h
+1
-0
No files found.
drivers/iommu/dmar.c
View file @
67ccac41
...
@@ -952,6 +952,7 @@ static int alloc_iommu(struct dmar_drhd_unit *drhd)
...
@@ -952,6 +952,7 @@ static int alloc_iommu(struct dmar_drhd_unit *drhd)
}
}
iommu
->
agaw
=
agaw
;
iommu
->
agaw
=
agaw
;
iommu
->
msagaw
=
msagaw
;
iommu
->
msagaw
=
msagaw
;
iommu
->
segment
=
drhd
->
segment
;
iommu
->
node
=
-
1
;
iommu
->
node
=
-
1
;
...
...
include/linux/intel-iommu.h
View file @
67ccac41
...
@@ -319,6 +319,7 @@ struct intel_iommu {
...
@@ -319,6 +319,7 @@ struct intel_iommu {
int
agaw
;
/* agaw of this iommu */
int
agaw
;
/* agaw of this iommu */
int
msagaw
;
/* max sagaw of this iommu */
int
msagaw
;
/* max sagaw of this iommu */
unsigned
int
irq
;
unsigned
int
irq
;
u16
segment
;
/* PCI segment# */
unsigned
char
name
[
13
];
/* Device Name */
unsigned
char
name
[
13
];
/* Device Name */
#ifdef CONFIG_INTEL_IOMMU
#ifdef CONFIG_INTEL_IOMMU
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment