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
nexedi
linux
Commits
ce9277fb
Commit
ce9277fb
authored
Dec 21, 2009
by
Joerg Roedel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'dma-debug/fixes' and 'amd-iommu/fixes' into iommu/fixes
parents
f797d988
0f764806
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
arch/x86/kernel/amd_iommu_init.c
arch/x86/kernel/amd_iommu_init.c
+10
-0
No files found.
arch/x86/kernel/amd_iommu_init.c
View file @
ce9277fb
...
...
@@ -137,6 +137,11 @@ int amd_iommus_present;
/* IOMMUs have a non-present cache? */
bool
amd_iommu_np_cache
__read_mostly
;
/*
* Set to true if ACPI table parsing and hardware intialization went properly
*/
static
bool
amd_iommu_initialized
;
/*
* List of protection domains - used during resume
*/
...
...
@@ -929,6 +934,8 @@ static int __init init_iommu_all(struct acpi_table_header *table)
}
WARN_ON
(
p
!=
end
);
amd_iommu_initialized
=
true
;
return
0
;
}
...
...
@@ -1263,6 +1270,9 @@ static int __init amd_iommu_init(void)
if
(
acpi_table_parse
(
"IVRS"
,
init_iommu_all
)
!=
0
)
goto
free
;
if
(
!
amd_iommu_initialized
)
goto
free
;
if
(
acpi_table_parse
(
"IVRS"
,
init_memory_definitions
)
!=
0
)
goto
free
;
...
...
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