[lkml]   [2011]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [stable] [PATCH 1/7] Intel pci: Check for identity mapping candidate using system dma mask
    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 <>
    > Signed-off-by: Mike Travis <>
    > Reviewed-by: Mike Habeck <>
    > ---
    > drivers/pci/intel-iommu.c | 15 +++++++++++++--
    > 1 file changed, 13 insertions(+), 2 deletions(-)


    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.


    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.

     \ /
      Last update: 2011-05-27 09:21    [W:0.040 / U:0.108 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site