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
e786b2b9
Commit
e786b2b9
authored
Apr 11, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Make sba_iommu get detected early enough again.
parent
bdfd88c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
arch/ia64/hp/common/sba_iommu.c
arch/ia64/hp/common/sba_iommu.c
+6
-7
No files found.
arch/ia64/hp/common/sba_iommu.c
View file @
e786b2b9
...
...
@@ -302,7 +302,7 @@ sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide)
printk
(
KERN_DEBUG
"%s %2d %p %016Lx
\n
"
,
(
rcnt
==
(
pide
&
(
BITS_PER_LONG
-
1
)))
?
" -->"
:
" "
,
rcnt
,
ptr
,
*
ptr
);
rcnt
,
ptr
,
(
unsigned
long
long
)
*
ptr
);
rcnt
++
;
ptr
++
;
}
...
...
@@ -1451,9 +1451,9 @@ ioc_iova_init(struct ioc *ioc)
iov_order
=
get_order
(
ioc
->
iov_size
>>
(
IOVP_SHIFT
-
PAGE_SHIFT
));
ioc
->
pdir_size
=
(
ioc
->
iov_size
/
IOVP_SIZE
)
*
sizeof
(
u64
);
DBG_INIT
(
"%s() hpa
0x%lx
IOV %dMB (%d bits) PDIR size 0x%0x
\n
"
,
__FUNCTION__
,
ioc
->
ioc_hpa
,
ioc
->
iov_size
>>
20
,
iov_order
+
PAGE_SHIFT
,
ioc
->
pdir_size
);
DBG_INIT
(
"%s() hpa
%p
IOV %dMB (%d bits) PDIR size 0x%0x
\n
"
,
__FUNCTION__
,
ioc
->
ioc_hpa
,
ioc
->
iov_size
>>
20
,
iov_order
+
PAGE_SHIFT
,
ioc
->
pdir_size
);
/* FIXME : DMA HINTs not used */
ioc
->
hint_shift_pdir
=
iov_order
+
PAGE_SHIFT
;
...
...
@@ -1552,7 +1552,7 @@ ioc_iova_init(struct ioc *ioc)
if
(
!
addr
)
panic
(
PFX
"Couldn't allocate PDIR spill page
\n
"
);
poison_addr
=
(
u64
)
addr
;
poison_addr
=
addr
;
for
(
;
(
u64
)
poison_addr
<
addr
+
IOVP_SIZE
;
poison_addr
+=
poison_size
)
memcpy
(
poison_addr
,
spill_poison
,
poison_size
);
...
...
@@ -1824,7 +1824,6 @@ sba_proc_init(void)
create_proc_info_entry
(
ioc_list
->
name
,
0
,
proc_mckinley_root
,
sba_proc_info
);
create_proc_info_entry
(
"bitmap"
,
0
,
proc_mckinley_root
,
sba_resource_map
);
}
return
0
;
}
#endif
...
...
@@ -1919,7 +1918,7 @@ sba_init(void)
return
0
;
}
device_initcall
(
sba_init
);
subsys_initcall
(
sba_init
);
/* must be initialized after ACPI etc., but before any drivers... */
static
int
__init
nosbagart
(
char
*
str
)
...
...
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