Re: DMAR global lock circular dependency

2017-11-09 Thread Stephen Hemminger
On Thu, 9 Nov 2017 14:05:56 + Robin Murphy wrote: > Hi Stephen, > > On 09/11/17 06:17, Stephen Hemminger wrote: > > Running kernel with lockdep on my XPS13 logs a locking error from the DMAR > > subsystem. > > > > [ 32.823763] ACPI: button: The lid device is not

Re: [PATCH v2 08/16] iommu: introduce device fault data

2017-11-09 Thread Jacob Pan
On Tue, 7 Nov 2017 11:38:50 + Jean-Philippe Brucker wrote: > I think the IOMMU should pass the struct device associated to the BDF > to the fault handler. The fault handler can then deduce the BDF from > struct device if it needs to. This also allows to support

Re: DMAR global lock circular dependency

2017-11-09 Thread Robin Murphy
Hi Stephen, On 09/11/17 06:17, Stephen Hemminger wrote: Running kernel with lockdep on my XPS13 logs a locking error from the DMAR subsystem. [ 32.823763] ACPI: button: The lid device is not compliant to SW_LID. [ 32.844606] pci :01:00.0: [8086:1576] type 01 class 0x060400 [

DMAR global lock circular dependency

2017-11-09 Thread Stephen Hemminger
Running kernel with lockdep on my XPS13 logs a locking error from the DMAR subsystem. [ 32.823763] ACPI: button: The lid device is not compliant to SW_LID. [ 32.844606] pci :01:00.0: [8086:1576] type 01 class 0x060400 [ 32.844683] pci :01:00.0: enabling Extended Tags [ 32.844828]

Re: [RFCv2 PATCH 01/36] iommu: Keep track of processes and PASIDs

2017-11-09 Thread Jean-Philippe Brucker
Hi Bharat, On 11/08/2017 05:50 PM, Bharat Kumar Gogada wrote: > Hi Jean, > > +static struct iommu_process * > +iommu_process_alloc(struct iommu_domain *domain, struct task_struct > +*task) { > + int err; > + int pasid; > + struct iommu_process *process; > + > + if

Re: [RFCv2 PATCH 01/36] iommu: Keep track of processes and PASIDs

2017-11-09 Thread Jean-Philippe Brucker
Hi Bharat, On 11/08/2017 05:50 PM, Bharat Kumar Gogada wrote: > Hi Jean, > > +static struct iommu_process * > +iommu_process_alloc(struct iommu_domain *domain, struct task_struct > +*task) { > + int err; > + int pasid; > + struct iommu_process *process; > + > + if

Re: [RFCv2 PATCH 21/36] iommu/arm-smmu-v3: Implement process operations

2017-11-09 Thread Jean-Philippe Brucker
Hi, On 09/11/17 03:32, Yisheng Xie wrote: > Hi Jean, > > On 2017/10/6 21:31, Jean-Philippe Brucker wrote: >> Hook process operations to support PASID and page table sharing with the >> SMMUv3: >> >> + >> +static void arm_smmu_process_exit(struct iommu_domain *domain, >> +