lkml.org 
[lkml]   [2011]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Seeing DMAR errors after multiple load/unload with SR-IOV
* David Woodhouse (dwmw2@infradead.org) wrote:
> On Tue, 2011-06-07 at 06:38 -0700, Chris Wright wrote:
> > I think we still leak the list entry though. Bottom line is that we
> > need to handle hotplug ADD_DEVICE and DEL_DEVICE notifications. We
> > happen to pick up ADD_DEVICE by accident, but it's all pretty sloppy.
>
> Yeah, keeping a list of possible stale 'pci_dev' pointers is stupid. We
> should figure out the matching DMAR unit directly from the ACPI table at
> ADD_DEVICE time, and store it in pdev->archdata.iommu.
>
> I saw patches which were going in that direction...

Cool, where are they? I'm working on something similar, and missed them.

thanks,
-chris


\
 
 \ /
  Last update: 2011-06-07 17:13    [W:0.064 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site