Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-12 Thread Baoquan He
On 11/10/16 at 12:52pm, Joerg Roedel wrote: > Hi Baoquan, > > thanks for working on this, really appreciated! > > On Thu, Oct 20, 2016 at 07:37:11PM +0800, Baoquan He wrote: > > This is v6 post. > > > > The principle of the fix is similar to intel iommu. Just defer the > > assignment > > of

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-12 Thread Baoquan He
On 11/10/16 at 12:52pm, Joerg Roedel wrote: > Hi Baoquan, > > thanks for working on this, really appreciated! > > On Thu, Oct 20, 2016 at 07:37:11PM +0800, Baoquan He wrote: > > This is v6 post. > > > > The principle of the fix is similar to intel iommu. Just defer the > > assignment > > of

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-10 Thread Joerg Roedel
Hi Baoquan, thanks for working on this, really appreciated! On Thu, Oct 20, 2016 at 07:37:11PM +0800, Baoquan He wrote: > This is v6 post. > > The principle of the fix is similar to intel iommu. Just defer the assignment > of device to domain to device driver init. But there's difference than

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-10 Thread Joerg Roedel
Hi Baoquan, thanks for working on this, really appreciated! On Thu, Oct 20, 2016 at 07:37:11PM +0800, Baoquan He wrote: > This is v6 post. > > The principle of the fix is similar to intel iommu. Just defer the assignment > of device to domain to device driver init. But there's difference than

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-03 Thread Baoquan He
On 11/04/16 at 01:14pm, Baoquan He wrote: > Hi Joerg, > > Ping! > > About the v6 post, do you have any suggestions? > > Because of GCR3 special handling in patch 9/9, I spent several days to > study the knowledge and change code. Then when I tried to post, the > virtual interrupt remapping

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-03 Thread Baoquan He
On 11/04/16 at 01:14pm, Baoquan He wrote: > Hi Joerg, > > Ping! > > About the v6 post, do you have any suggestions? > > Because of GCR3 special handling in patch 9/9, I spent several days to > study the knowledge and change code. Then when I tried to post, the > virtual interrupt remapping

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-03 Thread Baoquan He
Hi Joerg, Ping! About the v6 post, do you have any suggestions? Because of GCR3 special handling in patch 9/9, I spent several days to study the knowledge and change code. Then when I tried to post, the virtual interrupt remapping feature caused kernel hang with this pachset applied. So it took

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-03 Thread Baoquan He
Hi Joerg, Ping! About the v6 post, do you have any suggestions? Because of GCR3 special handling in patch 9/9, I spent several days to study the knowledge and change code. Then when I tried to post, the virtual interrupt remapping feature caused kernel hang with this pachset applied. So it took

[PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-10-20 Thread Baoquan He
This is v6 post. The principle of the fix is similar to intel iommu. Just defer the assignment of device to domain to device driver init. But there's difference than intel iommu. AMD iommu create protection domain and assign device to domain in iommu driver init stage. So in this patchset I just

[PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-10-20 Thread Baoquan He
This is v6 post. The principle of the fix is similar to intel iommu. Just defer the assignment of device to domain to device driver init. But there's difference than intel iommu. AMD iommu create protection domain and assign device to domain in iommu driver init stage. So in this patchset I just