Re: [PATCHv7 04/12] driver/core: populate devices in order for IOMMUs

2013-12-12 Thread Greg KH
On Thu, Dec 12, 2013 at 11:39:20AM +, Grant Likely wrote: > On Thu, 12 Dec 2013 09:57:05 +0200, Hiroshi Doyu wrote: > > IOMMU devices on the bus need to be poplulated first, then iommu > > master devices are done later. > > > > With CONFIG_OF_IOMMU, "iommus=" DT binding would be used to ident

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-12 Thread Hiroshi Doyu
Grant Likely wrote @ Thu, 12 Dec 2013 12:34:17 +0100: > On Wed, 11 Dec 2013 14:33:38 +0100, Hiroshi Doyu wrote: > > Hi Grant, > > > > Grant Likely wrote @ Wed, 11 Dec 2013 14:28:45 > > +0100: > > > > > On Thu, 21 Nov 2013 11:57:00 -0700, Stephen Warren > > > wrote: > > > > On 11/21/2013 10:1

Re: [PATCH v2] Enhance dmar to support device hotplug

2013-12-12 Thread Yijing Wang
On 2013/12/11 1:03, Don Dutile wrote: > On 11/21/2013 03:21 AM, Yijing Wang wrote: >> This is the v2 patch, the v1 link: >> http://marc.info/?l=linux-pci&m=138364004628824&w=2 >> >> v1->v2: keep (pci_dev *) pointer array in dmar_drhd_uni, only use pci device >> id >> to update pci_dev * p

Re: [PATCHv7 04/12] driver/core: populate devices in order for IOMMUs

2013-12-12 Thread Grant Likely
On Thu, 12 Dec 2013 09:57:05 +0200, Hiroshi Doyu wrote: > IOMMU devices on the bus need to be poplulated first, then iommu > master devices are done later. > > With CONFIG_OF_IOMMU, "iommus=" DT binding would be used to identify > whether a device can be an iommu msater or not. If a device can, w

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-12 Thread Grant Likely
On Wed, 11 Dec 2013 14:33:38 +0100, Hiroshi Doyu wrote: > Hi Grant, > > Grant Likely wrote @ Wed, 11 Dec 2013 14:28:45 > +0100: > > > On Thu, 21 Nov 2013 11:57:00 -0700, Stephen Warren > > wrote: > > > On 11/21/2013 10:17 AM, Hiroshi Doyu wrote: > > > > Iterating over a property containing a