diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-02-29 02:33:29 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2008-03-03 02:03:15 -0500 |
commit | da40451bba23b51eaca4170a095891646ce72104 (patch) | |
tree | f4f6c9687539da120e30df1955aa3bce458a8be7 /drivers/char | |
parent | 225d49050f9b6506f2f9df6b40e591ee93939d11 (diff) |
[POWERPC] Convert the cell IOMMU fixed mapping to 16M IOMMU pages
The only tricky part is we need to adjust the PTE insertion loop to
cater for holes in the page table. The PTEs for each segment start on
a 4K boundary, so with 16M pages we have 16 PTEs per segment and then
a gap to the next 4K page boundary.
It might be possible to allocate the PTEs for each segment separately,
saving the memory currently filling the gaps. However we'd need to
check that's OK with the hardware, and that it actually saves memory.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions