diff options
author | 2009-08-04 15:10:59 -0700 | |
---|---|---|
committer | 2009-08-05 09:15:48 +0100 | |
commit | 33041ec049d39a6e0463c7edc7b6f631d24559e3 (patch) | |
tree | 319c613d743f4beae0b00603266f261d6f1dbbae /lib/dma-debug.c | |
parent | intel-iommu: Correct sglist size calculation. (diff) | |
download | wireguard-linux-33041ec049d39a6e0463c7edc7b6f631d24559e3.tar.xz wireguard-linux-33041ec049d39a6e0463c7edc7b6f631d24559e3.zip |
intel-iommu: Mask physical address to correct page size in intel_map_single()
The physical address passed to domain_pfn_mapping() should be rounded
down to the start of the MM page, not the VT-d page.
This issue causes kernel panic on PAGE_SIZE>VTD_PAGE_SIZE platforms e.g. ia64
platforms.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions