lkml.org 
[lkml]   [2015]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 09/10] iommu/amd: Clear the iommu pre enabled setting
    On Thu, Sep 24, 2015 at 02:37:35PM +0800, Baoquan He wrote:
    > @@ -2469,6 +2469,8 @@ static dma_addr_t __map_single(struct device *dev,
    > unsigned long align_mask = 0;
    > int i;
    >
    > + if (translation_pre_enabled())
    > + clear_translation_pre_enabled();

    There is probably a better place to do this somewhere in the
    initialization state machine of the AMD IOMMU driver.


    Joerg



    \
     
     \ /
      Last update: 2015-09-29 18:21    [W:3.791 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site