Re: [PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-14 Thread Bjorn Helgaas
On Fri, Mar 9, 2012 at 10:32 AM, Yinghai Lu wrote: > On Fri, Mar 9, 2012 at 9:25 AM, Bjorn Helgaas wrote: >> >> Well, it looks like you can change both save_dev_dmaru() *and* >> get_dev_dmaru() to take a struct pci_dev *.  I assumed that would be >> obvious. > > no. > > get_dev_dmaru() have to us

Re: [PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-14 Thread Bjorn Helgaas
On Tue, Mar 6, 2012 at 12:13 AM, Yinghai Lu wrote: > When do pci remove/rescan on system that have more iommus, got > > [  894.089745] Set context mapping for c4:00.0 > [  894.110890] mpt2sas3: Allocated physical memory: size(4293 kB) > [  894.112556] mpt2sas3: Current Controller Queue Depth(1883)

Re: [PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-14 Thread Bjorn Helgaas
On Fri, Mar 9, 2012 at 12:06 AM, Yinghai Lu wrote: > On Thu, Mar 8, 2012 at 5:06 PM, Bjorn Helgaas wrote: >> On Tue, Mar 6, 2012 at 12:13 AM, Yinghai Lu wrote: >>> When do pci remove/rescan on system that have more iommus, got >>> >>> [  894.089745] Set context mapping for c4:00.0 >>> [  894.110

Re: [PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-09 Thread Yinghai Lu
On Fri, Mar 9, 2012 at 9:37 AM, Bjorn Helgaas wrote: > On Fri, Mar 9, 2012 at 10:32 AM, Yinghai Lu wrote: >> On Fri, Mar 9, 2012 at 9:25 AM, Bjorn Helgaas wrote: >>> >>> Well, it looks like you can change both save_dev_dmaru() *and* >>> get_dev_dmaru() to take a struct pci_dev *.  I assumed that

Re: [PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-09 Thread Yinghai Lu
On Fri, Mar 9, 2012 at 9:25 AM, Bjorn Helgaas wrote: > > Well, it looks like you can change both save_dev_dmaru() *and* > get_dev_dmaru() to take a struct pci_dev *.  I assumed that would be > obvious. no. get_dev_dmaru() have to use bus/devfn to retrieve the dev pointer. Yinghai __

Re: [PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-08 Thread Yinghai Lu
On Thu, Mar 8, 2012 at 5:06 PM, Bjorn Helgaas wrote: > On Tue, Mar 6, 2012 at 12:13 AM, Yinghai Lu wrote: >> When do pci remove/rescan on system that have more iommus, got >> >> [  894.089745] Set context mapping for c4:00.0 >> [  894.110890] mpt2sas3: Allocated physical memory: size(4293 kB) >>

[PATCH 07/23] pci, dmar: Update dmar units devices list during hotplug

2012-03-05 Thread Yinghai Lu
When do pci remove/rescan on system that have more iommus, got [ 894.089745] Set context mapping for c4:00.0 [ 894.110890] mpt2sas3: Allocated physical memory: size(4293 kB) [ 894.112556] mpt2sas3: Current Controller Queue Depth(1883), Max Controller Queue Depth(2144) [ 894.127278] mpt2sas3: