diff options
| author | Alexis Bruemmer <[email protected]> | 2008-07-25 19:44:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-26 12:00:03 -0700 |
| commit | 1956a96de488feb05e95c08c9d5e80f63a4be2b1 (patch) | |
| tree | fd361f464386607e3d753e062ae7956e94c022e3 /tools/perf/scripts/python | |
| parent | 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 (diff) | |
x86 calgary: fix handling of devices that aren't behind the Calgary
The calgary code can give drivers addresses above 4GB which is very bad
for hardware that is only 32bit DMA addressable.
With this patch, the calgary code sets the global dma_ops to swiotlb or
nommu properly, and the dma_ops of devices behind the Calgary/CalIOC2
to calgary_dma_ops. So the calgary code can handle devices safely that
aren't behind the Calgary/CalIOC2.
[[email protected]: coding-style fixes]
Signed-off-by: Alexis Bruemmer <[email protected]>
Signed-off-by: FUJITA Tomonori <[email protected]>
Cc: Muli Ben-Yehuda <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions