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
0999ed7f
Commit
0999ed7f
authored
Apr 26, 2007
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[POWERPC] DMA 4GB boundary protection"
This reverts commit
618d3adc
, because it is superseded by
56997559
.
parent
c78f8305
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
arch/powerpc/kernel/iommu.c
arch/powerpc/kernel/iommu.c
+0
-10
No files found.
arch/powerpc/kernel/iommu.c
View file @
0999ed7f
...
...
@@ -89,7 +89,6 @@ static unsigned long iommu_range_alloc(struct iommu_table *tbl,
unsigned
int
align_order
)
{
unsigned
long
n
,
end
,
i
,
start
;
unsigned
long
start_addr
,
end_addr
;
unsigned
long
limit
;
int
largealloc
=
npages
>
15
;
int
pass
=
0
;
...
...
@@ -160,15 +159,6 @@ static unsigned long iommu_range_alloc(struct iommu_table *tbl,
}
}
/* DMA cannot cross 4 GB boundary */
start_addr
=
(
n
+
tbl
->
it_offset
)
<<
PAGE_SHIFT
;
end_addr
=
(
end
+
tbl
->
it_offset
)
<<
PAGE_SHIFT
;
if
((
start_addr
>>
32
)
!=
(
end_addr
>>
32
))
{
end_addr
&=
0xffffffff00000000l
;
start
=
(
end_addr
>>
PAGE_SHIFT
)
-
tbl
->
it_offset
;
goto
again
;
}
for
(
i
=
n
;
i
<
end
;
i
++
)
if
(
test_bit
(
i
,
tbl
->
it_map
))
{
start
=
i
+
1
;
...
...
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