Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
1bf20f0d
Commit
1bf20f0d
authored
Jun 29, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intel-iommu: dump mappings but don't die on pte already set
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
9051aa02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
drivers/pci/intel-iommu.c
drivers/pci/intel-iommu.c
+10
-1
No files found.
drivers/pci/intel-iommu.c
View file @
1bf20f0d
...
...
@@ -1673,7 +1673,16 @@ static int __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn,
/* We don't need lock here, nobody else
* touches the iova range
*/
BUG_ON
(
dma_pte_addr
(
pte
));
if
(
unlikely
(
dma_pte_addr
(
pte
)))
{
static
int
dumps
=
5
;
printk
(
KERN_CRIT
"ERROR: DMA PTE for vPFN 0x%lx already set (to %llx)
\n
"
,
iov_pfn
,
pte
->
val
);
if
(
dumps
)
{
dumps
--
;
debug_dma_dump_mappings
(
NULL
);
}
WARN_ON
(
1
);
}
pte
->
val
=
pteval
;
pte
++
;
if
(
!
nr_pages
||
...
...
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