Files
linux-legacy/drivers
Zhao, Yu afeeb7cebb intel-iommu: Fix address wrap on 32-bit kernel.
The problem is in dma_pte_clear_range and dma_pte_free_pagetable. When
intel_unmap_single and intel_unmap_sg call them, the end address may be
zero if the 'start_addr + size' rounds up. So no PTE gets cleared. The
uncleared PTE fires the BUG_ON when it's used again to create new mappings.

After I modified dma_pte_clear_range a bit, the BUG_ON is gone.

Tested both 32 and 32 PAE modes on Intel X58 and Q35 platforms.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-03-25 16:03:49 +00:00
..
…
2009-02-18 17:41:38 -08:00
2009-03-24 09:42:51 +00:00
2009-03-18 13:16:30 +11:00
2009-03-13 01:16:58 -04:00
…
…
…
2009-02-18 15:37:56 -08:00
…
…
2009-02-26 10:32:31 -08:00
…
…
2009-02-27 16:26:22 -08:00
…
…
…
…
…
…
2009-02-18 15:37:56 -08:00
…
…
…
…
2009-03-16 07:55:37 -07:00
…
…