lkml.org 
[lkml]   [2010]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: BUG in drivers/dma/ioat/dma_v2.c:314
    From
    Date
    On Fri, 2010-07-09 at 14:28 -0700, Dan Williams wrote:
    > It doesn't appear to from the dmesg below. I agree, I would prefer to
    > do a topology based check like this rather than cheating with
    > !cap_write_drain(), but it looks like cheating is the reliable option.

    Actually, given that we know the chipset, can't we just read the VT BARs
    directly from config space and check that the base address of the IOMMU
    we get is the right one for the I/OAT device?

    Something like...

    pci_read_config_dword( ("0:0.0") , 0x48, &vtbar );
    if (drhd->base_address != vtbar)
    WARN();


    --
    dwmw2



    \
     
     \ /
      Last update: 2010-07-10 02:13    [W:2.969 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site