On Thu, May 26, 2011 at 08:32:22PM -0500, Mike Travis wrote: > The identity mapping code appears to make the assumption that > if the devices dma_mask is greater than 32bits the device can > use identity mapping. But that is not true, take the case > where we have a 40bit device in a 44bit architecture. The > device can potentially receive a physical address that it > will truncate and cause incorrect addresses to be used. > > Instead check to see if the device's dma_mask is large enough > to address the system's dma_mask. > > From: Chris Wright <chrisw@xxxxxxxxxxxx> > Signed-off-by: Mike Travis <travis@xxxxxxx> > Reviewed-by: Mike Habeck <habeck@xxxxxxx> > --- > drivers/pci/intel-iommu.c | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) <formletter> This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. </formletter> I'll not send this out for the other 6 patches that also do not follow the proper format, as I'm sure you would get bored reading them. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html